Discussion:
[Zope3-Users] Unable to start ZEO server
George Wright
2011-05-26 09:49:16 UTC
Permalink
Attempting to start up ZEO server on Mac OSX 10.6.7
There are a couple of copies of the problem LoopCallback.py - in Zope-3.4.0c1 (Dependencies and build) but not in the ZEO folder
Appreciate any help.
George

$ python /usr/local/Zope-3.4.0c1/lib/python/ZEO/runzeo.py -a /tmp/zeosocket -f /tmp/test.fs
/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/zope/__init__.py:1: UserWarning: Module pkg_resources was already imported from /System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/pkg_resources.pyc, but /Library/Python/2.6/site-packages is being added to sys.path
__import__('pkg_resources').declare_namespace(__name__)
/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/zope/__init__.py:1: UserWarning: Module site was already imported from /System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site.pyc, but /Library/Python/2.6/site-packages is being added to sys.path
__import__('pkg_resources').declare_namespace(__name__)
------
2011-05-26T18:21:06 INFO ZEO.runzeo (739) opening storage '1' using FileStorage
------
2011-05-26T18:21:06 WARNING ZODB.FileStorage Ignoring index for /tmp/test.fs
------
2011-05-26T18:21:06 INFO ZEO.StorageServer StorageServer created RW with storages: 1:RW:/tmp/test.fs
------
2011-05-26T18:21:06 INFO ZEO.zrpc (739) listening on /tmp/zeosocket
------
2011-05-26T18:21:06 INFO ZEO.runzeo (739) closing storage '1'
Traceback (most recent call last):
File "/usr/local/Zope-3.4.0c1/lib/python/ZEO/runzeo.py", line 356, in <module>
main()
File "/usr/local/Zope-3.4.0c1/lib/python/ZEO/runzeo.py", line 353, in main
s.main()
File "/usr/local/Zope-3.4.0c1/lib/python/ZEO/runzeo.py", line 141, in main
self.loop_forever()
File "/usr/local/Zope-3.4.0c1/lib/python/ZEO/runzeo.py", line 244, in loop_forever
import ThreadedAsync.LoopCallback
ImportError: No module named ThreadedAsync.LoopCallback

George Wright
***@bigpond.net.au
http://www.labyrinth.net.au/~gwright
Michael Howitz
2011-06-14 16:22:12 UTC
Permalink
Post by George Wright
Attempting to start up ZEO server on Mac OSX 10.6.7
There are a couple of copies of the problem LoopCallback.py - in Zope-3.4.0c1 (Dependencies and build) but not in the ZEO folder
Appreciate any help.
George
$ python /usr/local/Zope-3.4.0c1/lib/python/ZEO/runzeo.py -a /tmp/zeosocket -f /tmp/test.fs
/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/zope/__init__.py:1: UserWarning: Module pkg_resources was already imported from
[...]
Post by George Wright
File "/usr/local/Zope-3.4.0c1/lib/python/ZEO/runzeo.py", line 244, in loop_forever
import ThreadedAsync.LoopCallback
ImportError: No module named ThreadedAsync.LoopCallback
Zope 3.4 requires Python 2.4 to run, Python 2.6 is too new.


Yours sincerely,
--
Michael Howitz · ***@gocept.com · software developer
gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1
Zope and Plone consulting and development
George Wright
2011-06-14 22:33:23 UTC
Permalink
Michael
Thanks for the reply
I tried again to start ZEO with python2.4 instead of 2.6 - now have a different problem:

georgewr$ python2.4 /usr/local/Zope-3.4.0c1/lib/python/ZEO/runzeo.py -a /tmp/zeosocket -f /tmp/test.fs
Traceback (most recent call last):
File "/usr/local/Zope-3.4.0c1/lib/python/ZEO/runzeo.py", line 43, in ?
import ZConfig, ZConfig.datatypes
ImportError: No module named ZConfig

I do have python 2.4 and the ZConfig.datatypes is present - although it is within Zope "Dependencies"

/Users/georgewr/Zope-3.4.0c1/Dependencies/ZConfig-Zope-3.4.0c1/ZConfig/datatypes.py

Should it be there? Is it findable there?
I know there is a more recent Zope available.

Regards
George
Post by Michael Howitz
Post by George Wright
Attempting to start up ZEO server on Mac OSX 10.6.7
There are a couple of copies of the problem LoopCallback.py - in Zope-3.4.0c1 (Dependencies and build) but not in the ZEO folder
Appreciate any help.
George
$ python /usr/local/Zope-3.4.0c1/lib/python/ZEO/runzeo.py -a /tmp/zeosocket -f /tmp/test.fs
/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/zope/__init__.py:1: UserWarning: Module pkg_resources was already imported from
[...]
Post by George Wright
File "/usr/local/Zope-3.4.0c1/lib/python/ZEO/runzeo.py", line 244, in loop_forever
import ThreadedAsync.LoopCallback
ImportError: No module named ThreadedAsync.LoopCallback
Zope 3.4 requires Python 2.4 to run, Python 2.6 is too new.
Yours sincerely,
--
gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1
Zope and Plone consulting and development
George Wright
***@bigpond.net.au
http://www.labyrinth.net.au/~gwright
Michael Howitz
2011-06-15 07:20:39 UTC
Permalink
Post by Michael Howitz
Michael
Thanks for the reply
georgewr$ python2.4 /usr/local/Zope-3.4.0c1/lib/python/ZEO/runzeo.py -a /tmp/zeosocket -f /tmp/test.fs
File "/usr/local/Zope-3.4.0c1/lib/python/ZEO/runzeo.py", line 43, in ?
import ZConfig, ZConfig.datatypes
ImportError: No module named ZConfig
I do have python 2.4 and the ZConfig.datatypes is present - although it is within Zope "Dependencies"
/Users/georgewr/Zope-3.4.0c1/Dependencies/ZConfig-Zope-3.4.0c1/ZConfig/datatypes.py
Should it be there?
Don't know.
Post by Michael Howitz
Is it findable there?
It seems that it is not. I think it is not the right way to start the ZEO server. There needs to be a wrapper script somewhere (maybe in `bin`) which sets the path correctly and knows the parameters like the path to the Data.fs.


Yours sincerely,
--
Michael Howitz · ***@gocept.com · software developer
gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1
Zope and Plone consulting and development
Loading...