[ZODB-Dev] Assertion failed: key != Py_None, file ZODB/cPickleCache.c, line 445

Dieter Maurer dieter at handshake.de
Fri May 16 22:55:29 EDT 2003


Tim Hoffman wrote at 2003-5-16 23:41 +0800:
 > In the last few days I have starting getting this error a lot
 > (which causes Zope (well python actually) to dump core)
 > 
 > Assertion failed: key != Py_None, file ZODB/cPickleCache.c, line 445

A bug in "cPickleCache.c".
"key" is used uninitialized in the test.

I reported it some time ago in the Zope Collector.

The fix is trivial. However, you must rebuild "cPicklecache.so"
(which requires a C compilation system).


Dieter



More information about the ZODB-Dev mailing list