[ZODB-Dev] ZODB Problem

Alexey V Paramonov lx at gnext.ru
Wed Jan 26 02:45:11 EST 2005


Hello zodb-dev,

I have Zope 2.7.3 running for a few months, once I tried to restart it
I have the followig error:

Traceback (most recent call last):
  File "/usr/lib/zope-2.7.3/lib/python/Zope/Startup/run.py", line 50, in ?
    run()
  File "/usr/lib/zope-2.7.3/lib/python/Zope/Startup/run.py", line 19, in run
    start_zope(opts.configroot)
  File "/usr/lib/zope-2.7.3/lib/python/Zope/Startup/__init__.py", line 51, in start_zope
    starter.startZope()
  File "/usr/lib/zope-2.7.3/lib/python/Zope/Startup/__init__.py", line 230, in startZope
    Zope.startup()
  File "/usr/lib/zope-2.7.3/lib/python/Zope/__init__.py", line 47, in startup
    _startup()
  File "/usr/lib/zope-2.7.3/lib/python/Zope/App/startup.py", line 91, in startup
    Globals.VersionNameName)
  File "/usr/lib/zope-2.7.3/lib/python/ZODB/ZApplication.py", line 32, in __init__
    if not root.has_key(name):
AttributeError: has_key


I tried to open Data.fs from python script to see what happened.
Exception happens when it tries to work with the root object, it does
not have 'items' property, then i tried to figure out what is the root
object, and it was image! How could this happen? Can I restore my
Data.fs or export some Zope folders from it if it's broken?

Please help, the whole site is broken now :(

-- 
Best regards,
 Alexey                          mailto:lx at gnext.ru



More information about the ZODB-Dev mailing list