You are here: Home / Documentation / How To's / How to build out Plone 3.1

How to build out Plone 3.1

by nguyen — published Oct 18, 2010 03:30 PM, last modified Aug 16, 2016 10:50 AM
how to get around two buildout errors

If you set up your buildout as per the page mentioned in the related how-do, you may get this error

Getting required 'zope.testbrowser[zope_functional_testing]'
  required by Zope2 2.12.12.
We have a develop egg: zope.testbrowser 0.0
  Loading extensions.
  Getting section instance.
  Initializing section instance.
  Installing recipe plone.recipe.zope2instance.

An internal error occurred due to a bug in either zc.buildout or in a
recipe being used:
Traceback (most recent call last):
  File "/private/var/folders/EH/EHNnXdBgHNKnF2Hvh3ecjE+++TM/-Tmp-/tmpmcSoRa/zc.buildout-1.5.2-py2.4.egg/zc/buildout/", line 1805, in main
  File "/private/var/folders/EH/EHNnXdBgHNKnF2Hvh3ecjE+++TM/-Tmp-/tmpmcSoRa/zc.buildout-1.5.2-py2.4.egg/zc/buildout/", line 425, in install
  File "/private/var/folders/EH/EHNnXdBgHNKnF2Hvh3ecjE+++TM/-Tmp-/tmpmcSoRa/zc.buildout-1.5.2-py2.4.egg/zc/buildout/", line 989, in _load_extensions
  File "/Users/kim/src/python/plonetuneup/plone31devel/eggs/buildout.eggtractor-0.6-py2.4.egg/buildout/eggtractor/", line 70, in install
    for k, v in buildout.items():
  File "/Users/kim/src/python/plonetuneup/lib/python2.4/", line 112, in items
    return list(self.iteritems())
  File "/Users/kim/src/python/plonetuneup/lib/python2.4/", line 101, in iteritems
    yield (k, self[k])
  File "/private/var/folders/EH/EHNnXdBgHNKnF2Hvh3ecjE+++TM/-Tmp-/tmpmcSoRa/zc.buildout-1.5.2-py2.4.egg/zc/buildout/", line 1056, in __getitem__
  File "/private/var/folders/EH/EHNnXdBgHNKnF2Hvh3ecjE+++TM/-Tmp-/tmpmcSoRa/zc.buildout-1.5.2-py2.4.egg/zc/buildout/", line 1141, in _initialize
  File "/private/var/folders/EH/EHNnXdBgHNKnF2Hvh3ecjE+++TM/-Tmp-/tmpmcSoRa/zc.buildout-1.5.2-py2.4.egg/zc/buildout/", line 1097, in _install_and_load
  File "/private/var/folders/EH/EHNnXdBgHNKnF2Hvh3ecjE+++TM/-Tmp-/tmpmcSoRa/zc.buildout-1.5.2-py2.4.egg/zc/buildout/", line 1090, in install
  File "/private/var/folders/EH/EHNnXdBgHNKnF2Hvh3ecjE+++TM/-Tmp-/tmpmcSoRa/zc.buildout-1.5.2-py2.4.egg/zc/buildout/", line 949, in install
  File "/Users/kim/src/python/plonetuneup/lib/python2.4/site-packages/distribute-0.6.14-py2.4.egg/", line 2179, in requires
    raise UnknownExtra(
UnknownExtra: zope.testbrowser 0.0 has no such extra feature 'zope_functional_testing'

To get around this error, follow the instructions to repair a Plone 3.1 buildout by Cris Ewing and add this to the end of the [buildout] section of your buildout.cfg:

versions = versions

plone.recipe.zope2instance = 3.6

When you rerun buildout, you will then get this error:

Getting required 'zope.i18nmessageid'
  required by zope.container 3.11.2.
We have a develop egg: zope.i18nmessageid 0.0
  Installing instance.
Error: There is a version conflict.
We already have: zope.lifecycleevent 0.0
but zope.container 3.11.2 requires 'zope.lifecycleevent>=3.5.2'.

The fix for that (described partially here) is to add this at the top of the [buildout] section of your buildout.cfg:

extends =

(to match the version of Zope you're trying to install - see your [zope2] section) and then you can rerun buildout successfully.