[ZODB-Dev] weird errors...

Kendall Clark kendall@monkeyfist.com
Fri, 22 Nov 2002 23:35:01 -0600


On Sat, Nov 23, 2002 at 12:43:50AM -0500, Chris McDonough wrote:
> 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..

Alas, that's not possible. Not only have I never downloaded ZODB4, but
my /usr/local/lib/python2.2/site-packages contains only what ZODB3 put
there, as I had to install 2.2.2 in order to make ZODB 3.1 work...

> >     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.

Cool, I figured there was a setuid in there someplace. This should at
least get me further in the test... if something else fails, I'll post
it here.

Kendall Clark