Closed
Bug 881582
Opened 11 years ago
Closed 11 years ago
"mach help" throws an error
Categories
(Firefox Build System :: Mach Core, enhancement)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 879406
People
(Reporter: Dolske, Unassigned)
References
Details
Attachments
(1 file)
(deleted),
patch
|
Details | Diff | Splinter Review |
Running "mach help run" throws an error. (This is a 2 day old m-c tree, 855a29c9dd68.)
$ mach help run
Error running mach:
['help', 'run']
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:
ValueError: invalid option string u'+remote': must start with a character '-'
File "/Users/dolske/build/mozilla-central/python/mach/mach/main.py", line 231, in run
return self._run(argv)
File "/Users/dolske/build/mozilla-central/python/mach/mach/main.py", line 269, in _run
args = parser.parse_args(argv)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/argparse.py", line 1688, in parse_args
args, argv = self.parse_known_args(args, namespace)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/argparse.py", line 1720, in parse_known_args
namespace, args = self._parse_known_args(args, namespace)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/argparse.py", line 1929, in _parse_known_args
stop_index = consume_positionals(start_index)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/argparse.py", line 1885, in consume_positionals
take_action(action, args)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/argparse.py", line 1794, in take_action
action(self, namespace, argument_values, option_string)
File "/Users/dolske/build/mozilla-central/python/mach/mach/dispatcher.py", line 93, in __call__
self._handle_subcommand_help(parser, args[0])
File "/Users/dolske/build/mozilla-central/python/mach/mach/dispatcher.py", line 186, in _handle_subcommand_help
group.add_argument(*arg[0], **arg[1])
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/argparse.py", line 1267, in add_argument
kwargs = self._get_optional_kwargs(*args, **kwargs)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/argparse.py", line 1397, in _get_optional_kwargs
raise ValueError(msg % tup)
Comment 1•11 years ago
|
||
I took a stab at this. It doesn't work, but I don't know enough python to figure out why...
Comment 2•11 years ago
|
||
Dupe of bug 879406?
Comment 3•11 years ago
|
||
Less jet-lagged brain says this is definitely a dupe.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
Updated•7 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•