I'm trying to follow the Develping Schooltool->Quickstart guide. When executing "make run" part I get the follwoing error:
....
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/ari/DESARROLLO/SCHOOLTOOL/schooltool/eggs/zc.buildout-1.4.4-py2.6.egg/zc/buildout/buildout.py", line 1683, in main
getattr(buildout, command)(args)
File "/home/ari/DESARROLLO/SCHOOLTOOL/schooltool/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/ari/DESARROLLO/SCHOOLTOOL/schooltool/eggs/zc.buildout-1.4.4-py2.6.egg/zc/buildout/buildout.py", line 1227, in _call
return f()
File "/home/ari/DESARROLLO/SCHOOLTOOL/schooltool/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/ari/DESARROLLO/SCHOOLTOOL/schooltool/eggs/zc.recipe.egg-1.2.2-py2.6.egg/zc/recipe/egg/egg.py", line 90, in working_set
**kw)
File "/home/ari/DESARROLLO/SCHOOLTOOL/schooltool/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/ari/DESARROLLO/SCHOOLTOOL/schooltool/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/ari/DESARROLLO/SCHOOLTOOL/schooltool/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/ari/DESARROLLO/SCHOOLTOOL/schooltool/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/ari/DESARROLLO/SCHOOLTOOL/schooltool/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/ari/DESARROLLO/SCHOOLTOOL/schooltool/eggs/setuptools-0.6c11-py2.6.egg/setuptools/package_index.py", line 614, in _download_url
return self._attempt_download(url, filename)
File "/home/ari/DESARROLLO/SCHOOLTOOL/schooltool/eggs/setuptools-0.6c11-py2.6.egg/setuptools/package_index.py", line 621, in _attempt_download
headers = self._download_to(url, filename)
File "/home/ari/DESARROLLO/SCHOOLTOOL/schooltool/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: *** [bin/test] Error 1
This is a problem with sourceforge servers sending wrong HTTP headers. You can read this thread in the developers for a temporary workaround:
https:/ /lists. launchpad. net/schooltool- developers/ msg00346. html