[Zope] Problem with ZServer

Dieter Maurer dieter@handshake.de
Wed, 19 Jun 2002 19:53:54 +0200

Antonio Carrasco writes:
 > I=B4m having problems with zope 2.5.1 on W98 when crashes, the light i=
s off,
 > or not correctly shutdown.
 > After that, I start the zserver but when I try to log in, the server c=
 > because of an error in logger.py in line 65, in maybe_flush, bad file
 > descriptor. I lose my work and have to reinstall Zope.
Maybe, your file is corrupted.

  Start Zope in a way that you can see its standard output/error
  (do not know how to do this under Windows)

  add the following lines before the breaking "self.file.flush()":

      import sys
      print self.file.name; sys.stdout.flush()

  See what is printed and check that file.