Opened 5 years ago
#3321 new bug
Invalid continuation byte
Reported by: | jools772 | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | needs verified |
Component: | Web UI | Version: | 2.0.3 |
Keywords: | UnicodeDecodeError: utf-8 | Cc: |
Description
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/twisted/web/_newclient.py", line 973, in dispatcher
return func(*args, kwargs)
File "/usr/lib/python3/dist-packages/twisted/web/_newclient.py", line 1555, in _finishResponse_WAITING
self._giveUp(Failure(reason))
File "/usr/lib/python3/dist-packages/twisted/web/_newclient.py", line 1608, in _giveUp
self._disconnectParser(reason)
File "/usr/lib/python3/dist-packages/twisted/web/_newclient.py", line 1596, in _disconnectParser
parser.connectionLost(reason)
--- <exception caught here> ---
File "/usr/lib/python3/dist-packages/twisted/web/_newclient.py", line 565, in connectionLost
self.response._bodyDataFinished()
File "/usr/lib/python3/dist-packages/twisted/web/_newclient.py", line 973, in dispatcher
return func(*args, kwargs)
File "/usr/lib/python3/dist-packages/twisted/web/_newclient.py", line 1229, in _bodyDataFinished_CONNECTED
self._bodyProtocol.connectionLost(reason)
File "/usr/lib/python3/dist-packages/twisted/web/client.py", line 1936, in connectionLost
self.original.connectionLost(reason)
File "/usr/lib/python3/dist-packages/deluge/httpdownloader.py", line 75, in connectionLost
self.data = self.data.decode(self.encoding).encode('utf8')
builtins.UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe9 in position 20449: invalid continuation byte