[ZODB-Dev] Trouble with a simple ZEO example.

Kenneth Miller xkenneth at gmail.com
Wed Jan 9 17:34:45 EST 2008


All,

I hope this is the right mailing list for newbie help.

I'm trying to get a basic example of ZEO running for an example,  
here's what I've tried so far.

I've installed python2.5 and ZODB/Zeo with MacPorts (Mac OS X 10.5.1).

To start the zeo server with a temporary filesystem, i've issued this  
command:

python2.5 ZEO/runzeo.py -a localhost:8090 -f /tmp/test.fs

To connect to the zeo server i've entered the following commands and  
received the following error:

Python 2.5.1 (r251:54863, Oct  5 2007, 21:08:09)
[GCC 4.0.1 (Apple Inc. build 5465)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
 >>> from ZEO import ClientStorage
 >>> from ZODB import DB
 >>>
 >>> storage = ClientStorage.ClientStorage( ('localhost', 8090) )
 >>> db = DB( storage )
No handlers could be found for logger "ZEO.zrpc"
Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File "/Library/Python/2.5/site-packages/ZODB3-3.7.2-py2.5- 
macosx-10.5-i386.egg/ZODB/DB.py", line 246, in __init__
     storage.load(z64,'')
   File "/Library/Python/2.5/site-packages/ZODB3-3.7.2-py2.5- 
macosx-10.5-i386.egg/ZEO/ClientStorage.py", line 727, in load
     return self.loadEx(oid, version)[:2]
   File "/Library/Python/2.5/site-packages/ZODB3-3.7.2-py2.5- 
macosx-10.5-i386.egg/ZEO/ClientStorage.py", line 750, in loadEx
     data, tid, ver = self._server.loadEx(oid, version)
   File "/Library/Python/2.5/site-packages/ZODB3-3.7.2-py2.5- 
macosx-10.5-i386.egg/ZEO/ServerStub.py", line 196, in loadEx
     return self.rpc.call("loadEx", oid, version)
   File "/Library/Python/2.5/site-packages/ZODB3-3.7.2-py2.5- 
macosx-10.5-i386.egg/ZEO/zrpc/connection.py", line 645, in call
     r_flags, r_args = self.wait(msgid)
   File "/Library/Python/2.5/site-packages/ZODB3-3.7.2-py2.5- 
macosx-10.5-i386.egg/ZEO/zrpc/connection.py", line 735, in wait
     raise DisconnectedError()
ZEO.zrpc.error.DisconnectedError

I've expiremented with ZODB itself on a standalone FS, and gotten that  
to work successfully. I'd really like to use ZEO, so any help would be  
appreciated.

Regards,
Kenneth Miller






More information about the ZODB-Dev mailing list