[Zope] SystemError: NULL object passed to Py_BuildValue

Dieter Maurer dieter at handshake.de
Fri Jun 4 13:44:38 EDT 2004


Olivier Laurent wrote at 2004-6-4 11:08 +0200:
>I have this weird error comming up at random intervals:
>  SystemError: NULL object passed to Py_BuildValue
> ...
>  File "/usr/local/lib/zope2.7/lib/python/ZODB/Connection.py", line 413, in commit
>    state=object.__getstate__()
>SystemError: NULL object passed to Py_BuildValue

Some class implemented in "C" has a bug in its "__getstate__".

Using a "try: ... except: ..." around line 413 above, you
can find out which class this is.

The culprit may not be "object.__class__" itself but could be
one of its base classes.

-- 
Dieter



More information about the Zope mailing list