[Zope] SystemError: NULL object passed to Py_BuildValue

Marcel Maré list at webtothemax.com
Mon Aug 9 06:22:46 EDT 2004


On 8-aug-04, at 22:47, Dieter Maurer wrote:

> 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
>

Thx Dieter. Any pointers as to how to do his? I don't have a clue where 
to begin.
As I pointed out, this occurs once in a while, out of the blue,  on a 
production server (no less).

TIA

Marcel Maré




More information about the Zope mailing list