RE: [ZODB-Dev] Weird errors with Zope 2.7.7

2005-10-20 Thread Tim Peters
[Chris Withers] First question, would you mind if I added oid_unrepr to ZODB.utils? I [Dieter Maurer] Why do you not like p64 (which is already there)? [Chris] If that's the case, then great :-) I was just asking 'cos I couldn't find he functionality anywhere, You found ZODB.utils, which

Re: [ZODB-Dev] Weird errors with Zope 2.7.7

2005-10-19 Thread Chris Withers
Hi Tim, Tim Peters wrote: As before, this Shouldn't load state ... error is almost certainly due to a logic error in some product you're using, or in Zope. Take this message as meaning exactly what it says: something is trying to work with a persistent object after the Connection it came from

Re: [ZODB-Dev] Weird errors with Zope 2.7.7

2005-10-19 Thread Dieter Maurer
Chris Withers wrote at 2005-10-19 13:53 +0100: ... from binascii import unhexlify def oid_unrepr(oidr): if oidr.startswith('0x'): oidr = oidr[2:] h = unhexlify(oidr) return '\x00'*(8-len(h))+h def oidr2obj(app,oidr): return app._p_jar[oid_unrepr(oidr)] First

Re: [ZODB-Dev] Weird errors with Zope 2.7.7

2005-10-18 Thread Chris Withers
Hi Tim, Thanks for the feedback, [Chris] AttributeError: ClientCache instance has no attribute '_get' Both at random times while the servers are running... Tim Peters wrote: Then-- sorry --I don't have a clue. Like I said, I don't see any code capable of removing a ClientCache's `_get`

RE: [ZODB-Dev] Weird errors with Zope 2.7.7

2005-10-17 Thread Tim Peters
[Chris Withers] We've been seeing these errors for a while now, but had assumed it was due to an old Zope version. We've been running 2.7.7 for a week or two now and we're still seeing these intermittently: ... AttributeError: ClientCache instance has no attribute '_get' [Tim Peters] At