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" <[EMAIL PROTECTED]>
To: "Stoons - Headnet" <[EMAIL PROTECTED]>
Cc: <zodb-dev@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..?


_______________________________________________
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev

Reply via email to