[ZODB-Dev] new FileStorage pack and POSKeyError

Jeremy Hylton jeremy at zope.com
Fri May 2 16:01:39 EDT 2003


On Thu, 2003-05-01 at 14:21, Paul Winkler wrote:
> On Thu, May 01, 2003 at 05:33:51PM -0400, Jeremy Hylton wrote:
> > Perhaps you compiled this extension with a different version of Python
> > than you ran it?
> 
> whoopsie. Apparently "make clean" doesn't clean out all compiled c
> extensions. I looked through the output when i compiled with python 2.1
> for zope 2.6.1 and sure enough the ZODB stuff didn't get rebuilt.

Sounds like a bug in the Zope Makefile.

> But now that that's taken care of: your code is not
> compatible with python < 2.2.  I can grep for True easily
> enough, but i don't fancy backporting "classmethod" :-P

All fixed.  I just ran the full test suite with 2.1.

> and none of this explains why a fresh checkout compiled with 2.2.2
> should segfault. Am i the only one getting that?

You may not be the only one.  Tres has also reported a crash, but only
when running a fairly substantial program.  I'm not seeing a crash when
I run the tests.

Can you mail me a stack trace from gdb?

Jeremy





More information about the ZODB-Dev mailing list