[Zope-dev] fsrecover error

Jens Vagelpohl jens@zope.com
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?
>