[Zope] IOError while refreshing product

Thierry Florac thierry.florac@onf.fr
12 Nov 2002 10:38:19 +0100


  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