help me: ZODB Couldn't load state
dot.kde.org suddenly broke and I have no idea why or how to fix it. Please help me. Desperate. Please CC if possible. 2002-03-27T06:29:29 ERROR(200) ZODB Couldn't load state for '\000\000\000\000\000\001\002\275' Traceback (innermost last): File /var/zope/lib/python/ZODB/Connection.py, line 533, in setstate UnpicklingError: invalid load key, ''. Any clues?? <strong>Error Type: UnpicklingError</strong><br> <strong>Error Value: invalid load key, '</strong><br> Traceback (innermost last): File /var/zope/lib/python/ZPublisher/Publish.py, line 223, in publish_module File /var/zope/lib/python/ZPublisher/Publish.py, line 187, in publish File /var/zope/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: Traversable) File /var/zope/lib/python/ZPublisher/Publish.py, line 171, in publish File /var/zope/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: index_html) File /var/zope/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: index_html) File /var/zope/lib/python/OFS/DTMLMethod.py, line 189, in __call__ (Object: index_html) File /var/zope/lib/python/DocumentTemplate/DT_String.py, line 540, in __call__ (Object: index_html) File /var/zope/lib/python/Products/Squishdot/SquishSite.py, line 591, in item_list (Object: Traversable) File /var/zope/lib/python/Products/Squishdot/SquishSite.py, line 602, in id_list (Object: Traversable) File /var/zope/lib/python/Products/Squishdot/SquishSite.py, line 583, in rev_id_list (Object: Traversable) File /var/zope/lib/python/Products/Squishdot/SquishSite.py, line 583, in <lambda> File /var/zope/lib/python/ZODB/Connection.py, line 533, in setstate UnpicklingError: (see above)
Navindra, The howto by Itamar at http://www.zope.org/Members/itamar/CorruptedZODB describes a "brute force" method of recovering from this type of problem... HTH, - C ----- Original Message ----- From: "Navindra Umanee" <navindra@cs.mcgill.ca> To: <zope@zope.org> Sent: Wednesday, March 27, 2002 1:39 AM Subject: [Zope] help me: ZODB Couldn't load state
dot.kde.org suddenly broke and I have no idea why or how to fix it. Please help me. Desperate. Please CC if possible.
2002-03-27T06:29:29 ERROR(200) ZODB Couldn't load state for
'\000\000\000\000\000\001\002\275'
Traceback (innermost last): File /var/zope/lib/python/ZODB/Connection.py, line 533, in setstate UnpicklingError: invalid load key, ''.
Any clues??
<strong>Error Type: UnpicklingError</strong><br> <strong>Error Value: invalid load key, '</strong><br>
Traceback (innermost last): File /var/zope/lib/python/ZPublisher/Publish.py, line 223, in publish_module File /var/zope/lib/python/ZPublisher/Publish.py, line 187, in publish File /var/zope/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: Traversable) File /var/zope/lib/python/ZPublisher/Publish.py, line 171, in publish File /var/zope/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: index_html) File /var/zope/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: index_html) File /var/zope/lib/python/OFS/DTMLMethod.py, line 189, in __call__ (Object: index_html) File /var/zope/lib/python/DocumentTemplate/DT_String.py, line 540, in __call__ (Object: index_html) File /var/zope/lib/python/Products/Squishdot/SquishSite.py, line 591, in item_list (Object: Traversable) File /var/zope/lib/python/Products/Squishdot/SquishSite.py, line 602, in id_list (Object: Traversable) File /var/zope/lib/python/Products/Squishdot/SquishSite.py, line 583, in rev_id_list (Object: Traversable) File /var/zope/lib/python/Products/Squishdot/SquishSite.py, line 583, in <lambda> File /var/zope/lib/python/ZODB/Connection.py, line 533, in setstate UnpicklingError: (see above)
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Navindra Umanee writes:
dot.kde.org suddenly broke and I have no idea why or how to fix it. Please help me. Desperate. Please CC if possible.
2002-03-27T06:29:29 ERROR(200) ZODB Couldn't load state for '\000\000\000\000\000\001\002\275' Traceback (innermost last): File /var/zope/lib/python/ZODB/Connection.py, line 533, in setstate UnpicklingError: invalid load key, ''.
I have seen this in several occasions: * Zope 2.4.x (x <= 3) with Python 2.1.1 This configuration can cause memory corruption with all sorts of weird behaviours. Restarting Zope caused the problem to disappear temporarily. * Persistency bugs caused by improper sharing or caching (in Zope applications). Restarting Zope caused the problem to disappear temporarily. * Zope with older ZEO servers sometimes told this. Has been auto repairing. No special action necessary. Dieter
Dieter Maurer <dieter@handshake.de> wrote:
* Zope 2.4.x (x <= 3) with Python 2.1.1
This configuration can cause memory corruption with all sorts of weird behaviours.
Restarting Zope caused the problem to disappear temporarily.
Thanks to everyone for all the replies and help offered. I am still not sure what happened. My Zope is the latest from the Python1 line, and I think the problem started and persisted after the server was restarted. We recovered but only by tagging on new transactions to a backup we were lucky to have. I'd be anxious to avoid this kind of corruption in the future of course. Zope seems to do the right thing by writing only to the end of the file, so I'm not sure if this wasn't an OS level issue. Cheers, Navin.
participants (3)
-
Chris McDonough -
Dieter Maurer -
Navindra Umanee