Opened 4 years ago

Closed 3 years ago

#2418 closed bug (Fixed)

WebUI error adding non-ascii torrent file

Reported by: Cas Owned by:
Priority: minor Milestone: 1.3.7
Component: Web UI Version: 1.3.6
Keywords: Cc:

Description

[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

Change History (1)

comment:1 Changed 3 years ago by Cas

  • Resolution set to Fixed
  • Status changed from new to closed

Fixed in 1.3-stable: [8c4a08bb87a66]

Note: See TracTickets for help on using tickets.