#15692: "Referenced before assignment" in WSGIHandler
----------------------------+---------------------------
Reporter: sayane | Owner: nobody
Status: new | Milestone:
Component: Core framework | Version: SVN
Keywords: | Triage Stage: Unreviewed
Has patch: 0 |
----------------------------+---------------------------
This happens when WSGIHandler is not able to decode request data (stupid
flash don't know how to encode urls).
{{{
Traceback (most recent call last):
File
"/home/sayane/.buildout/parts/django/django/core/servers/basehttp.py",
line 283, in run
self.result = application(self.environ, self.start_response)
File
"/home/sayane/.buildout/parts/django/django/contrib/staticfiles/handlers.py",
line 68, in __call__
return self.application(environ, start_response)
File "/home/sayane/.buildout/parts/django/django/core/handlers/wsgi.py",
line 264, in __call__
logger.warning('Bad Request (UnicodeDecodeError): %s' % request.path,
UnboundLocalError: local variable 'request' referenced before assignment
}}}
--
Ticket URL: <http://code.djangoproject.com/ticket/15692>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.