Fail to run buildout to upgrade plone from 4.2.4 to 4.3

跟風遠走 提交于 2020-01-06 04:14:06

问题


Debian 6.
After modified extents and commented out all in [version] in buildout.cfg, "buildout -vvv" shows:

Installing 'buildout.dumppickedversions'.
We have the distribution that satisfies 'buildout.dumppickedversions==0.5'.
Installing 'plone.recipe.zeoserver'.
We have the distribution that satisfies 'plone.recipe.zeoserver==1.2.6'.
Getting required 'ZopeUndo==2.12.0'
We have the distribution that satisfies 'ZopeUndo==2.12.0'.
Getting required 'ZODB3==3.10.5'
We have the distribution that satisfies 'ZODB3==3.10.5'.
Getting required 'zope.mkzeoinstance==3.9.5'
We have the distribution that satisfies 'zope.mkzeoinstance==3.9.5'.
Getting required 'zc.recipe.egg==1.3.2'
We have the distribution that satisfies 'zc.recipe.egg==1.3.2'.
Getting required 'zope.interface==3.6.7'
We have the distribution that satisfies 'zope.interface==3.6.7'.
Getting required 'zope.event==3.5.2'
We have the distribution that satisfies 'zope.event==3.5.2'.
Getting required 'zdaemon==2.0.7'
We have the distribution that satisfies 'zdaemon==2.0.7'.
Getting required 'ZConfig==2.9.1'
We have the distribution that satisfies 'ZConfig==2.9.1'.
Getting required 'zc.lockfile==1.0.2'
We have the distribution that satisfies 'zc.lockfile==1.0.2'.
Getting required 'transaction==1.1.1'
We have the distribution that satisfies 'transaction==1.1.1'.
Could't load zc.buildout entry point default
from plone.recipe.zeoserver:
There is a version conflict.
We already have: zc.buildout 1.4.4
but zc.recipe.egg 1.3.2 requires 'zc.buildout>=1.5.0'..
While:
  Installing.
  Getting section zeoserver.
  Initializing section zeoserver.
  Installing recipe plone.recipe.zeoserver.
Error: There is a version conflict.
We already have: zc.buildout 1.4.4
but zc.recipe.egg 1.3.2 requires 'zc.buildout>=1.5.0'.
*************** PICKED VERSIONS ****************
[versions]

*************** /PICKED VERSIONS ***************

I found a related [question]:How to pin version of recipe egg for a particular part, but it does not work for me.

Best regards. Hugo


回答1:


When you are experiencing too much trouble, a good approach can be, to build a new instance with the new version, add eggs and other special config-extensions you did, and then move the data (ZODB+BLOBs) of the old instance to the new one.



来源:https://stackoverflow.com/questions/20541532/fail-to-run-buildout-to-upgrade-plone-from-4-2-4-to-4-3

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!