[ZODB-Dev] Mindnumbing POSkeyError

Stoons - Headnet stoons at headnet.dk
Mon Apr 3 04:50:10 EDT 2006


We found a solution ourselves (rather: Anton found a way to delete the
image)....

We did like this:

 >>> billeder._delObject('image.2006-03-19.5540330656')
 >>> get_transaction().commit()

That eliminated the image

/Stoons @ Headnet ApS


----- Original Message -----
From: "Dieter Maurer" <dieter at handshake.de>
To: "Stoons - Headnet" <stoons at headnet.dk>
Cc: <zodb-dev at zope.org>
Sent: Saturday, April 01, 2006 10:48 AM
Subject: Re: [ZODB-Dev] Mindnumbing POSkeyError


>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']
>r 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..?




More information about the ZODB-Dev mailing list