[ZODB-Dev] ZODB Problem

Dieter Maurer dieter at handshake.de
Wed Jan 26 13:40:22 EST 2005


Alexey V Paramonov wrote at 2005-1-25 13:53 -0800:
> ...
>I just printed it:
>
>storage = FileStorage( 'Data.fs' )
>db = DB( storage )
>conn = db.open( )
>dbroot = conn.root()
>print dbroot
>
>I shows:
><img src="" alt="" title="" height="400" width="400" border="0" />
>%)

Somehow, you succeeded in overwriting the root
with an image. I do not know how you got at this.

You could recover as follows:

  Use "fsdump" to determine when the object with oid "0" was last modified.

  Truncate your storage file to the start of the respective transaction.

-- 
Dieter


More information about the ZODB-Dev mailing list