[Zope-Coders] Lots of zrpc errors in 2.7
Guido van Rossum
guido@python.org
Wed, 09 Apr 2003 10:14:56 -0400
> 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?
Looks like the oids object is not a dict(-ish) object. I can't figure
out what's going on exactly, the variable name in the call (oid)
suggests that it's not what the callee thinks it is (oids).
It smells like a ZEO bug. I'll talk to Jeremy about this.
--Guido van Rossum (home page: http://www.python.org/~guido/)