[Zope] The ZOPE is die when the PC shut down not properly.
Angietel
angietel@hotmail.com
Wed, 7 Feb 2001 11:29:03 +0800
This is a multi-part message in MIME format.
------=_NextPart_000_001B_01C090F9.2C6BE9A0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
i found that every time when my PC hang, i press reset button, after i =
restart it, the ZOPE is gone can not view the ZOPE and the following is =
my python (start web site) which showing the errors type:-
=20
=20
=20
asynchat.async_chat.handle_error (self)
File "C:\Program Files\WebSite\ZServer\medusa\asyncore.py", line 357, =
in handl
e_error
self.close()
File "C:\Program Files\WebSite\ZServer\HTTPServer.py", line 356, in =
close
p.more() # free up resources held by producer
File "C:\Program Files\WebSite\ZServer\Producers.py", line 108, in =
more
getattr(self.logger, self.method)(self.bytes)
File "C:\Program Files\WebSite\ZServer\medusa\http_server.py", line =
273, in lo
g
' - - [%s] "%s" %d %d "%s" "%s"\n' % (
File "C:\Program Files\WebSite\ZServer\medusa\logger.py", line 247, in =
log
self.logger.log ('%s:%s' % (ip, message))
File "C:\Program Files\WebSite\ZServer\medusa\logger.py", line 77, in =
log
self.write (message)
File "C:\Program Files\WebSite\ZServer\medusa\logger.py", line 53, in =
write
self.maybe_flush()
File "C:\Program Files\WebSite\ZServer\medusa\logger.py", line 65, in =
maybe_fl
ush
self.file.flush()
IOError: [Errno 9] Bad file descriptor
C:\Program Files\WebSite>
=20
Can someone tell me how to solve the above problem?
------=_NextPart_000_001B_01C090F9.2C6BE9A0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2919.6307" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>i found that every time when my PC =
hang, i press=20
reset button, after i restart it, the ZOPE is gone can not view the ZOPE =
and the=20
following is my python (start web site) which showing the errors=20
type:-</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2> =
asynchat.async_chat.handle_error=20
(self)<BR> File "C:\Program =
Files\WebSite\ZServer\medusa\asyncore.py",=20
line 357, in handl<BR>e_error<BR> =
self.close()<BR> File=20
"C:\Program Files\WebSite\ZServer\HTTPServer.py", line 356, in=20
close<BR> p.more() # free up resources held by=20
producer<BR> File "C:\Program Files\WebSite\ZServer\Producers.py", =
line=20
108, in more<BR> getattr(self.logger,=20
self.method)(self.bytes)<BR> File "C:\Program=20
Files\WebSite\ZServer\medusa\http_server.py", line 273, in=20
lo<BR>g<BR> ' - - [%s] "%s" %d %d "%s" "%s"\n' % =
(<BR> =20
File "C:\Program Files\WebSite\ZServer\medusa\logger.py", line 247, in=20
log<BR> self.logger.log ('%s:%s' % (ip, =
message))<BR> =20
File "C:\Program Files\WebSite\ZServer\medusa\logger.py", line 77, in=20
log<BR> self.write (message)<BR> File =
"C:\Program=20
Files\WebSite\ZServer\medusa\logger.py", line 53, in =
write<BR> =20
self.maybe_flush()<BR> File "C:\Program=20
Files\WebSite\ZServer\medusa\logger.py", line 65, in=20
maybe_fl<BR>ush<BR> self.file.flush()<BR>IOError: =
[Errno 9]=20
Bad file descriptor</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>C:\Program =
Files\WebSite></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Can someone tell me how to solve the =
above=20
problem?</FONT></DIV></BODY></HTML>
------=_NextPart_000_001B_01C090F9.2C6BE9A0--