[ZODB-Dev] Yet More POSKeyErrors

Chris Withers chrisw@nipltd.com
Thu, 12 Dec 2002 11:45:33 +0000


With ZEO 1.0 final and Zope CVS from the 2.6 branch, taken on 19/09/02, I'm 
suddenly getting loads of these again:

Traceback (innermost last):
   Module Products.ZCatalog.ZCatalog, line 500, in catalog_object
   Module Products.ZCatalog.Catalog, line 313, in catalogObject
   Module ZODB.Connection, line 509, in setstate
   Module ZEO.ClientStorage, line 294, in load
   Module ZEO.zrpc, line 168, in __call__
POSKeyError: 0000000000073990

I know that isn't the latest ZEO, but it looks like this error is coming from 
the storage on the server anyway, so...

What's going on? I tried to use some debugging Jeremy suggested in the SF tracker:

Python 2.1.3 (#35, Apr  8 2002, 17:47:50) [MSC 32 bit (Intel)] on win32
Type "copyright", "credits" or "license" for more information.
 >>> from ZODB.utils import p64
 >>> oid = p64(73990)
 >>> from ZEO.ClientStorage import ClientStorage
 >>> cs = ClientStorage(...)
 >>> cs.load(oid,'')
Traceback (most recent call last):
   File "<stdin>", line 1, in ?
   File "zope\2.6.0_cvs_19.9.02\lib\python\ZEO\ClientStorage.py", line 292, in
  load
   File "zope\2.6.0_cvs_19.9.02\lib\python\ZEO\ClientCache.py", line 188, in l
oad
AttributeError: ClientCache instance has no attribute '_get'

...which is weird :-S

We've experienced this before:
https://sourceforge.net/tracker/?func=detail&atid=115628&aid=597158&group_id=15628

I had the impression this was down to BTrees bugs that had been fixed for 2.6.0, 
but now that I'm using 2.6.0 and still getting these, I'm rather concerned.
I'm hoping that the old workaround of restarting the storage and client servers 
will still work...

cheers,

Chris