Hi, I currently use Zope-2.6.0 on a Debian GNU/Linux system (kernel 2.4.18) with Python-2.1.3 ; it's a "fresh" install of Zope made from sources. I'm writing Zope products and when I try to refresh them, I sometimes get an error message : Site Error An error was encountered while publishing this resource. IOError Sorry, a site error occurred. Traceback (innermost last): * Module ZPublisher.Publish, line 150, in publish_module * Module ZPublisher.Publish, line 114, in publish * Module Zope, line 171, in zpublisher_exception_hook * Module ZPublisher.Publish, line 98, in publish * Module ZPublisher.mapply, line 88, in mapply * Module ZPublisher.Publish, line 39, in call_object * Module App.Product, line 381, in manage_performRefresh * Module App.RefreshFuncs, line 192, in performFullRefresh * Module App.RefreshFuncs, line 185, in performSafeRefresh * Module App.RefreshFuncs, line 139, in logBadRefresh * Module zLOG, line 130, in LOG * Module ZLogger.ZLogger, line 16, in log_write * Module ZLogger.stupidFileLogger, line 27, in __call__ * Module ZLogger.stupidFileLogger, line 90, in stupid_log_write IOError: [Errno 5] Input/output error (Also, an error occurred while attempting to render the standard error message.) If I try to restart Zope from the ZMI, I receive the same error message. If I restart Zope from start/stop script, everything is OK and I can refresh my products again for some time (until the next error message). Other operations (modification of existing Zope objects, browsing,...) always work correctly. Does anybody encountered such a problem or have any idea ?? Thanks, Thierry Florac P.S. : does refreshable products need special methods or properties to make this function work correctly ??? -- Linux every day, keeps Dr Watson away... http://gpc.sourceforge.net -- http://www.ulthar.net
On Tue, 2002-11-12 at 12:50, Toby Dickenson wrote:
On Tuesday 12 November 2002 9:38 am, Thierry Florac wrote:
IOError: [Errno 5] Input/output error
errno 5 is EIO - a low level IO error.
has something gone wrong on the disk containing your stupid log?
Well, I thing I found a possible answer... After looking at the "start" script, I saw that if "EVENT_LOG_FILE" is not defined, Zope logs are redirected to standard output. So, if I launch Zope and keep the terminal open, everything is OK. But if I close the terminal, problems seems to begin, probably because standard output is closed... I've tried to setup EVENT_LOG_FILE to a valid filen name into "start" script, and everything seems OK now. I'll provide further informations if the problem goes on... Thanks, Thierry
participants (2)
-
Thierry Florac -
Toby Dickenson