Sylvain Hellegouarch wrote:
>
> try to add to the sessionfilter.py file on line 204:
>
> global cherrypy
> import cherrypy
Thanks for that.
I made the edit then restarted. This time it got a bit further, but
fell over a bit further on.
2005/12/12 12:10:07 INFO Traceback (most recent call last):
File
"/usr/lib/python2.4/site-packages/CherryPy-2.1.0-py2.4.egg/cherrypy/_cphttptools.py",
line 285, in run
applyFilters('onEndResource')
File
"/usr/lib/python2.4/site-packages/CherryPy-2.1.0-py2.4.egg/cherrypy/_cphttptools.py",
line 641, in applyFilters
method()
File
"/usr/lib/python2.4/site-packages/CherryPy-2.1.0-py2.4.egg/cherrypy/lib/filter/sessionfilter.py",
line 207, in onEndResource
sess = cherrypy.request._session
File
"/usr/lib/python2.4/site-packages/CherryPy-2.1.0-py2.4.egg/cherrypy/__init__.py",
line 70, in __getattr__
return getattr(childobject, name)
AttributeError: _AttributeDump instance has no attribute '_session'
127.0.0.1 - - [2005/12/12 12:10:07] "GET / HTTP/1.1" 500 1406
--
Graham