$ 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
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
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
> 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
_______________________________________________