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

Nathan Van Gheem vangheem at gmail.com
Wed May 22 12:28:21 UTC 2013


Might you be looking for
https://pypi.python.org/pypi/templer.dexterity/1.0a1 ?

The package requirements and version behind the zopeskel/templer packages
are very confusing...


On Wed, May 22, 2013 at 2:55 AM, Fenton Christopher Graham <
christopher.fenton at uit.no> wrote:

> Ok, thanks for the tip.
> The fix worked fine, but now I have a second issue.
>
> Error: There is a version conflict.
> We already have: ZopeSkel 3.0b3
> but zopeskel.dexterity 1.5.0 requires 'ZopeSkel<=2.21.2'.
>
> Is there a fix for this?
> Or an updated script?
>
> Chris
>
>
> ________________________________________
> Fra: Nathan Van Gheem [vangheem at gmail.com]
> Sendt: 21. mai 2013 14:50
> Til: Fenton Christopher Graham
> Kopi: plone-setup at lists.plone.org
> Emne: Re: [Setup] Problems with Plone Developer tutorial (An internal
> error occured due to a bug in either zc.buildout or in a recipe being used:)
>
> This is really too bad.
>
> This is because a third party dependency hasn't uploaded their package to
> the normal package index and their own hosting has gone down.
>
> You can add this to your buildout.cfg file, close to the top to fix it:
>
> allow-hosts =
>     *.python.org<http://python.org>
>     *.plone.org<http://plone.org>
>     *.zope.org<http://zope.org>
>     launchpad.net<http://launchpad.net>
>     code.google.com<http://code.google.com>
>     robotframework.googlecode.com<http://robotframework.googlecode.com>
>
> find-links += http://dist.plone.org/thirdparty/
>
>
>
>
> On Tue, May 21, 2013 at 5:09 AM, Fenton Christopher Graham <
> christopher.fenton at uit.no<mailto:christopher.fenton at uit.no>> wrote:
> 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
> _______________________________________________
> Setup mailing list
> Setup at lists.plone.org<mailto:Setup at lists.plone.org>
> https://lists.plone.org/mailman/listinfo/plone-setup
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.plone.org/pipermail/plone-setup/attachments/20130522/8d4df496/attachment.html>


More information about the Setup mailing list