[Zope] SystemError: NULL object passed to Py_BuildValue

Marcel Maré list at webtothemax.com
Sat Aug 7 15:43:12 EDT 2004


FWIW I have the same error propping up from time to time. It  
effectively kills all Plone sites on the same Zope 2.7 server (running  
on Suse Linux), so my guess it's Zope related. Restarting Zope makes it  
go away. No, not very satisfactory but it works.

Below is a section of the event.log around the point of breaking. Now  
that I'm looking through the log I notice more ZODB conflict errors  
(but w/o the Py_BuildValue error), but I'm not sure what they mean.

M.J. Maré
WebToTheMax


------
2004-07-30T08:06:58 INFO(0) ZODB conflict error at  
/VirtualHostBase/http/foldycar.nl:80/foldycar/VirtualHostRoot/intro/ 
images/fc_halfgevouwen_sml.gif (305 conflicts since startup at  
2004-07-06T21:28:01)
------
2004-07-30T08:06:59 PROBLEM(100) I18NLayer The thread number 32771  
don't has a request object associated.
------
2004-07-30T08:07:14 INFO(0) ZODB conflict error at  
/VirtualHostBase/http/foldycar.nl:80/foldycar/VirtualHostRoot/ 
toepassingen (306 conflicts since startup at 2004-07-06T21:28:01)
------
2004-07-30T08:07:15 PROBLEM(100) I18NLayer The thread number 32771  
don't has a request object associated.
------
2004-07-30T08:10:25 ERROR(200) SiteError http://fenac.nl/login_form
Traceback (most recent call last):
   File  
"/usr/local/apache4/python/ZopeA/Zope-2.7.0bin/lib/python/ZPublisher/ 
Publish.py", line 104, in publish
     if transactions_manager: transactions_manager.commit()
   File  
"/usr/local/apache4/python/ZopeA/Zope-2.7.0bin/lib/python/Zope/App/ 
startup.py", line 221, in commit
     get_transaction().commit()
   File  
"/usr/local/apache4/python/ZopeA/Zope-2.7.0bin/lib/python/ZODB/ 
Transaction.py", line 233, in commit
     ncommitted += self._commit_objects(objects)
   File  
"/usr/local/apache4/python/ZopeA/Zope-2.7.0bin/lib/python/ZODB/ 
Transaction.py", line 348, in _commit_objects
     jar.commit(o, self)
   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

On 4-jun-04, at 11:08, Olivier Laurent wrote:

> I have this weird error comming up at random intervals:
>   SystemError: NULL object passed to Py_BuildValue
>
> It occurs in a Plone site but I don't think it's related to Plone.
>
> I have no access to some error log or to the Control Panel since it's
> showing me the Plone login form whenever I want to access to restricted
> information. Thanks to the event.log, here is the traceback:
>
> - - - - - - - -
>
> 2004-06-03T17:33:19 ERROR(200) SiteError  
> http://www.my_site.net/login_form
> Traceback (most recent call last):
>   File "/usr/local/lib/zope2.7/lib/python/ZPublisher/Publish.py", line  
> 104, in publish
>     if transactions_manager: transactions_manager.commit()
>   File "/usr/local/lib/zope2.7/lib/python/Zope/App/startup.py", line  
> 221, in commit
>     get_transaction().commit()
>   File "/usr/local/lib/zope2.7/lib/python/ZODB/Transaction.py", line  
> 233, in commit
>     ncommitted += self._commit_objects(objects)
>   File "/usr/local/lib/zope2.7/lib/python/ZODB/Transaction.py", line  
> 348, in _commit_objects
>     jar.commit(o, self)
>   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
>
> - - - - - - - -
>
> Python version:  2.3.3 (#1, May 18 2004, 08:35:20)
>                        [GCC 3.2.2 20030222 (Red Hat Linux 3.2.2-5)]
> Zope version: 2.7
> Plone version: 2.0-rc6
>
> Any clue on what's going on. Is it a Python bug ?
>
> -- 
> Olivier Laurent.
> P3B    : Club Python(-Zope) Belge ---------- http://www.p3b.org
> OS3B   : Club Open-Software(-Linux) Carolo   http://www.os3b.org
> Aragne : Python-Zope Solutions & Formations  http://www.aragne.com
>
> _______________________________________________
> Zope maillist  -  Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )


M.J. Maré
WebToTheMax

T +31-20-4 100 242
F +31-20-4 100 243
W www.webtothemax.com
E mjmare at webtothemax.com
J mjm at anywise.jabber.com




More information about the Zope mailing list