Open
Description
[zeoserver]
recipe = plone.recipe.zeoserver
zeo-address = ${conf:zeoserver}:${conf:zeoport}
blob-storage = ${buildout:directory}/var/blobstorage
monitor-address = ${conf:zeoport_monitor}
eggs = raven
results in
#!/usr/bin/python2
import sys
sys.path[0:0] = [
'/tmp/ugent-portaal-plone-4x/eggs/raven-6.4.0-py2.7.egg',
'/tmp/ugent-portaal-plone-4x/eggs/plone.recipe.zeoserver-1.2.9-py2.7.egg',
'/tmp/ugent-portaal-plone-4x/eggs/ZopeUndo-2.12.0-py2.7.egg',
'/tmp/ugent-portaal-plone-4x/eggs/ZODB3-3.10.5-py2.7-linux-x86_64.egg',
'/tmp/ugent-portaal-plone-4x/eggs/zope.mkzeoinstance-3.9.5-py2.7.egg',
'/tmp/ugent-portaal-plone-4x/eggs/zc.recipe.egg-1.3.2-py2.7.egg',
'/tmp/ugent-portaal-plone-4x/eggs/setuptools-33.1.1-py2.7.egg',
'/tmp/ugent-portaal-plone-4x/eggs/zc.buildout-2.5.2-py2.7.egg',
'/tmp/ugent-portaal-plone-4x/eggs/contextlib2-0.5.5-py2.7.egg',
'/tmp/ugent-portaal-plone-4x/eggs/zope.interface-3.6.7-py2.7-linux-x86_64.egg',
'/tmp/ugent-portaal-plone-4x/eggs/zope.event-3.5.2-py2.7.egg',
'/tmp/ugent-portaal-plone-4x/eggs/zdaemon-2.0.7-py2.7.egg',
'/tmp/ugent-portaal-plone-4x/eggs/ZConfig-2.9.3-py2.7.egg',
'/tmp/ugent-portaal-plone-4x/eggs/zc.lockfile-1.0.2-py2.7.egg',
'/tmp/ugent-portaal-plone-4x/eggs/transaction-1.1.1-py2.7.egg',
]
import os; os.environ['PYTHONPATH'] = '/tmp/ugent-portaal-plone-4x/eggs/raven-6.4.0-py2.7.egg:/tmp/ugent-portaal-plone-4x/eggs/contextlib2-0.5.5-py2.7.egg:'
import plone.recipe.zeoserver.ctl
if __name__ == '__main__':
sys.exit(plone.recipe.zeoserver.ctl.main(
["-C", '/tmp/ugent-portaal-plone-4x/parts/zeoserver/etc/zeo.conf']
+ sys.argv[1:]))
instead of
#!/usr/bin/python2
import sys
sys.path[0:0] = [
'/tmp/ugent-portaal-plone-4x/eggs/raven-6.4.0-py2.7.egg',
'/tmp/ugent-portaal-plone-4x/eggs/ZODB3-3.10.5-py2.7-linux-x86_64.egg',
'/tmp/ugent-portaal-plone-4x/eggs/plone.recipe.zeoserver-1.2.9-py2.7.egg',
'/tmp/ugent-portaal-plone-4x/eggs/ZopeUndo-2.12.0-py2.7.egg',
'/tmp/ugent-portaal-plone-4x/eggs/zope.mkzeoinstance-3.9.5-py2.7.egg',
'/tmp/ugent-portaal-plone-4x/eggs/zc.recipe.egg-1.3.2-py2.7.egg',
'/tmp/ugent-portaal-plone-4x/eggs/setuptools-33.1.1-py2.7.egg',
'/tmp/ugent-portaal-plone-4x/eggs/zc.buildout-2.5.2-py2.7.egg',
'/tmp/ugent-portaal-plone-4x/eggs/zope.interface-3.6.7-py2.7-linux-x86_64.egg',
'/tmp/ugent-portaal-plone-4x/eggs/zope.event-3.5.2-py2.7.egg',
'/tmp/ugent-portaal-plone-4x/eggs/zdaemon-2.0.7-py2.7.egg',
'/tmp/ugent-portaal-plone-4x/eggs/ZConfig-2.9.3-py2.7.egg',
'/tmp/ugent-portaal-plone-4x/eggs/zc.lockfile-1.0.2-py2.7.egg',
'/tmp/ugent-portaal-plone-4x/eggs/transaction-1.1.1-py2.7.egg',
'/tmp/ugent-portaal-plone-4x/eggs/contextlib2-0.5.5-py2.7.egg',
]
import os; os.environ['PYTHONPATH'] = '/tmp/ugent-portaal-plone-4x/eggs/raven-6.4.0-py2.7.egg:/tmp/ugent-portaal-plone-4x/eggs/ZODB3-3.10.5-py2.7-linux-x86_64.egg:/tmp/ugent-portaal-plone-4x/eggs/plone.recipe.zeoserver-1.2.9-py2.7.egg:/tmp/ugent-portaal-plone-4x/eggs/ZopeUndo-2.12.0-py2.7.egg:/tmp/ugent-portaal-plone-4x/eggs/zope.mkzeoinstance-3.9.5-py2.7.egg:/tmp/ugent-portaal-plone-4x/eggs/zc.recipe.egg-1.3.2-py2.7.egg:/tmp/ugent-portaal-plone-4x/eggs/setuptools-33.1.1-py2.7.egg:/tmp/ugent-portaal-plone-4x/eggs/zc.buildout-2.5.2-py2.7.egg:/tmp/ugent-portaal-plone-4x/eggs/zope.interface-3.6.7-py2.7-linux-x86_64.egg:/tmp/ugent-portaal-plone-4x/eggs/zope.event-3.5.2-py2.7.egg:/tmp/ugent-portaal-plone-4x/eggs/zdaemon-2.0.7-py2.7.egg:/tmp/ugent-portaal-plone-4x/eggs/ZConfig-2.9.3-py2.7.egg:/tmp/ugent-portaal-plone-4x/eggs/zc.lockfile-1.0.2-py2.7.egg:/tmp/ugent-portaal-plone-4x/eggs/transaction-1.1.1-py2.7.egg:/tmp/ugent-portaal-plone-4x/eggs/contextlib2-0.5.5-py2.7.egg:'
import plone.recipe.zeoserver.ctl
if __name__ == '__main__':
sys.exit(plone.recipe.zeoserver.ctl.main(
["-C", '/tmp/ugent-portaal-plone-4x/parts/zeoserver/etc/zeo.conf']
+ sys.argv[1:]))
The lack of correct PYTHONPATH makes the zeoserver fail to start.