-
Notifications
You must be signed in to change notification settings - Fork 23
Description
When i click in the admin on a nick containing accented char, we've got the following exception :
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/eventlet-0.9.10-py2.7.egg/eventlet/wsgi.py", line 335, in handle_one_response
result = self.application(self.environ, start_response)
File "/usr/lib/python2.7/site-packages/Paste-1.7.4-py2.7.egg/paste/urlmap.py", line 203, in call
return app(environ, start_response)
File "/usr/lib/python2.7/site-packages/hookbox-0.3.4dev-py2.7.egg/hookbox/admin/admin.py", line 54, in call
return self._wsgi_app(environ, start_response)
File "/usr/lib/python2.7/site-packages/Paste-1.7.4-py2.7.egg/paste/urlmap.py", line 203, in call
return app(environ, start_response)
File "build/bdist.linux-i686/egg/csp_eventlet/init.py", line 74, in call
x = handler(session, environ, start_response)
File "build/bdist.linux-i686/egg/csp_eventlet/init.py", line 94, in render_send
session.read(environ['csp.form'].get('d', ''))
File "build/bdist.linux-i686/egg/csp_eventlet/init.py", line 220, in read
packets = json.loads(rawdata)
File "/usr/lib/python2.7/json/init.py", line 310, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.7/json/decoder.py", line 346, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python2.7/json/decoder.py", line 362, in raw_decode
obj, end = self.scan_once(s, idx)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xe9 in position 4: invalid continuation byte
After that the admin is inconsistent (overview shows infos that does not appear in the detail list)