Closed
Bug 1005174
Opened 10 years ago
Closed 10 years ago
./mach help fails with AssertionError: current_type is None
Categories
(Firefox Build System :: Mach Core, enhancement)
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: ato, Unassigned)
Details
On Linux and Mac I get the following error message when running `./mach help`. I haven't had the time to investigate further. ~/Code/gecko/src % ./mach help 1 Error running mach: ['help'] The error occurred in mach itself. This is likely a bug in mach itself or a fundamental problem with a loaded module. Please consider filing a bug against mach by going to the URL: https://bugzilla.mozilla.org/enter_bug.cgi?product=Core&component=mach If filing a bug, please include the full output of mach, including this error message. The details of the failure are as follows: AssertionError File "/home/ato/Code/gecko/src/python/mach/mach/main.py", line 313, in run return self._run(argv) File "/home/ato/Code/gecko/src/python/mach/mach/main.py", line 358, in _run args = parser.parse_args(argv) File "/usr/lib/python2.7/argparse.py", line 1690, in parse_args args, argv = self.parse_known_args(args, namespace) File "/usr/lib/python2.7/argparse.py", line 1722, in parse_known_args namespace, args = self._parse_known_args(args, namespace) File "/usr/lib/python2.7/argparse.py", line 1931, in _parse_known_args stop_index = consume_positionals(start_index) File "/usr/lib/python2.7/argparse.py", line 1887, in consume_positionals take_action(action, args) File "/usr/lib/python2.7/argparse.py", line 1796, in take_action action(self, namespace, argument_values, option_string) File "/home/ato/Code/gecko/src/python/mach/mach/dispatcher.py", line 96, in __call__ self._handle_main_help(parser) File "/home/ato/Code/gecko/src/python/mach/mach/dispatcher.py", line 166, in _handle_main_help instance = handler.cls(self._context) File "/home/ato/Code/gecko/src/layout/tools/reftest/mach_commands.py", line 401, in __init__ MachCommandBase.__init__(self, context) File "/home/ato/Code/gecko/src/python/mozbuild/mozbuild/base.py", line 552, in __init__ dummy = MozbuildObject.from_environment(cwd=context.cwd) File "/home/ato/Code/gecko/src/python/mozbuild/mozbuild/base.py", line 164, in from_environment config = loader.read_mozconfig(mozconfig) File "/home/ato/Code/gecko/src/python/mozbuild/mozbuild/mozconfig.py", line 232, in read_mozconfig parsed = self._parse_loader_output(output) File "/home/ato/Code/gecko/src/python/mozbuild/mozbuild/mozconfig.py", line 340, in _parse_loader_output assert current_type is not None
Reporter | ||
Comment 1•10 years ago
|
||
This was caused by a shell expansion failing to evaluate. Resolving.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → INVALID
Updated•6 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•