Greetings CheeryPy users!
I'm attempting to run a simple cherrypy webapp served by Apache2
(https) via mod_python.
(I chose the mod_python method cause I already have a website hosted
on this server and I would like my cherrypy webapp to share the same
https port, authentication, etc...)
To start I simply based my test app on the instructions at
http://www.cherrypy.org/wiki/ModPython
Everything looks fine until I try to access one of the exposed
method. The browser returns:
Unrecoverable error in the server.
and the log file contains:
[25/Mar/2011:10:38:38] ENGINE Bus STARTING
[25/Mar/2011:10:38:38] ENGINE Started monitor thread
'_TimeoutMonitor'.
[25/Mar/2011:10:38:38] ENGINE Bus STARTED
[25/Mar/2011:10:38:38] MOD_PYTHON Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/cherrypy/_cpmodpy.py",
line 228, in handler
response.body, response.stream)
File "/usr/local/lib/python2.7/site-packages/cherrypy/_cpmodpy.py",
line 241, in send_response
req.status = int(status[:3])
TypeError: 'int' object is not subscriptable
This is running on an OpenSuse 11.4 system, with the following:
apache2-mod_python-3.3.1-161.3.1.x86_64
apache2-2.2.17-3.1.x86_64
Anyone else experienced this problem before? Could this be related to
the fact that I'm running it over HTTPS?
Any help with this will be much appreciated.
Best regards,
Andre