when I try to pack my ZODB I get: Error Type: KeyError Error Value: Traceback (innermost last): File /home/zope/Zope2/lib/python/ZPublisher/Publish.py, line 214, in publish_module File /home/zope/Zope2/lib/python/ZPublisher/Publish.py, line 179, in publish File /home/zope/Zope2/lib/python/Zope/__init__.py, line 202, in zpublisher_exception_hook (Object: Fake) File /home/zope/Zope2/lib/python/ZPublisher/Publish.py, line 165, in publish File /home/zope/Zope2/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: manage_pack) File /home/zope/Zope2/lib/python/ZPublisher/Publish.py, line 102, in call_object (Object: manage_pack) File /home/zope/Zope2/lib/python/App/ApplicationManager.py, line 338, in manage_pack (Object: ElementWithAttributes) File /home/zope/Zope2/lib/python/ZODB/DB.py, line 522, in pack File /home/zope/Zope2/lib/python/ZODB/FileStorage.py, line 1123, in pack (Object: /home/zope/Zope2/var/Data.fs)KeyError: (see above) my ZODB doesnt pack, it remains 50.6M and after this error its still usable (thank god). now, is there any documentation on how to fix this? when I search for 'ZODB' I get a useless 341 items returned. 'ZODB troubleshooting' I get 355 items. :( can someone point me to resources or previous discussions? please help, george runyan grunyan@emerging.com
What version of Zope is this? A recent bug fix has been checked into the pack function and my line numbers don't corespond with yours. I need to know what version of Zope you are using so that I can get the right version of this file. George Runyan wrote:
my ZODB doesnt pack, it remains 50.6M and after this error its still usable (thank god).
Packing does not modify your existing database file until it completely succeeds. During the pack, packed data is written to a temporary file and your main file is just read from.
now, is there any documentation on how to fix this? when I search for 'ZODB' I get a useless 341 items returned. 'ZODB troubleshooting' I get 355 items.
FYI, you are searching for the union of two search terms, 'ZODB' and 'troubleshooting' which is why you got more for the second query than for the first. To explicitly get an intersection, say 'ZODB AND troubleshooting'. That bring you back a much smaller number (0). -Michel
participants (2)
-
George Runyan -
Michel Pelletier