Re: [Zope-dev] Zope Tests: 109 OK, 24 Failed, 4 Unknown
On 31 March 2011 10:15, Gediminas Paulauskas wrote: > 2011/3/23 Laurence Rowe : >> On 23 March 2011 14:43, Tres Seaver wrote: >>> 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. >> >> I always add the following to my buildout.cfg to avoid problems with >> random third party servers: >> >> allow-hosts = >> *.python.org >> *.plone.org >> launchpad.net >> >> (launchpad.net is there only for mocker which does not have a pypi release). > > I have added the following sites to allow-hosts for SchoolTool, that > needs Sphinx, Pygments, PIL, reportlab, pyPdf, Paste. > > allow-hosts = > buildout.org > code.google.com > effbot.org > *.googlecode.com > pybrary.net > pygments.org > *.python.org > pythonpaste.org > *.pythonware.com > *.pocoo.org > reportlab.com > *.repoze.org > *.schooltool.org > > Not all sites are needed, but why block projects official downloads? Limiting your allowed hosts to the minimal set makes running buildout much faster as most of the network requests get blocked. Laurence ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Zope Tests: 109 OK, 24 Failed, 4 Unknown
2011/3/23 Laurence Rowe : > On 23 March 2011 14:43, Tres Seaver wrote: >> 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. > > I always add the following to my buildout.cfg to avoid problems with > random third party servers: > > allow-hosts = > *.python.org > *.plone.org > launchpad.net > > (launchpad.net is there only for mocker which does not have a pypi release). I have added the following sites to allow-hosts for SchoolTool, that needs Sphinx, Pygments, PIL, reportlab, pyPdf, Paste. allow-hosts = buildout.org code.google.com effbot.org *.googlecode.com pybrary.net pygments.org *.python.org pythonpaste.org *.pythonware.com *.pocoo.org reportlab.com *.repoze.org *.schooltool.org Not all sites are needed, but why block projects official downloads? Gediminas ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Zope Tests: 109 OK, 24 Failed, 4 Unknown
2011/3/25 Gediminas Paulauskas : >> 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. > > ClientForm 0.2.10 (and mechanize 0.1.11) downloads do not exhibit this > problem. I have updated zope.release to these versions to make > buildbot green. No, this did not help to fix the 3.4 KGS, newer versions also failed to download. ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Zope Tests: 109 OK, 24 Failed, 4 Unknown
2011/3/23 Michael Howitz : > 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. ClientForm 0.2.10 (and mechanize 0.1.11) downloads do not exhibit this problem. I have updated zope.release to these versions to make buildbot green. But this remains a problem for people who have extends = http://download.zope.org/zope3.4/3.4.1/versions.cfg in their apps... Let's hope sourceforge.net will fix the issue on their end. Gediminas http://zope3.pov.lt/ ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Zope Tests: 109 OK, 24 Failed, 4 Unknown
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/23/2011 10:49 AM, Laurence Rowe wrote: > On 23 March 2011 14:43, Tres Seaver wrote: >> 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. > > I always add the following to my buildout.cfg to avoid problems with > random third party servers: > > allow-hosts = > *.python.org > *.plone.org > launchpad.net > > (launchpad.net is there only for mocker which does not have a pypi release). Great point -- thanks for reminding me about 'allow-hosts'. Tres. - -- === Tres Seaver +1 540-429-0999 tsea...@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/ iEYEARECAAYFAk2KCUUACgkQ+gerLs4ltQ4COwCgtnuYcMfxvw1EzkB1aYfq8YHa LB8An1M3Bw5fqXU/IORSz1ShWkE/swH9 =w7Hn -END PGP SIGNATURE- ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Zope Tests: 109 OK, 24 Failed, 4 Unknown
On 23 March 2011 14:43, Tres Seaver wrote: > 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. I always add the following to my buildout.cfg to avoid problems with random third party servers: allow-hosts = *.python.org *.plone.org launchpad.net (launchpad.net is there only for mocker which does not have a pypi release). Laurence ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Zope Tests: 109 OK, 24 Failed, 4 Unknown
-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 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 tsea...@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- ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Zope Tests: 109 OK, 24 Failed, 4 Unknown
On Wed, Mar 23, 2011 at 10:08 AM, Michael Howitz 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' -- Benji York ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Zope Tests: 109 OK, 24 Failed, 4 Unknown
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. Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Zope and Plone consulting and development ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )