[Zope] CorruptedTransactionError

John Glossner glossner@hotmail.com
Wed, 27 Oct 1999 14:54:46 -0700


I get the sinking feeling I'm in deep yogurt. 

Before getting this error, I was running Squishdot 0.3.2 (but I've
made edits so it is not a pure Squishdot). I have been happily
using 0.3.0 for a few days. This afternoon (with no know changes
made - but I won't swear to it), I was all of a sudden unable to
access my Squishdot site. I got KeyError (which is appended below
since it still happened to be cached in my browser). I could still
access other parts of my site.

Then, after looking around for what could have caused this,
I decided to try to restart Zope. Now I can not restart Zope
and it says my Data.fs is corrupt. My question is: Is there
anyway to fix this? Obviously, I can rename Data.fs and 
Zope will restart. However, I want to rescue everything I
can out of Data.fs.

Thanks,
John


Zope startup errors:
--------------------
Traceback (innermost last):
  File "/usr/local2/packages/zope/Zope-2.0.1-src/z2.py", line 375, in ?
    exec "import "+MODULE in {}
  File "<string>", line 1, in ?
  File "/usr/local2/packages/zope/Zope-2.0.1-src/lib/python/Zope/__init__.py",line 109, in ?
    DB=ZODB.FileStorage.FileStorage(Globals.BobobaseName)
  File "/usr/local2/packages/zope/Zope-2.0.1-src/lib/python/ZODB/FileStorage.py", line 287, in __init__
    self._pos, self._oid, tid = read_index(
  File "/usr/local2/packages/zope/Zope-2.0.1-src/lib/python/ZODB/FileStorage.py", line 1212, in read_index
    name, pos)
  File "/usr/local2/packages/zope/Zope-2.0.1-src/lib/python/ZODB/FileStorage.py", line 214, in panic
    raise CorruptedTransactionError, message
ZODB.FileStorage.CorruptedTransactionError:
/usr/local2/packages/zope/Zope-2.0.1-src/var/Data.fs incorrect previous pointer at 7355907




Squishdot Error:
----------------
Error

            An error has been encountered. Please contact John Glossner 

            Error Type: KeyError
            Error Value: 



            Troubleshooting Suggestions

                 This resource may be trying to reference a nonexistent object or variable . 
                 The URL may be incorrect. 
                 The parameters passed to this resource may be incorrect. 
                 A resource that this resource relies on may be encountering an error. 

            For more detailed information about the error, please refer to the HTML source for this page. 

            If the error persists please contact the site maintainer. Thank you for your patience. 


Traceback (innermost last):
  File /usr/local2/packages/zope/Zope-2.0.1-src/lib/python/ZPublisher/Publish.py, line 214, in publish_module
  File /usr/local2/packages/zope/Zope-2.0.1-src/lib/python/ZPublisher/Publish.py, line 179, in publish
  File /usr/local2/packages/zope/Zope-2.0.1-src/lib/python/Zope/__init__.py, line 201, in zpublisher_exception_hook
    (Object: ElementWithAttributes)
  File /usr/local2/packages/zope/Zope-2.0.1-src/lib/python/ZPublisher/Publish.py, line 165, in publish
  File /usr/local2/packages/zope/Zope-2.0.1-src/lib/python/ZPublisher/mapply.py, line 160, in mapply
    (Object: index_html)
  File /usr/local2/packages/zope/Zope-2.0.1-src/lib/python/ZPublisher/Publish.py, line 102, in call_object
    (Object: index_html)
  File /usr/local2/packages/zope/Zope-2.0.1-src/lib/python/OFS/DTMLMethod.py, line 145, in __call__
    (Object: index_html)
  File /usr/local2/packages/zope/Zope-2.0.1-src/lib/python/DocumentTemplate/DT_String.py, line 502, in __call__
    (Object: index_html)
  File /usr/local2/packages/zope/Zope-2.0.1-src/lib/python/OFS/DTMLMethod.py, line 141, in __call__
    (Object: site_header)
  File /usr/local2/packages/zope/Zope-2.0.1-src/lib/python/DocumentTemplate/DT_String.py, line 502, in __call__
    (Object: site_header)
  File /usr/local2/packages/zope/Zope-2.0.1-src/lib/python/Products/Squishdot/Squishdot.py, line 801, in site_item_list
    (Object: ElementWithAttributes)
  File /usr/local2/packages/zope/Zope-2.0.1-src/lib/python/Products/Squishdot/Squishdot.py, line 781, in site_id_list
    (Object: ElementWithAttributes)
  File /usr/local2/packages/zope/Zope-2.0.1-src/lib/python/Products/Squishdot/Squishdot.py, line 735, in id_list
    (Object: ElementWithAttributes)
  File /usr/local2/packages/zope/Zope-2.0.1-src/lib/python/Products/Squishdot/Squishdot.py, line 724, in rev_id_list
    (Object: ElementWithAttributes)
  File /usr/local2/packages/zope/Zope-2.0.1-src/lib/python/Products/Squishdot/Squishdot.py, line 724, in <lambda>
  File /usr/local2/packages/zope/Zope-2.0.1-src/lib/python/ZODB/Connection.py, line 390, in setstate
  File /usr/local2/packages/zope/Zope-2.0.1-src/lib/python/ZODB/FileStorage.py, line 463, in load
    (Object: /usr/local2/packages/zope/Zope-2.0.1-src/var/Data.fs)
  File /usr/local2/packages/zope/Zope-2.0.1-src/lib/python/ZODB/FileStorage.py, line 439, in _load
    (Object: /usr/local2/packages/zope/Zope-2.0.1-src/var/Data.fs)
KeyError: (see above)