[Distutils] PyPI download issues from Rackspace Cloud

Donald Stufft donald at stufft.io
Sat Nov 23 14:59:35 CET 2013

Can you try with 1.5rc1? We switched to requests in that version and
perhaps it side steps the issue?

On Nov 23, 2013, at 5:05 AM, Marius Gedminas <marius at pov.lt> wrote:

> I recently spin up a Windows VM on Rackspace Cloud.  I'm seeing a very
> weird problem: downloads from PyPI fail with checksum errors,
> nondeterministically.
> Sometimes it's a md5 hash mismatch error from pip[1].  Sometimes the
> error is a CRC error deep in the gzip module.  It's not only pip -- I've
> seen this error from virtualenv[2], I've seen it from get-pip.py.
> [1] https://jenkins.gedmin.as/job/restview-on-windows/1/console
>    https://jenkins.gedmin.as/job/restview-on-windows/2/console
>    https://jenkins.gedmin.as/job/restview-on-windows/3/console
>    https://jenkins.gedmin.as/job/check-manifest-on-windows/11/console
> [2] https://jenkins.gedmin.as/job/check-manifest-on-windows/7/console
>    https://jenkins.gedmin.as/job/check-manifest-on-windows/6/console
> The error is sporadic and tends to go away (and come back) on retries
> (look at the restview-on-windows jobs: first pip install mock fails,
> then succeeds, then fails again on next retry).
> I haven't encountered any download troubles with Firefox.  In fact
> that's how I got 'pip install tox' to work in the end -- pypi downloads
> of virtualenv/py libraries kept failing, so I downloaded the tarballs
> with Firefox and pip installed them from local files.
> I've ran
>  curl https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.10.1.tar.gz | md5sum -
> like 10 times and got the same (correct) md5 hash each time.  Meanwhile
>  rm -f virtualenv-1.10.1.tar.gz && pip install -d . virtualenv
> fails with a bad md5hash error 9 times out of 10.  Curiously, it's the
> same bad hash every time: 20cf17baaf2126f99d6f652831f82d75.
> I used http://www.python.org/ftp/python/2.7.6/python-2.7.6.msi to
> install Python on this Windows 2012 server (64-bit OS, 32-bit Python).
> Any ideas?
> Marius Gedminas
> -- 
> IBM motto: "We found five vowels hiding in a corner, and we used
> them _all_ for the 'eieio' instruction so that we wouldn't have to use
> them anywhere else"
> 		-- Linus Torvalds
> _______________________________________________
> Distutils-SIG maillist  -  Distutils-SIG at python.org
> https://mail.python.org/mailman/listinfo/distutils-sig

Donald Stufft
PGP: 0x6E3CBCE93372DCFA // 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 DCFA

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20131123/71ed8ea7/attachment.sig>

More information about the Distutils-SIG mailing list