Hello
I have a CherryPy app installed as a Windows service as
shown in
http:/
/www.cherrypy.org/wiki/WindowsService21. The backend is
MySQL.
Occasionally, I get the traceback below. In _cputil.py:
if cherrypy.config.get('server.logToScreen', True):
print s
So the documentation for running CherryPy as a Windows
service should recommend:
server.logToScreen = False
Unrecoverable error in the server.
Traceback (most recent call last):
File
"d:\python24\lib\site-packages\CherryPy-2.1.1-py2.
4.egg\cherrypy\_cpwsgi.py",
line 110, in wsgiApp
environ['wsgi.url_scheme'],
File
"d:\python24\lib\site-packages\CherryPy-2.1.1-py2.
4.egg\cherrypy\_cpserver.py",
line 227, in request
requestLine, headers, rfile, scheme)
File
"d:\python24\lib\site-packages\CherryPy-2.1.1-py2.
4.egg\cherrypy\_cphttptools.py",
line 215, in __init__
_cputil.getSpecialAttribute("_cpLogAccess")()
File
"d:\python24\lib\site-packages\CherryPy-2.1.1-py2.
4.egg\cherrypy\_cputil.py",
line 125, in _cpLogAccess
print s
IOError: [Errno 9] Bad file descriptor
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-users googlegroups.com
To unsubscribe from this group, send email to
cherrypy-users-unsubscribe googlegroups.com
For more options, visit this group at http://
groups.google.com/group/cherrypy-users
-~----------~----~----~----~------~----~------~--~---
|