#347 pip install pydruid hits an infinite re-direct loop

v1.0_(example)
closed
nobody
None
5
2014-03-12
2014-03-07
Deep Ganguli
No

Hi,

I own the repository pydruid (https://pypi.python.org/pypi/pydruid/0.2.1). It used to be called pyDruid. I deleted that old one, and replaced it with pydruid. Now, pip install no longer works (see below for logs). It looks like http://pypi.python.org/simple/pydruid re-directs to itself.

I would like to keep the name pydruid. Can you get rid of the re-direct so that pip install pydruid works again?

Thanks!

pip install pydruid -v
Downloading/unpacking pydruid
Could not fetch URL http://pypi.python.org/simple/pydruid: HTTP Error 301: The HTTP server returned a redirect error that would lead to an infinite loop.
The last 30x error message was:
Moved Permanently
Will skip URL http://pypi.python.org/simple/pydruid when looking for download links for pydruid
Real name of requirement pydruid is pydruid
Could not fetch URL http://pypi.python.org/simple/pydruid/: HTTP Error 301: The HTTP server returned a redirect error that would lead to an infinite loop.
The last 30x error message was:
Moved Permanently
Will skip URL http://pypi.python.org/simple/pydruid/ when looking for download links for pydruid
Could not find any downloads that satisfy the requirement pydruid
No distributions at all found for pydruid
Exception information:
Traceback (most recent call last):
File "/Library/Python/2.7/site-packages/pip-1.2.1-py2.7.egg/pip/basecommand.py", line 107, in main
status = self.run(options, args)
File "/Library/Python/2.7/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 "/Library/Python/2.7/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 "/Library/Python/2.7/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 pydruid

Discussion

  • Hmm.. I'm having the same problem with the package "steinn". But yours seem to have been fixed without any comment here.

     
  • Richard Jones
    Richard Jones
    2014-03-12

    steinn has no packages to download. I've not had a chance to look into the redirect loop yet.

     
  • Richard Jones
    Richard Jones
    2014-03-12

    • status: open --> closed
     
  • Richard Jones
    Richard Jones
    2014-03-12

    The issue is a bug in the way the our caching handles the deletion and resubmission of a package under a different case (eg. Steinn -> steinn). The issue should resolve itself within a day or so when the old package name falls out of the cache. We're looking into a better solution.