Wanting to run a cherrpy application using apache2+mod_python I tried the sample at DeployTemplate, but even using that code it does not work, all I get is this exception in 'site.log':
[02/Mar/2011:14:06:37] MOD_PYTHON Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/cherrypy/_cpmodpy.py", line 229, in handler
response.body, response.stream)
File "/usr/lib/python2.7/site-packages/cherrypy/_cpmodpy.py", line 247, in send_response
req.status = int(status[:3])
TypeError: 'NoneType' object is not subscriptable
Originally reported by: Anonymous
Wanting to run a cherrpy application using apache2+mod_python I tried the sample at DeployTemplate, but even using that code it does not work, all I get is this exception in 'site.log':
my .htaccess is as following:
To further find more details, I've added some print statements to
_cpmodpy.py
and here is the arguments forsend_response
:It all looks fine, except that 'status' is not set.
I am running the following versions:
Reported by ext-cherrypy.org@sidvind.com