[Zope3-Users] Unable to start ZEO server

31 views
Skip to first unread message

George Wright

unread,
May 26, 2011, 5:49:16 AM5/26/11
to zope3...@zope.org
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
geor...@bigpond.net.au
http://www.labyrinth.net.au/~gwright

_______________________________________________
Zope3-users mailing list
Zope3...@zope.org
https://mail.zope.org/mailman/listinfo/zope3-users

Michael Howitz

unread,
Jun 14, 2011, 12:22:12 PM6/14/11
to George Wright, zope3...@zope.org
Am 26.05.2011 um 11:49 schrieb 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
[...]

> 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 · m...@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

unread,
Jun 14, 2011, 6:33:23 PM6/14/11
to Michael Howitz, zope3...@zope.org
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

On 15/06/2011, at 2:22 AM, Michael Howitz wrote:

> Am 26.05.2011 um 11:49 schrieb 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
> [...]
>> 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 · m...@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
geor...@bigpond.net.au
http://www.labyrinth.net.au/~gwright

_______________________________________________

Michael Howitz

unread,
Jun 15, 2011, 3:20:39 AM6/15/11
to George Wright, zope3...@zope.org

Am 15.06.2011 um 00:33 schrieb George Wright:

> 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?

Don't know.

> 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 · m...@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

_______________________________________________

Reply all
Reply to author
Forward
0 new messages