You are here: Home / Making Ploneboard 2.2 run with Plone 4.1

Making Ploneboard 2.2 run with Plone 4.1

Ploneboard 2.2 now installs on Plone 4.1 using buildout, but then the cluster won't start, causing plenty of disconnects/connects errors in client1, client2, and zeoserver log files. However, this simple hack to one line of the Ploneboard eggs code will get it working....

Modify buildout.cfg to have Ploneboard added:

eggs =

    Produdcts.Ploneboard

 

Run buildout.

After the egg is downloaded, then you need to edit:

<ploneinstance>/buildout-cache/eggs/Products.Ploneboard-2.2-py2.6.egg/vocabulary.py

First backup vocabulary.py of course. Then find the line stating:

from zope.interface import implements
from zope.app.schema.vocabulary import IVocabularyFactory
from Products.CMFCore.utils import getToolByName
from zope.schema.vocabulary import SimpleVocabulary

 

And change it to:

 

from zope.interface import implements
from zope.schema.interfaces import IVocabularyFactory
from Products.CMFCore.utils import getToolByName
from zope.schema.vocabulary import SimpleVocabulary

 

Rerun buildout. And start the cluster. The server should now run, and you should be able to add the product through site setup, etc.

Filed under:
Navigation