pypa/pip — Issue #429: Poor error message when attempting to pip install --download from git or other VCS.
Author: slacy
Created: 2012-01-06 18:26:53+00:00
State: open

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

$ 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