Op 16-07-10 22:28, Bobbis2000 schreef:
>
> Hi,
>
> I am trying to copy my plone site onto another server and keep getting this
> error.
> Not sure how to fix it?
> I've been able to do this before.
>
>
>
> Getting distribution for 'ZODB3'.
> The required version of setuptools (>=0.6c9) is not available, and
> can't be installed while this script is running. Please install
>   a more recent version first, using 'easy_install -U setuptools'.

Well, what happens when you do 'easy_install -U setuptools'?

Note that you may need to do that as the root user or with sudo.

> (Currently using setuptools 0.6c8
> (/srv/Python-2.4/lib/python2.4/site-packages/setuptools-0.6c8-py2.4.egg))
> error: Setup script exited with 2
> An error occured when trying to install ZODB3 3.10.0b3. Look above this
> message for any errors that were output by easy_install.
> While:
>    Installing.
>    Getting section instance.
>    Initializing section instance.
>    Installing recipe plone.recipe.zope2instance.
>    Getting distribution for 'ZODB3'.
> Error: Couldn't install: ZODB3 3.10.0b3

This is a very new version of the ZODB package.  Plone 4 beta uses it, 
but I guess you are using Plone 3, right?

What seems to be happening here is that a new version of some add-on 
product that you use in your buildout is out, which depends on Plone 4 
or a new Zope2 version.  You will want to keep using an older version of 
that add-on that is still compatible with Plone 3.

Add this line to the [buildout] section of your buildout.cfg:

allow-picked-versions = false

Now run bin/buildout again.  This extra option makes sure that buildout 
quits at the moment it tries to get a package for which you have not 
specified (pinned) a version.

Note that at least for live sites it is very much recommended to pin the 
versions of *all* packages.  Adding 'extensions = 
buildout.dumppickedversions' in the [buildout] section can help for 
that: when bin/buildout has finished, it reports all versions that have 
not been pinned yet (so they have instead been 'picked' by buildout).

(Note that the combination of these two options is logically less useful.)


-- 
Maurits van Rees
Programmer, Zest Software

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

Reply via email to