ZEO / zdaemon.Daemon broken on Zope-2.7.1-0
I am trying to use ZEO on Zope-2.7.1-0. I added /usr/local/Zope/lib/python to my PYTHONPATH and then tried to start ZEO with peds-pc311:/usr/local/Zope> sudo python lib/python/ZEO/start.py -p 7700 Traceback (most recent call last): File "lib/python/ZEO/start.py", line 362, in ? main(sys.argv) File "lib/python/ZEO/start.py", line 223, in main import zdaemon.Daemon ImportError: No module named Daemon peds-pc311:/usr/local/Zope> Looking in the zdaemon dir, indeed there is no Daemon class. There is a zdaemon.zdrun.Daemonizer.run method, but this has a different signature than zdaemon.Daemon.run(sys.argv, env.zeo_pid) which is what the ZEO start script is doing. Suggestions? Thanks, JDH
On Sep 16, 2004, at 17:26, John Hunter wrote:
I am trying to use ZEO on Zope-2.7.1-0. I added /usr/local/Zope/lib/python to my PYTHONPATH and then tried to start ZEO with
peds-pc311:/usr/local/Zope> sudo python lib/python/ZEO/start.py -p 7700 Traceback (most recent call last): File "lib/python/ZEO/start.py", line 362, in ? main(sys.argv) File "lib/python/ZEO/start.py", line 223, in main import zdaemon.Daemon ImportError: No module named Daemon peds-pc311:/usr/local/Zope>
<This is advice for the source distro, I have no idea what Zope-2.7.1-0 is> Use the mkzeoinstance script to create a ZEO server instance complete with start scripts. There is nothing broken here, unless whatever package you use is broken. jens
participants (2)
-
Jens Vagelpohl -
John Hunter