[Zope-dev] Zope Tests: 109 OK, 24 Failed, 4 Unknown
Tres Seaver
tseaver at palladion.com
Wed Mar 23 10:43:58 EDT 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 03/23/2011 10:18 AM, Benji York wrote:
> On Wed, Mar 23, 2011 at 10:08 AM, Michael Howitz <mh at gocept.com> wrote:
>> Am 23.03.2011 um 12:57 schrieb Zope Tests Summarizer:
>>> Test failures
>>> -------------
>> [...]
>>> Subject: FAILED : Zope 3.4 Known Good Set / py2.4-32bit-linux
>>> From: buildbot at pov.lt
>>> Date: Tue Mar 22 22:26:52 EDT 2011
>>> URL: http://mail.zope.org/pipermail/zope-tests/2011-March/035953.html
>>
>> While:
>> Installing test.
>> Getting distribution for 'ClientForm==0.2.9'.
>>
>> An internal error occured due to a bug in either zc.buildout or in a
>> recipe being used:
>> Traceback (most recent call last):
>> ...
>> File "/var/lib/buildbot/slaves/zope-kgs/py2.4-32bit-linux/build/test/eggs/setuptools-0.6c11-py2.4.egg/setuptools/package_index.py", line 553, in _download_to
>> size = int(headers["Content-Length"])
>> ValueError: invalid literal for int(): 102936, 102936
>>
>> Buildout tries to download ClientForm from sourceforge.net and seems to get a broken content-length header.
>> I see the same problem when using distutils 0.6.14 since the last 3 or 4 days.
>> But when I use wget the header seems to be correct or wget is smart enough to fix it.
>
> Both pip install and wget work here. Here are the headers wget retrieves:
>
> % wget -S http://wwwsearch.sourceforge.net/old/ClientForm/src/ClientForm-0.2.9.tar.gz
> --2011-03-23 10:17:20--
> http://wwwsearch.sourceforge.net/old/ClientForm/src/ClientForm-0.2.9.tar.gz
> Resolving wwwsearch.sourceforge.net... 216.34.181.96
> Connecting to wwwsearch.sourceforge.net|216.34.181.96|:80... connected.
> HTTP request sent, awaiting response...
> HTTP/1.1 200 OK
> Server: Apache/2.2.3 (CentOS)
> Last-Modified: Sat, 19 Jul 2008 13:29:12 GMT
> ETag: "19218-4526075b55a00"
> Content-Length: 102936
> Expires: Fri, 25 Mar 2011 14:17:12 GMT
> Content-Type: application/x-gzip
> Content-Length: 102936
> Date: Wed, 23 Mar 2011 14:17:12 GMT
> X-Varnish: 74437985
> Age: 0
> Via: 1.1 varnish
> Connection: keep-alive
> Length: 102936 (101K) [application/x-gzip]
> Saving to: `ClientForm-0.2.9.tar.gz'
Multiple 'Content-Length' headers is definitely a Bad Thing. I filed a
bug, which Mark Ramm has promised to escalate:
https://sourceforge.net/apps/trac/sourceforge/ticket/18486
I have a patch for setuptools which works around it:
http://bugs.python.org/setuptools/issue123
I'm not sure how to work around the issue at the moment.
Tres.
- --
===================================================================
Tres Seaver +1 540-429-0999 tseaver at palladion.com
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk2KBy4ACgkQ+gerLs4ltQ6WyQCfbKkGAvfbz9+AfhaKGgChGBq0
X98AoJ8CeMyptEUQ48npd85GvmVGEow/
=hzWS
-----END PGP SIGNATURE-----
More information about the Zope-Dev
mailing list