zope2zeoserver failing with "Unable to import ZEO"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
collective.buildout |
Fix Released
|
Undecided
|
LeoRochael |
Bug Description
With plone.recipe.
The constructor of the recipe gets loaded before the other recipes are run which means the zope2 recipe wouldn't have yet created the zope2 parts directory. So when the installation of the zope2zeoserver recipe gets run it overwrites the sys.path with directories that do not contain the zope2 parts directory so ZEO libs cannot be found. The solution here should be to move the self.ws_locations var generation out of the constructor into the install method. At this point the zope2 parts directory should exist and the checking of said directory will pass.
Changed in collective.buildout: | |
status: | Confirmed → Fix Committed |
I'll fix this one in a couple of days from now, if it isn't already