[ZCM] [ZC] 2038/ 5 Comment "AttributeError: 'NoneType' object has
no attribute 'setLastTid'"
Collector: Zope Bugs, Features,
and Patches ...
zope-coders-admin at zope.org
Mon Apr 3 10:29:06 EDT 2006
Issue #2038 Update (Comment) "AttributeError: 'NoneType' object has no attribute 'setLastTid'"
Status Pending, Database/bug medium
To followup, visit:
http://www.zope.org/Collectors/Zope/2038
==============================================================
= Comment - Entry #5 by efge on Apr 3, 2006 10:29 am
These are different tracebacks, please post them in different Issues.
________________________________________
= Comment - Entry #4 by chrb on Mar 9, 2006 12:05 pm
Another traceback... probably related?
ERROR:ZEO.zNone(22387) CW: error in notifyConnected (('localhost', 12345)) None Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/ZEO/zrpc/client.py", line 506, in notify_client
self.client.notifyConnected(self.conn)
File "/usr/lib/python2.4/site-packages/ZEO/ClientStorage.py", line 521, in notifyConnected
sel82verify_cache(stub)
File "/usr/lib/python2.4/site-packages/ZEO/ClientStorage.py", line 589, in verify_cache
self.invalidateTransaction(*pair)
File "/usr/lib/python2.4/site-packages/ZEO/ClientStorage.py", line 1114, in invalidateTransaction
self._cache.setLastTid(tid)
File "/usr/lib/python2.4/site-packages/ZEO/cache.py", line 151, in setLastTid
self.fc.settid(tid)
File "/usr/lib/python2.4/site-packages/ZEO/cache.py", line 1060, in settid
raise ValueError("new last tid (%s) must be greater than "
ValueError: new last tid (244314487217783193) must be greater than previous one (244314487217783193)
________________________________________
= Comment - Entry #3 by chrb on Mar 6, 2006 11:37 am
Another similar traceback:
ERROR:ZEO.zrpc.Connection(C):(localhost:12345) Asynchronous call raised exception: <ManagedClientConnection ('127.0.0.1', 12345)>
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/ZEO/zrpc/connection.py", line 421, in handle_request
ret = meth(*args)
File "/usr/lib/python2.4/site-packages/ZEO/ClientStorage.py", line 1114, in invalidateTransaction
self._cache.setLastTid(tid)
File "/usr/lib/python2.4/site-packages/ZEO/cache.py", line 151, in setLastTid
self.fc.settid(tid) File /usr/lib/python2.4/site-packages/ZEO/cache.py", line 1065, in settid
self.f.seek(len(magic))
IOError: [Errno 9] Bad file descriptor
________________________________________
= Edit - Entry #2 by shh on Mar 6, 2006 10:37 am
Changes: submitter email, revised title
________________________________________
= Request - Entry #1 by chrb on Mar 5, 2006 3:29 pm
With zodb-3.6.0 I occasionally see the error:
ERROR:ZEO.zrpc.Connection(C):(localhost:12345)
Asynchronous call raised exception: <ManagedClientConnection
('127.0.0.1', 12345)>
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/ZEO/zrpc/connection.py", line
421, in handle_request
ret = meth(*args)
File
"/usr/lib/python2.4/site-packages/ZEO/ClientStorage.py", line 1114, in
invalidateTransaction
self._cache.setLastTid(tid)
AttributeError: 'NoneType' object has no
attribute 'setLastTid'
I'm just connecting to the zeo server and then starting the asyncore
loop thread. Maybe there is some race condition there?
==============================================================
More information about the Zope-Collector-Monitor
mailing list