[ZODB-Dev] Mindnumbing POSkeyError

Stoons - Headnet stoons at headnet.dk
Wed Mar 29 06:06:35 EST 2006


Hi there.

We are struggling with a PosKeyError [pkerr form now on] on a site we built.

It is not the first pkerr but we have found ways to get rid of the earlier
pkerrs ( zopelab : http://www.zopelabs.com/cookbook/1095965033 / zopezone:
http://www.zopezone.com/discussions/general/00000168 )

This one is a special pkerr: It seems to be impossible to get rid of.

It seems that we are not able to delete the object with the oid:

=======================================
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/var/www/zope/2.7.8/lib/python/ZODB/Connection.py", line 597, in
setstate
    p, serial = self._storage.load(oid, self._version)
  File "/var/www/zope/2.7.8/lib/python/ZEO/ClientStorage.py", line 757, in
load
    p, s, v, pv, sv = self._server.zeoLoad(oid)
  File "/var/www/zope/2.7.8/lib/python/ZEO/ServerStub.py", line 82, in
zeoLoad
    return self.rpc.call('zeoLoad', oid)
  File "/var/www/zope/2.7.8/lib/python/ZEO/zrpc/connection.py", line 489, in
call
    raise inst # error raised by server
ZODB.POSException.POSKeyError: 0x06f21b

=======================================

Of cause I have tried to del / manage_delObjects it, but both times
ZODB.POSException.POSKeyError: 0x06f21b was returned in both cases

I ran the following:
===========
o = app['kristendom']['medier']['billeder']['image.2006-03-19.5540330656']
for m in dir(o):
    try:
        print getattr(o,m)
    except:
        pass

===========
and it returned:
===========
<bound method Acquirer.(?) of <Image at 0x42754dd0>>
<CMethod object at 0x40decd00>

===========

It seems that it is an "empty transition"

Can somebody please help..?
We think that maybe we have to delete the transition "directly" in the
Data.fs .... BUt how do we do this...?

/Stoons



Headnet ApS
Fruebjergvej 3 - box 50
Symbion Science Park
2100 København Ø

Telefon: +45 39179750
Fax: +45 39179751

http://www.headnet.dk
stoons at headnet.dk
=======================

Headnet - devoted to Plone
http://www.plone.org
Vinder af "Bedst til Nettet" 2005 - 2006
http://bedstpaanettet.dk



More information about the ZODB-Dev mailing list