[Zope] SystemError: NULL object passed to Py_BuildValue

Dieter Maurer dieter at handshake.de
Sun Aug 8 16:47:42 EDT 2004


Marcel Maré wrote at 2004-8-7 21:43 +0200:
> ...
>   File  
>"/usr/local/apache4/python/ZopeA/Zope-2.7.0bin/lib/python/ZODB/ 
>Connection.py", line 413, in commit
>     state=object.__getstate__()
>SystemError: NULL object passed to Py_BuildValue

This is (almost surely) caused by an extension object
with a broken "__getstate__".

You must find out the class of this object.(e.g.
by catching the exception, printing the class and then
reraising).

-- 
Dieter


More information about the Zope mailing list