[Zope] Py_BuildValue Error

Dieter Maurer dieter at handshake.de
Wed Sep 8 16:11:39 EDT 2004


Travis Miller wrote at 2004-9-8 07:29 -0500:
> ...
>   File "/opt/Zope/SoftwareHome272/lib/python/ZODB/Connection.py", line 
>411, in commit
>     state=object.__getstate__()
>SystemError: NULL object passed to Py_BuildValue

Apparently, some C level extensions is buggy.

You must find out the class of "object" above.

The easiest way to do this is to catch the exception
and print or (better) log "str(object.__class__)" in the
"except" clause.
Do not forget to reraise the exception afterwards.

-- 
Dieter


More information about the Zope mailing list