The ZOPE is die when the PC shut down not properly.
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:- 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> Can someone tell me how to solve the above problem?
First thing I'd do is find out why your machine is crashing. Zope is only software. As with all software it expects a certain respect. If it doesn't get it then it will do strange things. Fix your machine before worrying about Zope. ----- Original Message ----- From: Angietel To: zope@zope.org Sent: Wednesday, February 07, 2001 3:29 AM Subject: [Zope] The ZOPE is die when the PC shut down not properly. 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:- 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> Can someone tell me how to solve the above problem?
participants (2)
-
Angietel -
Phil Harris