Poor error message when attempting to pip install --download from git or other VCS. #429
Labels
auto-locked
Outdated issues that have been locked by automation
C: download
About fetching data from PyPI and other sources
type: bug
A confirmed bug or unintended behavior
I just thought I'd try this, and was expecting some kind of reasonable error message:
$ pip install --no-install --download=./sdists/ git+https://github.com/hmarr/django-ses.git
<error message, see below>
$ cat ~/.pip/pip.log
/home/slacy/src/teethie/a/env/bin/pip run on Fri Jan 6 10:25:22 2012
Downloading/unpacking git+https://github.com/hmarr/django-ses.git
Cloning https://github.com/hmarr/django-ses.git to /tmp/pip-EiLmaO-export
Found command 'git' at '/usr/bin/git'
Running command /usr/bin/git clone -q https://github.com/hmarr/django-ses.git /tmp/pip-EiLmaO-export
Running command /usr/bin/git checkout-index -a -f --prefix ./sdists/
Exception:
Traceback (most recent call last):
File "/home/slacy/src/teethie/a/env/local/lib/python2.7/site-packages/pip-1.0.2-py2.7.egg/pip/basecommand.py", line 126, in main
self.run(options, args)
File "/home/slacy/src/teethie/a/env/local/lib/python2.7/site-packages/pip-1.0.2-py2.7.egg/pip/commands/install.py", line 235, in run
requirement_set.successfully_downloaded])
TypeError: sequence item 0: expected string, NoneType found
The text was updated successfully, but these errors were encountered: