This is odd, you are getting Zope 2.12 when you shouldn't be (like you said). 
Can you rerun with
bin/buildout -vvvv and paste the results?

On 2010-04-29, JimL <[email protected]> wrote:
>
> Hi,
>
> I'm running the following setup on CentOS 5.4:
>
>     * Plone 3.2.1
>     * CMF 2.1.2
>     * Zope (Zope 2.10.7-final, python 2.4.5, linux2)
>     * Python 2.4.5 (#1, May 26 2009, 16:04:26) [GCC 4.1.2 20080704 (Red Hat
> 4.1.2-44)]
>     * PIL 1.1.6
>
> I have followed the instructions on 
> http://pypi.python.org/pypi/collective.xdv
> http://pypi.python.org/pypi/collective.xdv  to install collective.xdv
>
> I have libxml2, libxml2-devel, libxslt, and libxslt-devel installed.
>
> Here is the relevant section from my buildout:
>
>
> [buildout]
>
> ############################################
> # Plone Component Versions
> # ------------------------
> # This version of the Unified Installer has the components
> # of Plone 3.2.1 preloaded so that it can install without
> # an Internet connection.
> # If you want to update, uncomment the "extends = http://..."; below,
> # edit it to point to the current version URL,
> # comment out the "extends = versions.cfg" line
> # and run bin/buildout -n
> # while attached to the Internet.
> #
> # extends = http://dist.plone.org/release/3.2.1/versions.cfg
> extends =
>     versions.cfg
>     http://good-py.appspot.com/release/collective.xdv/1.0rc5
> versions = versions
>
> ############################################
> # Ports
> # -----
> # Specify the ports on which your Zope installation
> # will listen.
> # ZEO Server
> zeo-address = 127.0.0.1:8100
> # Zope client 1
> client1-address = 8080
> # Zope client 2
> client2-address = 8081
>
> ############################################
> # Eggs
> # ----
> # Add an indented line to the eggs section for any Python
> # eggs or packages you wish to include.
> #
> eggs =
>     Plone
>     Products.NuPlone
>     Products.CacheSetup
>     Products.PloneFormGen
>     Products.LDAPUserFolder
>     Products.LDAPMultiPlugins
>     Products.PloneLDAP
>     collective.xdv [Zope2.10]
>
>
> However on running buildout, I'm continually getting the following error:
>
> [r...@webplone zeocluster]# ./bin/buildout
> Uninstalling zopeskel.
> Uninstalling zopepy.
> Uninstalling client2.
> Uninstalling client1.
> Updating zope2.
> Updating fake eggs
> Updating productdistros.
> Updating zeoserver.
> Installing client1.
> Getting distribution for 'collective.xdv==1.0rc5'.
> Got collective.xdv 1.0rc5.
> Getting distribution for 'five.globalrequest'.
> Got five.globalrequest 1.0a1.
> Getting distribution for 'repoze.xmliter==0.1'.
> Got repoze.xmliter 0.1.
> Getting distribution for 'plone.transformchain==1.0b1'.
> Got plone.transformchain 1.0b1.
> Getting distribution for 'plone.app.registry==1.0b2'.
> Got plone.app.registry 1.0b2.
> Getting distribution for 'plone.synchronize'.
> Got plone.synchronize 1.0b1.
> Getting distribution for 'xdv==0.3a3'.
> Got xdv 0.3a3.
> Getting distribution for 'Zope2'.
>   File "build/bdist.linux-i686/egg/Zope2/Startup/zopectl.py", line 313
>     finally:
>           ^
> SyntaxError: invalid syntax
>   File
> "/usr/local/Plone/buildout-cache/eggs/tmpLe-LAA/Zope2-2.12.5-py2.4-linux-i686.egg/Zope2/Startup/zopectl.py",
> line 313
>     finally:
>           ^
> SyntaxError: invalid syntax
> Got Zope2 2.12.5.
> Getting distribution for 'zope.globalrequest'.
> Got zope.globalrequest 1.0a2.
> Getting distribution for 'lxml>=2.1.1'.
> Building lxml version 2.2.6.
> NOTE: Trying to build without Cython, pre-generated 'src/lxml/lxml.etree.c'
> needs to be available.
> Using build configuration of libxslt 1.1.17
> Building against libxml2/libxslt in the following directory: /usr/lib
> Got lxml 2.2.6.
> Getting distribution for 'zope.schema==3.6.0'.
> Got zope.schema 3.6.0.
> Getting distribution for 'plone.autoform==1.0b3'.
> Got plone.autoform 1.0b3.
> Getting distribution for 'plone.app.z3cform==0.5.0'.
> Got plone.app.z3cform 0.5.0.
> Getting distribution for 'plone.supermodel==1.0b5'.
> Got plone.supermodel 1.0b5.
> Getting distribution for 'plone.registry==1.0b2'.
> Got plone.registry 1.0b2.
> While:
>   Installing client1.
>
> 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/Plone/buildout-cache/eggs/zc.buildout-1.1.1-py2.4.egg/zc/buildout/buildout.py",
> line 1477, in main
>     getattr(buildout, command)(args)
>   File
> "/usr/local/Plone/buildout-cache/eggs/zc.buildout-1.1.1-py2.4.egg/zc/buildout/buildout.py",
> line 462, in install
>     installed_files = self[part]._call(recipe.install)
>   File
> "/usr/local/Plone/buildout-cache/eggs/zc.buildout-1.1.1-py2.4.egg/zc/buildout/buildout.py",
> line 1060, in _call
>     return f()
>   File
> "/usr/local/Plone/buildout-cache/eggs/plone.recipe.zope2instance-2.7-py2.4.egg/plone/recipe/zope2instance/__init__.py",
> line 38, in install
>     requirements, ws = self.egg.working_set()
>   File
> "/usr/local/Plone/buildout-cache/eggs/zc.recipe.egg-1.1.0-py2.4.egg/zc/recipe/egg/egg.py",
> line 93, in working_set
>     allow_hosts=self.allow_hosts,
>   File
> "/usr/local/Plone/buildout-cache/eggs/zc.buildout-1.1.1-py2.4.egg/zc/buildout/easy_install.py",
> line 775, in install
>     return installer.install(specs, working_set)
>   File
> "/usr/local/Plone/buildout-cache/eggs/zc.buildout-1.1.1-py2.4.egg/zc/buildout/easy_install.py",
> line 635, in install
>     ws.resolve(requirements)
>   File
> "/usr/local/Plone/Python-2.4/lib/python2.4/site-packages/setuptools-0.6c9-py2.4.egg/pkg_resources.py",
> line 529, in resolve
>     requirements.extend(dist.requires(req.extras)[::-1])
>   File
> "/usr/local/Plone/Python-2.4/lib/python2.4/site-packages/setuptools-0.6c9-py2.4.egg/pkg_resources.py",
> line 2115, in requires
>     raise UnknownExtra(
> UnknownExtra: zope.testbrowser 0.0 has no such extra feature
> 'zope_functional_testing' 
>
>
> Now i've checked out (and tried) the advice at 
> http://plone.org/documentation/kb/repair-a-plone-3.1-buildout
> http://plone.org/documentation/kb/repair-a-plone-3.1-buildout  but still no
> joy. It seems that for some reason despite trying to pin the Zope version to
> 2.10, I'm actually installing 2.12.
>
> I've tried clearing out my buildout-cache and removing .installed.cfg (this
> proved to be disastrous as buildout failed to install Plone giving errors
> such as needing buildout>=1.4 whereas I only had 1.1.1 installed). No luck.
>
> Any ideas out there?
>
> Cheers,  Jim
>
>


-- 
Alex Clark · http://aclark.net
Author of Plone 3.3 Site Administration · http://aclark.net/plone-site-admin

_______________________________________________
Setup mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/setup

Reply via email to