[ZODB-Dev] weird errors...

Chris McDonough chrism@zope.com
23 Nov 2002 00:43:50 -0500


On Fri, 2002-11-22 at 18:22, Kendall Clark wrote:
> AttributeError: type object 'PersistentMapping' has no attribute '__basicnew__'

Could it be possible that you installed ZODB4 at some earlier point and
that somehow its Persistence.Persistent class is getting picked up from
there (instead of ZODB3's)?  This may explain it..

>     IOError: [Errno 13] Permission denied: '/home/k/ZODB3-3.1/build/Data.fs.lock

This is due to the fact that the ZEO tests invoke zdaemon which does a
setuid to nobody (which it probably shouldnt in this case).  To work
around it, instead of running as root, unpack build and run as a normal
user.

- C