[Zope-dev] ZODB Couldn't load state (Berkeley DB 2..7.7)

2001-03-16 Thread Ping Lau

I have been using Berkeley DB 2.7.7 as main Zope Storage for about 3 months
now.  I am running Zope 2.2.4.  Everything was fine yesterday.  This morning
I tried to access a ZClass (base class ZObjectManager), which contains about
2,000 objects, I got

ERROR(200) ZODB Couldn't load state for '\000\000\000\000\000\000\026\351'
Traceback (innermost last):
File /usr/local/zope/2-2/lib/python/ZODB/Connection.py, line 448, in
setstate cPickle.UnpicklingError: invalid load key, ''.

Other than this ZClass, I can access other objects just fine.  I tried Ty's
tranalyzer.  But it gave me "error: Not a .fs file (at least, not a kind I
know about)".

How can I recover the 2,000 objects?

Regards,
Ping


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] ZODB Couldn't load state (Berkeley DB 2..7.7)

2001-03-16 Thread Chris McDonough

Ping... eek.  Do you have a backup?  There are no recovery utilities for
BerkeleyStorage AFIAK.

- Original Message -
From: "Ping Lau" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, March 17, 2001 3:55 AM
Subject: [Zope-dev] ZODB Couldn't load state (Berkeley DB 2..7.7)


 I have been using Berkeley DB 2.7.7 as main Zope Storage for about 3
months
 now.  I am running Zope 2.2.4.  Everything was fine yesterday.  This
morning
 I tried to access a ZClass (base class ZObjectManager), which contains
about
 2,000 objects, I got

 ERROR(200) ZODB Couldn't load state for '\000\000\000\000\000\000\026\351'
 Traceback (innermost last):
 File /usr/local/zope/2-2/lib/python/ZODB/Connection.py, line 448, in
 setstate cPickle.UnpicklingError: invalid load key, ''.

 Other than this ZClass, I can access other objects just fine.  I tried
Ty's
 tranalyzer.  But it gave me "error: Not a .fs file (at least, not a kind I
 know about)".

 How can I recover the 2,000 objects?

 Regards,
 Ping


 ___
 Zope-Dev maillist  -  [EMAIL PROTECTED]
 http://lists.zope.org/mailman/listinfo/zope-dev
 **  No cross posts or HTML encoding!  **
 (Related lists -
  http://lists.zope.org/mailman/listinfo/zope-announce
  http://lists.zope.org/mailman/listinfo/zope )



___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )