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)
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:
Updated•7 years ago
|
Assignee: nobody → hrdktg
Comment 1•7 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/c54539f8350fc151c06b347dc6d2e3d05cb10591
Bug 1419986 - Fix ./mach clang-format when run without path argument. r=sylvestre
Reporter | ||
Comment 2•7 years ago
|
||
Oh, it was that easy? :-P
It does the trick, thank you Sylvestre.
Comment 3•7 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla59
Updated•7 years ago
|
Product: Core → Firefox Build System
Updated•2 years ago
|
Product: Firefox Build System → Developer Infrastructure
You need to log in
before you can comment on or make changes to this bug.
Description
•