I am experiencing a problem with ZODB-3.6.0 / Python 2.5, under Linux.
Each time I initialize a database, i get a DisconnectedError exception in the client, with the following traceback:


File "/home/pferreir/workspace/indico/code/code/MaKaC/common/db.py", line 50, in __init__

File "/usr/local/lib/python2.5/site-packages/ZODB/DB.py", line 238, in __init__

File "/usr/local/lib/python2.5/site-packages/ZEO/ClientStorage.py", line 746, in load
   return self.loadEx(oid, version)[:2]

File "/usr/local/lib/python2.5/site-packages/ZEO/ClientStorage.py", line 769, in loadEx
   data, tid, ver = self._server.loadEx(oid, version)

File "/usr/local/lib/python2.5/site-packages/ZEO/ServerStub.py", line 192, in loadEx
   return self.rpc.call("loadEx", oid, version)

File "/usr/local/lib/python2.5/site-packages/ZEO/zrpc/connection.py", line 531, in call
   r_flags, r_args = self.wait(msgid)

File "/usr/local/lib/python2.5/site-packages/ZEO/zrpc/connection.py", line 621, in wait
   raise DisconnectedError()



In the server side, I get:


2007-05-04T16:20:36 (11926) new connection ('', 38126): <ManagedServerConnection ('', 38126)>
2007-05-04T16:20:36 ( received handshake 'Z303'
2007-05-04T16:20:36 ( loadEx() raised exception: 0x00
Traceback (most recent call last):
File "/usr/local/lib/python2.5/site-packages/ZEO/zrpc/connection.py", line 421, in handle_request
   ret = meth(*args)
File "/usr/local/lib/python2.5/site-packages/ZEO/StorageServer.py", line 248, in loadEx
   return self.storage.loadEx(oid, version)
File "/usr/local/lib/python2.5/site-packages/ZODB/FileStorage/FileStorage.py", line 523, in loadEx
   pos = self._lookup_pos(oid)
File "/usr/local/lib/python2.5/site-packages/ZODB/FileStorage/FileStorage.py", line 514, in _lookup_pos
   raise POSKeyError(oid)
POSKeyError: 0x00
2007-05-04T16:20:36 (11926/ disconnected
2007-05-04T16:20:36 (11926) new connection ('', 38127): <ManagedServerConnection ('', 38127)>
2007-05-04T16:20:36 ( received handshake 'Z303'


What confuses me is that I though that a root object for the database would be created by the client, and a DisconnectedError is raised before that happens. What can be happening?

Thanks in advance,

For more information about ZODB, see the ZODB Wiki:

ZODB-Dev mailing list  -  ZODB-Dev@zope.org

Reply via email to