[Zope-dev] fsrecover error

Scott Burton mrzope@hotmail.com
Mon, 29 Oct 2001 20:52:39 +0000


Thanks, that worked. I got the message: Nothing to recover...

So, I used Tranalyzer and followed the instructions from here: 
http://www.zope.org/Members/itamar/CorruptedZODB

Now I get an entirely different error:

2001-10-29T20:49:25 ERROR(200) ZODB Couldn't load state for 
'\000\000\000\000\000\000\000\002'
Traceback (innermost last):
  File /home/zopesite/Zope-2.3.0-src/lib/python/ZODB/Connection.py, line 
508, in setstate
  File /home/zopesite/Zope-2.3.0-src/lib/python/ZODB/FileStorage.py, line 
593, in load
    (Object: /home/zopesite/Zope-2.3.0-src/var/Data.fs)
  File /home/zopesite/Zope-2.3.0-src/lib/python/ZODB/FileStorage.py, line 
569, in _load
    (Object: /home/zopesite/Zope-2.3.0-src/var/Data.fs)
KeyError:


------
2001-10-29T20:49:25 PANIC(300) z2 Startup exception
------
2001-10-29T20:49:25 ERROR(200) ZODB Couldn't load state for 
'\000\000\000\000\000\000\000\002'
Traceback (innermost last):
  File /home/zopesite/Zope-2.3.0-src/lib/python/ZODB/Connection.py, line 
508, in setstate
  File /home/zopesite/Zope-2.3.0-src/lib/python/ZODB/FileStorage.py, line 
593, in load
    (Object: /home/zopesite/Zope-2.3.0-src/var/Data.fs)
  File /home/zopesite/Zope-2.3.0-src/lib/python/ZODB/FileStorage.py, line 
569, in _load
    (Object: /home/zopesite/Zope-2.3.0-src/var/Data.fs)
KeyError:


Traceback (innermost last):
  File /home/zopesite/Zope-2.3.0-src/z2.py, line 566, in ?
  File <string>, line 1, in ?
  File /home/zopesite/Zope-2.3.0-src/lib/python/Zope/__init__.py, line 144, 
in ?
  File /home/zopesite/Zope-2.3.0-src/lib/python/OFS/Application.py, line 
384, in initialize
  File /home/zopesite/Zope-2.3.0-src/lib/python/ZODB/Connection.py, line 
508, in setstate
  File /home/zopesite/Zope-2.3.0-src/lib/python/ZODB/FileStorage.py, line 
593, in load
    (Object: /home/zopesite/Zope-2.3.0-src/var/Data.fs)
  File /home/zopesite/Zope-2.3.0-src/lib/python/ZODB/FileStorage.py, line 
569, in _load
    (Object: /home/zopesite/Zope-2.3.0-src/var/Data.fs)
KeyError:

>From: Jens Vagelpohl <jens@zope.com>
>To: "Scott Burton" <mrzope@hotmail.com>
>CC: zope-dev@zope.org
>Subject: Re: [Zope-dev] fsrecover error
>Date: Mon, 29 Oct 2001 15:36:18 -0500
>
>from where are you running it? i believe you must change into
><zope>/lib/python and run it from that location so that all the imports
>can be found.
>
>jens
>
>
>On Monday, October 29, 2001, at 03:20 , Scott Burton wrote:
>
>>I have a corrupted Data.fs and I am attempting to use fsrecover.py to fix
>>it. Here is the error I am getting on the startup:
>>2001-10-29T18:57:18 PANIC(300) ZODB FS FS21 ERROR: /home/zopesite/Zope-2.
>>3.0-src/var/Data.fs data record exceeds transaction record at 246204937L
>>
>>------
>>2001-10-29T18:57:18 PANIC(300) z2 Startup exception
>>Traceback (innermost last):
>>  File /home/zopesite/Zope-2.3.0-src/z2.py, line 566, in ?
>>  File <string>, line 1, in ?
>>  File /home/zopesite/Zope-2.3.0-src/lib/python/Zope/__init__.py, line 
>>110,
>>  in ?
>>  File /home/zopesite/Zope-2.3.0-src/lib/python/ZODB/FileStorage.py, line
>>308, in __init__
>>    (Object: /home/zopesite/Zope-2.3.0-src/var/Data.fs)
>>  File /home/zopesite/Zope-2.3.0-src/lib/python/ZODB/FileStorage.py, line
>>1669, in read_index
>>  File /home/zopesite/Zope-2.3.0-src/lib/python/ZODB/FileStorage.py, line
>>219, in panic
>>CorruptedTransactionError: /home/zopesite/Zope-2.3.0-src/var/Data.fs data
>>record exceeds transaction record at 246204937L
>>
>>Here is the error I get when running fsrecover:
>>Traceback (innermost last):
>>  File "lib/python/ZODB/fsrecover.py", line 92, in ?
>>    import FileStorage
>>  File "/home/zopesite/Zope-2.3.0-src/lib/python/ZODB/FileStorage.py",
>>line 193, in ?
>>    from TimeStamp import TimeStamp
>>ImportError: No module named ExtensionClass
>>
>>I have searched the lists and have not found a solution. Any ideas?
>>
>
>
>_______________________________________________
>Zope-Dev maillist  -  Zope-Dev@zope.org
>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 )


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp