[ZODB-Dev] Urgent - Error ZODB zope 2.3.3

Bruno Mattarollo bruno@web1.greenpeace.org
Mon, 18 Feb 2002 10:56:05 +0100 (CET)


Hi! It's me again!

Well, no luck so far. After running fsrecover for 8 hours and not finding
errors on the Data.fs file, I still get the state error! I placed the
Data.fs file on a Zope 2.5.0 installation and run the python console
script (import Zope and app = Zope.app() etc etc) and I get this error:

Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/home2/zope/cybercentre2/zope2.5.0/lib/python/ZODB/Connection.py",
line 471, in setstate
    state = unpickler.load()
  File "/home2/zope/cybercentre2/zope2.5.0/lib/python/ZODB/Connection.py",
line 132, in _persistent_load
    oid, klass = oid
ValueError: unpack tuple of wrong size

What should I do now? Does this means that there is NO way to go back?
What does this error mean? As I said before, I already run fsrecover and
discovered NO errors ! :(

Thanks for any other advise!!

/B

On Sun, 17 Feb 2002, Bruno Mattarollo wrote:

> Hello,
>
> I did run the fsrecover.py on the Data.fs with "-v 1" as the only option
> and it didn't found a single error on the Data.fs. The resulting file is
> exactly the same (size and md5sum) of the original!
>
> Any other ideas? :( I will try to start a Zope 2.5 instance with that
> Data.fs and see...
>
> Thanks!
>
> /B
>
> On Fri, 15 Feb 2002, Steve Alexander wrote:
>
> > Bruno Mattarollo wrote:
> > > Hello,
> > >
> > > We are using Zope 2.3.3 for a somewhat busy site and today the site was
> > > unaccesible. After hours of playing around trying to figure out what was
> > > going on, I started Zope with "-M" and in the console... I get this:
> > >
> > > 2002-02-15T15:53:24 ERROR(200) ZODB Couldn't load state for
> > > '\000\000\000\000\000\000\'\251'
> > >
> > > on the console... I also tryied some commands on a python shell (I took
> > > that from the archive of some mailing list).
> > >
> > > # python
> > >
> > >>>>import Zope
> > >>>>app = Zope.app()
> > >>>>jar = app._p_jar
> > >>>>jar['\000\000\000\000\000\000\'\251'].id
> > >>>>
> > > Traceback (innermost last):
> > >   File "<stdin>", line 1, in ?
> > >   File "/home2/zope/cybercentre2/zope2.3.3/lib/python/ZODB/Connection.py",
> > > line 533, in setstate
> > >     state = unpickler.load()
> > >   File "/home2/zope/cybercentre2/zope2.3.3/lib/python/ZODB/Connection.py",
> > > line 192, in _persistent_load
> > >     oid, klass = oid
> > > ValueError: unpack tuple of wrong size
> > >
> > >
> > > What should I look in? Is there a solution to this? I tryied to pack the
> > > database but I keep on getting the same error...
> >
> > Get Zope 2.5, and lib/python/ZODB/fsrecover.py on a copy of your Data.fs.
> >
> > --
> > Steve Alexander
> >
> >
> >
>
>

-- 

--- Bruno Mattarollo <bruno@web1.greenpeace.org> ---
    SysAdmin & TechLead - Greenpeace International
    http://www.greenpeace.org/
----------------------------------------------------