#2418: WebUI error adding non-ascii torrent file
--------------------+-------------------
Reporter: Cas | Owner:
Type: bug | Status: new
Priority: minor | Milestone: 1.3.7
Component: Web-UI | Version: 1.3.6
Keywords: |
--------------------+-------------------
{{{
[ERROR ] 00:47:56 json_api:271 'utf8' codec can't decode byte 0xc9 in
position 2: invalid continuation byte
Traceback (most recent call last):
File "/home/ubuntu/deluge.git/deluge/ui/web/json_api.py", line 293, in
render
d = self._on_json_request(request)
File "/home/ubuntu/deluge.git/deluge/ui/web/json_api.py", line 265, in
_on_json_request
return self._send_response(request, response)
File "/home/ubuntu/deluge.git/deluge/ui/web/json_api.py", line 276, in
_send_response
response = json.dumps(response)
File "/usr/lib/python2.7/json/__init__.py", line 231, in dumps
return _default_encoder.encode(obj)
File "/usr/lib/python2.7/json/encoder.py", line 201, in encode
chunks = self.iterencode(o, _one_shot=True)
File "/usr/lib/python2.7/json/encoder.py", line 264, in iterencode
return _iterencode(o, 0)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xc9 in position 2:
invalid continuation byte
}}}
--
Ticket URL: <http://dev.deluge-torrent.org/ticket/2418>
Deluge <http://deluge-torrent.org/>
Deluge project
--
You received this message because you are subscribed to the Google Groups
"Deluge Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/deluge-dev.
For more options, visit https://groups.google.com/groups/opt_out.