I've been using zodb as the database on a homebrew cms since 2004 without
one single problem. :)
Now we're changing hardware so we're upgrading software too.
I'm running into problems.

The client starts like this.

from Persistence import PersistentMapping
def __init__(self):
  if not dbroot.has_key('pages'):
    dbroot['pages'] = PersistentMapping()

So I changed the Persistence to
from persistent.mapping import PersistentMapping

And now I get the error
'PersistentMapping' object has no attribute 'has_key'

>From what I understand the objects are Broken and I need to upgrade the

So I did
#easy_install zodbupdate

However I get this error.

Running zodbupdate-0.5/setup.py -q bdist_egg --dist-dir
  File "build/bdist.linux-x86_64/egg/zodbupdate/serialize.py", line 165
    symb = find_global(*symb_info, Broken=ZODBBroken)

I'm at a real loss here.
Any help please?

For more information about ZODB, see the ZODB Wiki:

ZODB-Dev mailing list  -  ZODB-Dev@zope.org

Reply via email to