← Back to team overview

schooltool-developers team mailing list archive

Re: buildout error with mechanize 0.1.11

 

It seems like I'm not alone:

https://mail.zope.org/pipermail/zope-cmf/2011-March/029654.html

Douglas

"... allí­ es cuando te das cuenta que las cosas malas pueden resultar bastante buenas..." - Lionel Messi

Por favor, evite enviarme adjuntos de Word, Excel o PowerPoint.
Vea http://www.gnu.org/philosophy/no-word-attachments.es.html


--- On Tue, 3/22/11, Douglas Cerna <douglascerna@xxxxxxxxx> wrote:

> From: Douglas Cerna <douglascerna@xxxxxxxxx>
> Subject: [Schooltool-developers] buildout error with mechanize 0.1.11
> To: "SchoolTool Developers" <schooltool-developers@xxxxxxxxxxxxxxxxxxx>
> Date: Tuesday, March 22, 2011, 1:53 PM
> While I was trying to set up a demo
> instance using trunk, I got the error below after running
> make. Then I tried in my laptop and got the same result.
> 
> To me it seems like a server problem. We get mechanize
> from:
> 
> http://wwwsearch.sourceforge.net/mechanize/src/mechanize-0.1.11.tar.gz
> 
> Even though I can download the tar.gz file, if I create a
> virtual environment and do an easy_install on mechanize, I
> get the same error.
> 
> Or could it be setuptools? Is there any way to fix it?
> 
> Douglas
> 
> "... allí­ es cuando te das cuenta que las cosas malas
> pueden resultar bastante buenas..." - Lionel Messi
> 
> Por favor, evite enviarme adjuntos de Word, Excel o
> PowerPoint.
> Vea http://www.gnu.org/philosophy/no-word-attachments.es.html
> 
> ---------- %< ----------
> Getting distribution for 'zope.ptresource==3.9.0'.
> Got zope.ptresource 3.9.0.
> Getting distribution for
> 'zope.principalannotation==3.6.1'.
> Got zope.principalannotation 3.6.1.
> Getting distribution for 'zope.copy==3.5.0'.
> Got zope.copy 3.5.0.
> Getting distribution for 'mechanize==0.1.11'.
> While:
>   Installing package.
>   Getting distribution for 'mechanize==0.1.11'.
> 
> An internal error occured due to a bug in either
> zc.buildout or in a
> recipe being used:
> Traceback (most recent call last):
>   File
> "/home/replaceafill/.sandboxes/schooltool_mechanize_error/eggs/zc.buildout-1.4.4-py2.6.egg/zc/buildout/buildout.py",
> line 1683, in main
>     getattr(buildout, command)(args)
>   File
> "/home/replaceafill/.sandboxes/schooltool_mechanize_error/eggs/zc.buildout-1.4.4-py2.6.egg/zc/buildout/buildout.py",
> line 555, in install
>     installed_files =
> self[part]._call(recipe.install)
>   File
> "/home/replaceafill/.sandboxes/schooltool_mechanize_error/eggs/zc.buildout-1.4.4-py2.6.egg/zc/buildout/buildout.py",
> line 1227, in _call
>     return f()
>   File
> "/home/replaceafill/.sandboxes/schooltool_mechanize_error/eggs/zc.recipe.egg-1.2.2-py2.6.egg/zc/recipe/egg/egg.py",
> line 95, in install
>     reqs, ws = self.working_set()
>   File
> "/home/replaceafill/.sandboxes/schooltool_mechanize_error/eggs/zc.recipe.egg-1.2.2-py2.6.egg/zc/recipe/egg/egg.py",
> line 90, in working_set
>     **kw)
>   File
> "/home/replaceafill/.sandboxes/schooltool_mechanize_error/eggs/zc.buildout-1.4.4-py2.6.egg/zc/buildout/easy_install.py",
> line 800, in install
>     return installer.install(specs, working_set)
>   File
> "/home/replaceafill/.sandboxes/schooltool_mechanize_error/eggs/zc.buildout-1.4.4-py2.6.egg/zc/buildout/easy_install.py",
> line 670, in install
>     for dist in self._get_dist(requirement, ws,
> self._always_unzip
>   File
> "/home/replaceafill/.sandboxes/schooltool_mechanize_error/eggs/zc.buildout-1.4.4-py2.6.egg/zc/buildout/easy_install.py",
> line 494, in _get_dist
>     dist = self._fetch(avail, tmp,
> self._download_cache)
>   File
> "/home/replaceafill/.sandboxes/schooltool_mechanize_error/eggs/zc.buildout-1.4.4-py2.6.egg/zc/buildout/easy_install.py",
> line 457, in _fetch
>     new_location =
> self._index.download(dist.location, tmp)
>   File
> "/home/replaceafill/.sandboxes/schooltool_mechanize_error/eggs/setuptools-0.6c11-py2.6.egg/setuptools/package_index.py",
> line 392, in download
>     found = self._download_url(scheme.group(1),
> spec, tmpdir)
>   File
> "/home/replaceafill/.sandboxes/schooltool_mechanize_error/eggs/setuptools-0.6c11-py2.6.egg/setuptools/package_index.py",
> line 614, in _download_url
>     return self._attempt_download(url, filename)
>   File
> "/home/replaceafill/.sandboxes/schooltool_mechanize_error/eggs/setuptools-0.6c11-py2.6.egg/setuptools/package_index.py",
> line 621, in _attempt_download
>     headers = self._download_to(url, filename)
>   File
> "/home/replaceafill/.sandboxes/schooltool_mechanize_error/eggs/setuptools-0.6c11-py2.6.egg/setuptools/package_index.py",
> line 553, in _download_to
>     size = int(headers["Content-Length"])
> ValueError: invalid literal for int() with base 10:
> '241357, 241357'
> make[1]: *** [buildout] Error 1
> make[1]: se sale del directorio
> `/home/replaceafill/.sandboxes/schooltool_mechanize_error'
> make: *** [instance] Error 2
> ---------- %< ----------
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~schooltool-developers
> Post to     : schooltool-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~schooltool-developers
> More help   : https://help.launchpad.net/ListHelp
>



Follow ups

References