Starting Error of Zserver with Product ZExternalNews
Hi, after installing the product ZExternalNews and PyXML I get the following error message when the Zserver starts: 2003-02-04T19:28:00 INFO(0) ZExternalNews NewsChannel[setstate], ------ 2003-02-04T19:28:00 ERROR(200) ZODB Shouldn't load state for '\x00\x00\x00\x00\x00\x00\x10\x9c' when the connection is closed Exception in thread Thread-5: Traceback (most recent call last): File "C:\PROGRA~1\WebSite\bin\lib\threading.py", line 378, in __bootstrap self.run() File "C:\PROGRA~1\WebSite\lib\python\Products\ZExternalNews\ZExternalNews.py", line 455, in run self._manager.Refresh() File "C:\PROGRA~1\WebSite\lib\python\Products\ZExternalNews\ZExternalNews.py", line 433, in Refresh LOG('ZExternalNews', ERROR, "Problem updating ZExternalNewsChannel '%s' (%s: %s). Ignored." % (channel.id, sys.exc_info()[0], sys.exc_info()[1]) ) File "C:\PROGRA~1\WebSite\lib\python\ZODB\Connection.py", line 504, in setstate raise RuntimeError(msg) RuntimeError: Shouldn't load state for '\x00\x00\x00\x00\x00\x00\x10\x9c' when the connection is closed. Who knows an advice for me to repair this error? Thank you very much Fritz Troester
F. Troester wrote at 2003-2-4 19:51 +0100:
after installing the product ZExternalNews and PyXML I get the following error message when the Zserver starts:
2003-02-04T19:28:00 INFO(0) ZExternalNews NewsChannel[setstate], ------ 2003-02-04T19:28:00 ERROR(200) ZODB Shouldn't load state for '\x00\x00\x00\x00\x00\x00\x10\x9c' when the connection is closed
We have seen such a problem report recently several times in the mailing list (please search the archives (via Google)). It means that something accesses a ZODB connection which is no longer valid (open). As connections are closed when the request ends, this can happen e.g. when a persistent object was passed to a separate thread or put into a module's global namespace. The mentions posts may indicate that there is an additional potential cause for the behaviour. I do not know ZExternalNews and cannot give you specific advice. But, it may spawn a thread. Dieter
participants (2)
-
Dieter Maurer -
F. Troester