Closed Bug 1419986 Opened 7 years ago Closed 7 years ago

./mach clang format -> "TypeError: 'NoneType' object is not iterable" (missing path?)

Categories

(Developer Infrastructure :: Source Code Analysis, defect)

x86_64
macOS
defect
Not set
normal

Tracking

(firefox59 fixed)

RESOLVED FIXED
mozilla59
Tracking Status
firefox59 --- fixed

People

(Reporter: mozbugz, Assigned: hrdktg)

Details

On Mac OS X 10.12.6, Apple LLVM version 8.1.0 (clang-802.0.42), current mozilla-central (2017-11-22), and just ran `./mach bootstrap`. > $ ./mach clang-format > Error running mach: > > ['clang-format'] > > The error occurred in the implementation of the invoked mach command. > > This should never occur and is likely a bug in the implementation of that > command. Consider filing a bug for this issue. > > If filing a bug, please include the full output of mach, including this error > message. > > The details of the failure are as follows: > > TypeError: 'NoneType' object is not iterable > > File "tools/mach_commands.py", line 194, in clang_format > path = self.conv_to_abspath(path) > File "tools/mach_commands.py", line 218, in conv_to_abspath > for f in paths:
Assignee: nobody → hrdktg
Oh, it was that easy? :-P It does the trick, thank you Sylvestre.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla59
Product: Core → Firefox Build System
Product: Firefox Build System → Developer Infrastructure
You need to log in before you can comment on or make changes to this bug.