Closed Bug 1171987 Opened 9 years ago Closed 9 years ago

mach webapprt/test/chrome/ throws "ImportError: No module named filters"

Categories

(Firefox Build System :: Mach Core, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 1168718

People

(Reporter: myk, Unassigned)

References

Details

(Keywords: regression)

`mach webapprt-test-chrome` complains:

> It looks like you tried to run a mach command from an invalid context.
> The webapprt-test-chrome command failed to meet the following conditions: 
> 
>   REMOVED - Command no longer exists! Use |mach mochitest| instead.

But `mach mochitest webapprt/test/chrome/` throws:

> Error running mach:
>
>     ['mochitest', 'webapprt/test/chrome/']
> …
> ImportError: No module named filters
> 
>   File "/Users/myk/Projects/gecko-dev/python/mach/mach/main.py", line 336, in run
>     return self._run(argv)
>   File "/Users/myk/Projects/gecko-dev/python/mach/mach/main.py", line 382, in _run
>     args = parser.parse_args(argv)
>   File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/argparse.py", line 1701, in parse_args
>     args, argv = self.parse_known_args(args, namespace)
>   File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/argparse.py", line 1733, in parse_known_args
>     namespace, args = self._parse_known_args(args, namespace)
>   File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/argparse.py", line 1942, in _parse_known_args
>     stop_index = consume_positionals(start_index)
>   File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/argparse.py", line 1898, in consume_positionals
>     take_action(action, args)
>   File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/argparse.py", line 1807, in take_action
>     action(self, namespace, argument_values, option_string)
>   File "/Users/myk/Projects/gecko-dev/python/mach/mach/dispatcher.py", line 175, in __call__
>     if handler.parser:
>   File "/Users/myk/Projects/gecko-dev/python/mach/mach/base.py", line 123, in parser
>     self._parser = self._parser()
>   File "/Users/myk/Projects/gecko-dev/testing/mochitest/mach_commands.py", line 396, in setup_argument_parser
>     ('.py', 'r', imp.PY_SOURCE))
>   File "/Users/myk/Projects/gecko-dev/obj-x86_64-apple-darwin13.4.0/_tests/testing/mochitest/runtests.py", line 49, in <module>
>     from manifestparser.filters import (
Blocks: 1168737
Looks like Bug 1168718.
See Bug 1168718 comment 4 for fix and explanation.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
Ah, indeed.

06-08 00:02 > ll build/manifestparser.pyc
-rw-r--r--  1 myk  staff  33489 Dec 16  2013 build/manifestparser.pyc
Status: RESOLVED → VERIFIED
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.