[ZODB-Dev] Re: [Zope-Coders] Lots of zrpc errors in 2.7

Chris McDonough chrism@zope.com
09 Apr 2003 10:15:48 -0400


It appears as if 'oids' isn't a dictionary when it makes its way in to
Connection.py.  I suspect this may be a problem caused by Jeremy's
backport of atomic invalidations from Zope 3 yesterday, and that if you
revert the changes made by his checkins to ZODB that it will begin to
work again.  I'm unsure about how to really fix it, but I'm forwarding
this to ZODB-dev so it gets on the radar.


On Wed, 2003-04-09 at 00:31, Richard Jones wrote:
> I'm running the current 2.7 head using a ZEO server (localhost:8182) and two 
> ZEO clients (localhost:8180 and localhost:8181). All installed with the new 
> mk* scripts and a few Products added into the ZEO server Products dir (which 
> the clients also use).
> 
> I'm getting a _lot_ of these errors in both client event.log files:
> 
> 2003-04-09T14:25:59 ERROR(200) zrpc-conn:localhost:8182 Asynchronous call 
> raised exception: <ManagedConnection ('127.0.0.1', 8182)>
> Traceback (most recent call last):
>   File "/home/richard/Zope-2.7/lib/python/ZEO/zrpc/connection.py", line 252, 
> in handle_request
>     ret = meth(*args)
>   File "/home/richard/Zope-2.7/lib/python/ZEO/ClientStorage.py", line 946, in 
> invalidateTransaction
>     db.invalidate(oid, version=version)
>   File "/home/richard/Zope-2.7/lib/python/ZODB/DB.py", line 316, in invalidate
>     cc.invalidate(oids)
>   File "/home/richard/Zope-2.7/lib/python/ZODB/Connection.py", line 508, in 
> invalidate
>     self._invalidated.update(oids)
> AttributeError: keys
> 
> 
> Any ideas what's going on?
> 
> 
>     Richard
> 
> 
> _______________________________________________
> Zope-Coders mailing list
> Zope-Coders@zope.org
> http://mail.zope.org/mailman/listinfo/zope-coders