Skip to content

Exception on --download on git/hg URL without egg name #348

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
vilcans opened this issue Aug 30, 2011 · 1 comment
Closed

Exception on --download on git/hg URL without egg name #348

vilcans opened this issue Aug 30, 2011 · 1 comment
Labels
auto-locked Outdated issues that have been locked by automation type: bug A confirmed bug or unintended behavior

Comments

@vilcans
Copy link

vilcans commented Aug 30, 2011

This fails:

$ pip install --download=downloaded/ 'git+https://github.com/fhahn/django-permission-backend-nonrel'
Downloading/unpacking git+https://github.com/fhahn/django-permission-backend-nonrel
  Cloning https://github.com/fhahn/django-permission-backend-nonrel to /tmp/pip-QNLCYt-export
Unpacking objects: 100% (51/51), done.
Exception:
Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/pip-1.0.2-py2.6.egg/pip/basecommand.py", line 126, in main
    self.run(options, args)
  File "/usr/local/lib/python2.6/dist-packages/pip-1.0.2-py2.6.egg/pip/commands/install.py", line 235, in run
    requirement_set.successfully_downloaded])
TypeError: sequence item 0: expected string, NoneType found

..but if I supply an egg name, it seems to work:

$ pip install --download=downloaded/ 'git+https://github.com/fhahn/django-permission-backend-nonrel#egg=django-permission-nonrel'
Downloading/unpacking django-permission-nonrel from git+https://github.com/fhahn/django-permission-backend-nonrel
  Cloning https://github.com/fhahn/django-permission-backend-nonrel to /tmp/pip-8WzAcF-export
Unpacking objects: 100% (51/51), done.
Successfully downloaded django-permission-nonrel

...but there is no file downloaded into the downloaded directory.

@xavfernandez
Copy link
Member

Duplicate of #429 and fixed in latest pip.

@xavfernandez xavfernandez added the type: bug A confirmed bug or unintended behavior label Oct 9, 2015
@lock lock bot added the auto-locked Outdated issues that have been locked by automation label Jun 4, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Jun 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
auto-locked Outdated issues that have been locked by automation type: bug A confirmed bug or unintended behavior
Projects
None yet
Development

No branches or pull requests

2 participants