Traceback most recent call last File var lib python-support python2 ch

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
Traceback (most recent call last):
File "/var/lib/python-support/python2.5/cherrypy/wsgiserver/__init__.py", line 624, in communicate
req.respond()
File "/var/lib/python-support/python2.5/cherrypy/wsgiserver/__init__.py", line 357, in respond
response = self.wsgi_app(self.environ, self.start_response)
File "/home/mag/WORK/cinober/cinober/apps/cpserver/translogger.py", line 67, in __call__
return self.application(environ, replacement_start_response)
File "/home/mag/lib/python2.5/django/core/servers/basehttp.py", line 634, in __call__
return self.application(environ, start_response)
File "/home/mag/lib/python2.5/django/core/handlers/wsgi.py", line 239, in __call__
response = self.get_response(request)
File "/home/mag/lib/python2.5/django/core/handlers/base.py", line 67, in get_response
response = middleware_method(request)
File "/home/mag/WORK/cinober/cinober/apps/lib/threadlocals.py", line 18, in process_request
_thread_locals.user = request.user
AttributeError: 'WSGIRequest' object has no attribute 'user'