[Setup] Problems with Plone Developer tutorial (An internal error occured due to a bug in either zc.buildout or in a recipe being used:)

Fenton Christopher Graham christopher.fenton at uit.no
Tue May 21 10:09:34 UTC 2013


Followed the tutorial word for word pretty much (http://developer.plone.org/reference_manuals/active/helloworld/environment/plone.html).
Got the following error.
Anyone have a clue?

Chris


/usr/local/share/python_dev/env-27/hello_world# ./bin/buildout
Updating _mr.developer.
Installing instance.
While:
  Installing instance.
  Getting distribution for 'python-dateutil==1.5'.

An internal error occured due to a bug in either zc.buildout or in a
recipe being used:
Traceback (most recent call last):
  File "/usr/local/share/python_dev/env-27/hello_world/eggs/zc.buildout-1.4.4-py2.7.egg/zc/buildout/buildout.py", line 1683, in main
    getattr(buildout, command)(args)
  File "/usr/local/share/python_dev/env-27/hello_world/eggs/zc.buildout-1.4.4-py2.7.egg/zc/buildout/buildout.py", line 555, in install
    installed_files = self[part]._call(recipe.install)
  File "/usr/local/share/python_dev/env-27/hello_world/eggs/zc.buildout-1.4.4-py2.7.egg/zc/buildout/buildout.py", line 1227, in _call
    return f()
  File "/usr/local/share/python_dev/env-27/hello_world/eggs/plone.recipe.zope2instance-4.2.1-py2.7.egg/plone/recipe/zope2instance/__init__.py", line 109, in install
    self.install_scripts()
  File "/usr/local/share/python_dev/env-27/hello_world/eggs/plone.recipe.zope2instance-4.2.1-py2.7.egg/plone/recipe/zope2instance/__init__.py", line 547, in install_scripts
    requirements, ws = self.egg.working_set(['plone.recipe.zope2instance'])
  File "/usr/local/share/python_dev/env-27/hello_world/eggs/zc.recipe.egg-1.2.2-py2.7.egg/zc/recipe/egg/egg.py", line 90, in working_set
    **kw)
  File "/usr/local/share/python_dev/env-27/hello_world/eggs/zc.buildout-1.4.4-py2.7.egg/zc/buildout/easy_install.py", line 800, in install
    return installer.install(specs, working_set)
  File "/usr/local/share/python_dev/env-27/hello_world/eggs/zc.buildout-1.4.4-py2.7.egg/zc/buildout/easy_install.py", line 670, in install
    for dist in self._get_dist(requirement, ws, self._always_unzip
  File "/usr/local/share/python_dev/env-27/hello_world/eggs/zc.buildout-1.4.4-py2.7.egg/zc/buildout/easy_install.py", line 475, in _get_dist
    dist, avail = self._satisfied(requirement)
  File "/usr/local/share/python_dev/env-27/hello_world/eggs/zc.buildout-1.4.4-py2.7.egg/zc/buildout/easy_install.py", line 207, in _satisfied
    return None, self._obtain(req, source)
  File "/usr/local/share/python_dev/env-27/hello_world/eggs/zc.buildout-1.4.4-py2.7.egg/zc/buildout/easy_install.py", line 399, in _obtain
    if index.obtain(requirement) is None:
  File "/usr/local/share/python_dev/env-27/hello_world/eggs/distribute-0.6.27-py2.7.egg/setuptools/package_index.py", line 341, in obtain
    self.prescan(); self.find_packages(requirement)
  File "/usr/local/share/python_dev/env-27/hello_world/eggs/distribute-0.6.27-py2.7.egg/setuptools/package_index.py", line 326, in find_packages
    self.scan_url(self.index_url + requirement.unsafe_name+'/')
  File "/usr/local/share/python_dev/env-27/hello_world/eggs/distribute-0.6.27-py2.7.egg/setuptools/package_index.py", line 669, in scan_url
    self.process_url(url, True)
  File "/usr/local/share/python_dev/env-27/hello_world/eggs/distribute-0.6.27-py2.7.egg/setuptools/package_index.py", line 224, in process_url
    page = self.process_index(url, page)
  File "/usr/local/share/python_dev/env-27/hello_world/eggs/distribute-0.6.27-py2.7.egg/setuptools/package_index.py", line 301, in process_index
    self.scan_url(new_url)
  File "/usr/local/share/python_dev/env-27/hello_world/eggs/distribute-0.6.27-py2.7.egg/setuptools/package_index.py", line 669, in scan_url
    self.process_url(url, True)
  File "/usr/local/share/python_dev/env-27/hello_world/eggs/distribute-0.6.27-py2.7.egg/setuptools/package_index.py", line 202, in process_url
    f = self.open_url(url, "Download error on %s: %%s -- Some packages may not be found!" % url)
  File "/usr/local/share/python_dev/env-27/hello_world/eggs/distribute-0.6.27-py2.7.egg/setuptools/package_index.py", line 611, in open_url
    return open_with_auth(url)
  File "/usr/local/share/python_dev/env-27/hello_world/eggs/distribute-0.6.27-py2.7.egg/setuptools/package_index.py", line 754, in _socket_timeout
    return func(*args, **kwargs)
  File "/usr/local/share/python_dev/env-27/hello_world/eggs/distribute-0.6.27-py2.7.egg/setuptools/package_index.py", line 796, in open_with_auth
    fp = urllib2.urlopen(request)
  File "/usr/local/share/python_dev/buildout.python/parts/opt/lib/python2.7/urllib2.py", line 127, in urlopen
    return _opener.open(url, data, timeout)
  File "/usr/local/share/python_dev/buildout.python/parts/opt/lib/python2.7/urllib2.py", line 404, in open
    response = self._open(req, data)
  File "/usr/local/share/python_dev/buildout.python/parts/opt/lib/python2.7/urllib2.py", line 422, in _open
    '_open', req)
  File "/usr/local/share/python_dev/buildout.python/parts/opt/lib/python2.7/urllib2.py", line 382, in _call_chain
    result = func(*args)
  File "/usr/local/share/python_dev/buildout.python/parts/opt/lib/python2.7/urllib2.py", line 1214, in http_open
    return self.do_open(httplib.HTTPConnection, req)
  File "/usr/local/share/python_dev/buildout.python/parts/opt/lib/python2.7/urllib2.py", line 1187, in do_open
    r = h.getresponse(buffering=True)
  File "/usr/local/share/python_dev/buildout.python/parts/opt/lib/python2.7/httplib.py", line 1045, in getresponse
    response.begin()
  File "/usr/local/share/python_dev/buildout.python/parts/opt/lib/python2.7/httplib.py", line 409, in begin
    version, status, reason = self._read_status()
  File "/usr/local/share/python_dev/buildout.python/parts/opt/lib/python2.7/httplib.py", line 365, in _read_status
    line = self.fp.readline(_MAXLINE + 1)
  File "/usr/local/share/python_dev/buildout.python/parts/opt/lib/python2.7/socket.py", line 476, in readline
    data = self._sock.recv(self._rbufsize)
timeout: timed out


More information about the Setup mailing list