VersionConflict: (distribute 0.6.49, Requirement.parse('distribute==0.6.16'))

David Siedband <[email protected]>
Newsgroups gmane.comp.web.zope.plone.user
Message-ID <[email protected]>
I’m trying to move a pretty big, complex Plone 4.0.10 buildout to a new machine.

I used the Universal installer to build a python 2.7 and then use that python to run the buildout.

I’m getting a version conflict on distribute.  

When I ran bootstrap, I did it with
~/Plone/Python-2.7/bin/python bootstrap.py -d -v 1.4.4
(as 1.4.4. seems to be the version of zc.buildout on the current server.)

Here’s the trace from running buildout:

[ … ]
Getting distribution for 'zope.contenttype==3.4.3'.
Got zope.contenttype 3.4.3.
While:
  Installing.
  Loading extensions.
  Getting section zeoclient1.
  Initializing section zeoclient1.
  Installing recipe plone.recipe.zope2instance.

An internal error occured due to a bug in either zc.buildout or in a
recipe being used:
Traceback (most recent call last):
  File "/home/zope/buildout/eggs/zc.buildout-1.4.4-py2.7.egg/zc/buildout/buildout.py", line 1683, in main
    getattr(buildout, command)(args)
  File "/home/zope/buildout/eggs/zc.buildout-1.4.4-py2.7.egg/zc/buildout/buildout.py", line 396, in install
    self._load_extensions()
  File "/home/zope/buildout/eggs/zc.buildout-1.4.4-py2.7.egg/zc/buildout/buildout.py", line 917, in _load_extensions
    ep.load()(self)
  File "/home/zope/buildout/eggs/buildout.eggtractor-0.6-py2.7.egg/buildout/eggtractor/tractor.py", line 68, in install
    part_names = [n for n in buildout['buildout']['tractor-target-parts'].split() if n in buildout]
  File "/home/zope/Plone/Python-2.7/lib/python2.7/UserDict.py", line 106, in __contains__
    return self.has_key(key)
  File "/home/zope/Plone/Python-2.7/lib/python2.7/UserDict.py", line 101, in has_key
    self[key]
  File "/home/zope/buildout/eggs/zc.buildout-1.4.4-py2.7.egg/zc/buildout/buildout.py", line 987, in __getitem__
    options._initialize()
  File "/home/zope/buildout/eggs/zc.buildout-1.4.4-py2.7.egg/zc/buildout/buildout.py", line 1071, in _initialize
    recipe_class = _install_and_load(reqs, 'zc.buildout', entry, buildout)
  File "/home/zope/buildout/eggs/zc.buildout-1.4.4-py2.7.egg/zc/buildout/buildout.py", line 1027, in _install_and_load
    allow_hosts=buildout._allow_hosts
  File "/home/zope/buildout/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 "/home/zope/buildout/eggs/zc.buildout-1.4.4-py2.7.egg/zc/buildout/easy_install.py", line 674, in install
    self._maybe_add_setuptools(ws, dist)
  File "/home/zope/buildout/eggs/zc.buildout-1.4.4-py2.7.egg/zc/buildout/easy_install.py", line 606, in _maybe_add_setuptools
    if ws.find(requirement) is None:
  File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 482, in find
    raise VersionConflict(dist,req)     # XXX add more info
VersionConflict: (distribute 0.6.49 (/home/zope/buildout/eggs/distribute-0.6.49-py2.7.egg), Requirement.parse('distribute==0.6.16'))

--
David Siedband
http://zentraal.com


------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.