1. cherrypy
  2. CherryPy
Issue #12 resolved

'ramOrFileOrCookieOrCustomCleanUpOldSessions' Error

created an issue

After some time of server inactivity, the server responds to a request like this:

NameError: global name 'ramOrFileOrCookieOrCustomCleanUpOldSessions' is not defined

Comments (5)

  1. Anonymous

    Hi Today I download via svn CherryPy, and this error isn't fixed... I still got an error when i leave server for some time (nohup'ped), 2 or 3 hours, and again request them. Here is traceback:

    Traceback (most recent call last): File "/usr/share/python2.3/site-packages/CherryPy/_cpHTTPTools.py", line 138, in doRequest handleRequest(wfile) File "/usr/share/python2.3/site-packages/CherryPy/_cpHTTPTools.py", line 241, in handleRequest ramOrFileOrCookieOrCustomCleanUpOldSessions() NameError: global name 'ramOrFileOrCookieOrCustomCleanUpOldSessions' is not defined

  2. Anonymous

    I don't think you have the latest svn version ... The string "ramOrFileOrCookieOrCustomCleanUpOldSessions" doesn't appear anywhere in the source code anymore and the line numbers in your traceback don't match the current code ...

  3. Log in to comment