can't install with pip: wrong archive name

Bug #779690 reported by Neil Martinsen-Burrell
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
python-fastimport
Fix Released
Undecided
Jelmer Vernooij

Bug Description

When I try to install fastimport using pip, it can't find the archive to download, because the project is registered on PyPI as "fastimport" but the archive that needs to be downloaded is called "python-fastimport-...". Here is the verbose output from pip:

$ pip install -vv fastimport
Downloading/unpacking fastimport
  Getting page http://pypi.python.org/simple/fastimport
  URLs to search for versions for fastimport:
  * http://pypi.python.org/simple/fastimport/
  Getting page https://launchpad.net/python-fastimport
  Could not fetch URL http://launchpad.net/python-fastimport/trunk/0.9.0/+download/python-fastimport-0.9.0.tar.gz (from http://pypi.python.org/simple/fastimport/): HTTP Error 404: Not Found
  Will skip URL http://launchpad.net/python-fastimport/trunk/0.9.0/+download/python-fastimport-0.9.0.tar.gz when looking for download links for fastimport
  Analyzing links from page http://pypi.python.org/simple/fastimport/
    Skipping link https://launchpad.net/python-fastimport (from http://pypi.python.org/simple/fastimport/); not a file
    Skipping link http://launchpad.net/python-fastimport/trunk/0.9.0/+download/python-fastimport-0.9.0.tar.gz (from http://pypi.python.org/simple/fastimport/); wrong project name (not fastimport)
  Analyzing links from page https://launchpad.net/python-fastimport
    Skipping link https://launchpad.net/python-fastimport/+index (from https://launchpad.net/python-fastimport); not a file
    Skipping link https://launchpad.net/@@/launchpad.png (from https://launchpad.net/python-fastimport); unknown archive format: .png
    Skipping link http://feeds.launchpad.net/python-fastimport/announcements.atom (from https://launchpad.net/python-fastimport); unknown archive format: .atom
    Skipping link http://feeds.launchpad.net/python-fastimport/latest-bugs.atom (from https://launchpad.net/python-fastimport); unknown archive format: .atom
    Skipping link http://feeds.launchpad.net/python-fastimport/branches.atom (from https://launchpad.net/python-fastimport); unknown archive format: .atom
    Skipping link http://feeds.launchpad.net/python-fastimport/revisions.atom (from https://launchpad.net/python-fastimport); unknown archive format: .atom
    Skipping link https://launchpad.net/+icing/rev12981/combo.css (from https://launchpad.net/python-fastimport); unknown archive format: .css
    Skipping link https://launchpad.net/python-fastimport/+login (from https://launchpad.net/python-fastimport); not a file
    Skipping link https://code.launchpad.net/python-fastimport (from https://launchpad.net/python-fastimport); not a file
    Skipping link https://bugs.launchpad.net/python-fastimport (from https://launchpad.net/python-fastimport); not a file
    Skipping link https://blueprints.launchpad.net/python-fastimport (from https://launchpad.net/python-fastimport); not a file
    Skipping link https://translations.launchpad.net/python-fastimport (from https://launchpad.net/python-fastimport); not a file
    Skipping link https://answers.launchpad.net/python-fastimport (from https://launchpad.net/python-fastimport); not a file
    Skipping link https://launchpad.net/%7ejelmer (from https://launchpad.net/python-fastimport); not a file
    Skipping link https://launchpad.net/%7epython-fastimport (from https://launchpad.net/python-fastimport); not a file
    Skipping link https://launchpad.net/+help/driver.html (from https://launchpad.net/python-fastimport); unknown archive format: .html
    Skipping link https://launchpad.net/python-fastimport/trunk (from https://launchpad.net/python-fastimport); not a file
    Skipping link https://code.launchpad.net/%7epython-fastimport/python-fastimport/trunk (from https://launchpad.net/python-fastimport); not a file
    Skipping link http://bazaar.launchpad.net/%7epython-fastimport/python-fastimport/trunk/files (from https://launchpad.net/python-fastimport); not a file
    Skipping link https://launchpad.net/python-fastimport/+rdf (from https://launchpad.net/python-fastimport); not a file
    Skipping link https://launchpad.net/python-fastimport/+series (from https://launchpad.net/python-fastimport); not a file
    Skipping link https://launchpad.net/python-fastimport/+milestones (from https://launchpad.net/python-fastimport); not a file
    Skipping link https://code.launchpad.net/python-fastimport/+recipes (from https://launchpad.net/python-fastimport); not a file
    Skipping link https://bugs.launchpad.net/python-fastimport/+bug/730607 (from https://launchpad.net/python-fastimport); not a file
    Skipping link https://bugs.launchpad.net/python-fastimport/+bug/715436 (from https://launchpad.net/python-fastimport); not a file
    Skipping link https://bugs.launchpad.net/python-fastimport/+bug/693507 (from https://launchpad.net/python-fastimport); not a file
    Skipping link https://bugs.launchpad.net/python-fastimport/+bug/401249 (from https://launchpad.net/python-fastimport); not a file
    Skipping link https://bugs.launchpad.net/python-fastimport/+bug/672389 (from https://launchpad.net/python-fastimport); not a file
    Skipping link https://launchpad.net/python-fastimport/+topcontributors (from https://launchpad.net/python-fastimport); not a file
    Skipping link https://launchpad.net/%7ejrnieder (from https://launchpad.net/python-fastimport); not a file
    Skipping link https://launchpad.net/%7emaxb (from https://launchpad.net/python-fastimport); not a file
    Skipping link https://launchpad.net/%7eazure (from https://launchpad.net/python-fastimport); not a file
    Skipping link https://launchpad.net/python-fastimport/+packages (from https://launchpad.net/python-fastimport); not a file
    Skipping link https://launchpad.net/ubuntu/oneiric/+source/python-fastimport (from https://launchpad.net/python-fastimport); not a file
    Skipping link https://launchpad.net/ubuntu/natty/+source/python-fastimport (from https://launchpad.net/python-fastimport); not a file
    Skipping link https://launchpad.net/python-fastimport/+subscribe (from https://launchpad.net/python-fastimport); not a file
    Skipping link https://bugs.launchpad.net/python-fastimport/+filebug (from https://launchpad.net/python-fastimport); not a file
    Skipping link https://answers.launchpad.net/python-fastimport/+addquestion (from https://launchpad.net/python-fastimport); not a file
    Skipping link https://code.launchpad.net/python-fastimport/+addbranch (from https://launchpad.net/python-fastimport); not a file
    Skipping link http://launchpad.net/python-fastimport/trunk/0.9.0/+download/python-fastimport-0.9.0.tar.gz (from https://launchpad.net/python-fastimport); wrong project name (not fastimport)
    Skipping link https://launchpad.net/python-fastimport/+download (from https://launchpad.net/python-fastimport); not a file
    Skipping link https://launchpad.net/ (from https://launchpad.net/python-fastimport); not a file
    Skipping link https://launchpad.net/+tour (from https://launchpad.net/python-fastimport); not a file
    Skipping link https://help.launchpad.net/ (from https://launchpad.net/python-fastimport); not a file
    Skipping link http://canonical.com/ (from https://launchpad.net/python-fastimport); not a file
    Skipping link https://launchpad.net/legal (from https://launchpad.net/python-fastimport); not a file
    Skipping link https://launchpad.net/feedback (from https://launchpad.net/python-fastimport); not a file
    Skipping link http://identi.ca/launchpadstatus (from https://launchpad.net/python-fastimport); not a file
    Skipping link https://code.launchpad.net/%7elaunchpad-pqm/launchpad/stable/ (from https://launchpad.net/python-fastimport); not a file
  Could not find any downloads that satisfy the requirement fastimport
No distributions at all found for fastimport

Where the important line is:

Skipping link http://launchpad.net/python-fastimport/trunk/0.9.0/+download/python-fastimport-0.9.0.tar.gz (from http://pypi.python.org/simple/fastimport/); wrong project name (not fastimport)

I'd be glad to report this as a bug on pip if it should be, but I would like to be able to install python-fastimport easily using pip (or easy_install).

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

I can't reproduce this. http://launchpad.net/python-fastimport/trunk/0.9.0/+download/python-fastimport-0.9.0.tar.gz downloads fine here.

If you can still reproduce this, please reopen.

Changed in python-fastimport:
status: New → Incomplete
Changed in python-fastimport:
status: Incomplete → New
Revision history for this message
Neil Martinsen-Burrell (nmb) wrote :

This still affects me. I have pip version 1.0.2 and "pip install fastimport". The file at the given URL does download fine, but pip thinks that is NOT the file that it should download because it is called "python-fastimport-..." rather than "fastimport-...". I think that the relevant error is:

...
Skipping link http://launchpad.net/python-fastimport/trunk/0.9.0/+download/python-fastimport-0.9.0.tar.gz (from http://pypi.python.org/simple/fastimport/); wrong project name (not fastimport)
...

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

I would really consider this a pip issue.

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

I still think this is a serious bug in pip, but I've fixed the name for the current fastimport release.

Changed in python-fastimport:
status: New → Fix Released
assignee: nobody → Jelmer Vernooij (jelmer)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.