TypeError when running CherryPy with Apache2 and mod_python
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...)
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
[25/Mar/2011:10:38:38] ENGINE Bus STARTED
[25/Mar/2011:10:38:38] MOD_PYTHON Traceback (most recent call last):
line 228, in handler
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:
Anyone else experienced this problem before? Could this be related to
the fact that I'm running it over HTTPS?