Open
Bug 1225390
Opened 10 years ago
Updated 4 years ago
mach fails to create virtualenv for mozregression
Categories
(Firefox Build System :: Mach Core, enhancement)
Firefox Build System
Mach Core
Tracking
(Not tracked)
NEW
People
(Reporter: heycam, Unassigned)
Details
Trying to run "./mach mozregression" for the first time on Windows gives me the following error output:
New python executable in c:\Users\cam\mozilla-inbound\obj\_virtualenv\Scripts\python2.7.exe
Not overwriting existing python script c:\Users\cam\mozilla-inbound\obj\_virtualenv\Scripts\python.exe (you must use c:\Users\cam\mozilla-inbound\obj\_virtualenv\Scripts\python2.7.exe)
Installing setuptools, pip...
Complete output from command c:\Users\cam\mozilla...cripts\python2.7.exe -c "import sys, pip; sys...d\"] + sys.argv[1:]))" setuptools pip:
Ignoring indexes: http://pypi.python.org/simple/
Downloading/unpacking setuptools
Could not find any downloads that satisfy the requirement setuptools
No distributions at all found for setuptools
Storing complete log in c:/Users/cam\pip\pip.log
Exception in thread Thread-1:
Traceback (most recent call last):
File "c:\mozilla-build\python\Lib\threading.py", line 810, in __bootstrap_inner
self.run()
File "c:\mozilla-build\python\Lib\threading.py", line 763, in run
self.__target(*self.__args, **self.__kwargs)
File "c:\Users\cam\mozilla-inbound\obj\_virtualenv\lib\site-packages\pip-1.2.1-py2.7.egg\pip\index.py", line 245, in _get_queued_page
page = self._get_page(location, req)
File "c:\Users\cam\mozilla-inbound\obj\_virtualenv\lib\site-packages\pip-1.2.1-py2.7.egg\pip\index.py", line 337, in _get_page
return HTMLPage.get_page(link, req, cache=self.cache)
File "c:\Users\cam\mozilla-inbound\obj\_virtualenv\lib\site-packages\pip-1.2.1-py2.7.egg\pip\index.py", line 454, in get_page
resp = urlopen(url)
File "c:\Users\cam\mozilla-inbound\obj\_virtualenv\lib\site-packages\pip-1.2.1-py2.7.egg\pip\download.py", line 86, in __call__
response = urllib2.urlopen(self.get_request(url))
File "c:\mozilla-build\python\Lib\urllib2.py", line 154, in urlopen
return opener.open(url, data, timeout)
File "c:\mozilla-build\python\Lib\urllib2.py", line 423, in open
protocol = req.get_type()
File "c:\mozilla-build\python\Lib\urllib2.py", line 285, in get_type
raise ValueError, "unknown url type: %s" % self.__original
ValueError: unknown url type: .
----------------------------------------
...Installing setuptools, pip...done.
Traceback (most recent call last):
File "c:\Users\cam\mozilla-inbound\python\virtualenv\virtualenv.py", line 2352, in <module>
main()
File "c:\Users\cam\mozilla-inbound\python\virtualenv\virtualenv.py", line 825, in main
symlink=options.symlink)
File "c:\Users\cam\mozilla-inbound\python\virtualenv\virtualenv.py", line 993, in create_environment
install_wheel(to_install, py_executable, search_dirs)
File "c:\Users\cam\mozilla-inbound\python\virtualenv\virtualenv.py", line 961, in install_wheel
'PIP_NO_INDEX': '1'
File "c:\Users\cam\mozilla-inbound\python\virtualenv\virtualenv.py", line 903, in call_subprocess
% (cmd_desc, proc.returncode))
OSError: Command c:\Users\cam\mozilla...cripts\python2.7.exe -c "import sys, pip; sys...d\"] + sys.argv[1:]))" setuptools pip failed with error code 1
Error running mach:
['mozregression', '--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:
Exception: Error creating virtualenv.
File "c:\Users\cam\mozilla-inbound\python/mach\mach\main.py", line 336, in run
return self._run(argv)
File "c:\Users\cam\mozilla-inbound\python/mach\mach\main.py", line 382, in _run
args = parser.parse_args(argv)
File "c:\mozilla-build\python\lib\argparse.py", line 1701, in parse_args
args, argv = self.parse_known_args(args, namespace)
File "c:\mozilla-build\python\lib\argparse.py", line 1733, in parse_known_args
namespace, args = self._parse_known_args(args, namespace)
File "c:\mozilla-build\python\lib\argparse.py", line 1921, in _parse_known_args
positionals_end_index = consume_positionals(start_index)
File "c:\mozilla-build\python\lib\argparse.py", line 1898, in consume_positionals
take_action(action, args)
File "c:\mozilla-build\python\lib\argparse.py", line 1807, in take_action
action(self, namespace, argument_values, option_string)
File "c:\Users\cam\mozilla-inbound\python/mach\mach\dispatcher.py", line 111, in __call__
self._handle_command_help(parser, command)
File "c:\Users\cam\mozilla-inbound\python/mach\mach\dispatcher.py", line 344, in _handle_command_help
if handler.parser:
File "c:\Users\cam\mozilla-inbound\python/mach\mach\decorators.py", line 77, in parser
self._parser = self._parser()
File "c:\Users\cam\mozilla-inbound\tools/mach_commands.py", line 394, in mozregression_create_parser
cmd._activate_virtualenv()
File "c:\Users\cam\mozilla-inbound\python/mozbuild\mozbuild\base.py", line 665, in _activate_virtualenv
self.virtualenv_manager.ensure()
File "c:\Users\cam\mozilla-inbound\python/mozbuild\mozbuild\virtualenv.py", line 128, in ensure
return self.build()
File "c:\Users\cam\mozilla-inbound\python/mozbuild\mozbuild\virtualenv.py", line 381, in build
self.create()
File "c:\Users\cam\mozilla-inbound\python/mozbuild\mozbuild\virtualenv.py", line 147, in create
raise Exception('Error creating virtualenv.')
| Reporter | ||
Comment 1•10 years ago
|
||
And here is pip.log:
------------------------------------------------------------
-c run on 11/17/15 17:05:12
Ignoring indexes: http://pypi.python.org/simple/
Downloading/unpacking setuptools
URLs to search for versions for setuptools:
* .
* c:\Users\cam\mozilla-inbound\python\virtualenv
* c:\Users\cam\mozilla-inbound\python\virtualenv\virtualenv_support
* c:\Users\cam\mozilla-inbound\python\virtualenv\virtualenv_support
Skipping link . (from -f); not a file
Skipping link c:\Users\cam\mozilla-inbound\python\virtualenv (from -f); not a file
Skipping link c:\Users\cam\mozilla-inbound\python\virtualenv\virtualenv_support (from -f); not a file
Getting page .
Getting page c:\Users\cam\mozilla-inbound\python\virtualenv
Could not fetch URL c:\Users\cam\mozilla-inbound\python\virtualenv: <urlopen error unknown url type: c>
Will skip URL c:\Users\cam\mozilla-inbound\python\virtualenv when looking for download links for setuptools
Getting page c:\Users\cam\mozilla-inbound\python\virtualenv\virtualenv_support
Could not fetch URL c:\Users\cam\mozilla-inbound\python\virtualenv\virtualenv_support: <urlopen error unknown url type: c>
Will skip URL c:\Users\cam\mozilla-inbound\python\virtualenv\virtualenv_support when looking for download links for setuptools
Could not find any downloads that satisfy the requirement setuptools
No distributions at all found for setuptools
Exception information:
Traceback (most recent call last):
File "c:\Users\cam\mozilla-inbound\obj\_virtualenv\lib\site-packages\pip-1.2.1-py2.7.egg\pip\basecommand.py", line 107, in main
status = self.run(options, args)
File "c:\Users\cam\mozilla-inbound\obj\_virtualenv\lib\site-packages\pip-1.2.1-py2.7.egg\pip\commands\install.py", line 256, in run
requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
File "c:\Users\cam\mozilla-inbound\obj\_virtualenv\lib\site-packages\pip-1.2.1-py2.7.egg\pip\req.py", line 1011, in prepare_files
url = finder.find_requirement(req_to_install, upgrade=self.upgrade)
File "c:\Users\cam\mozilla-inbound\obj\_virtualenv\lib\site-packages\pip-1.2.1-py2.7.egg\pip\index.py", line 157, in find_requirement
raise DistributionNotFound('No distributions at all found for %s' % req)
DistributionNotFound: No distributions at all found for setuptools
Updated•8 years ago
|
Product: Core → Firefox Build System
Updated•4 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•