Opened 4 years ago
Closed 4 years ago
#3418 closed bug (Duplicate)
Deluge fails to schedule torrent provided by DelugeSiphon Chrome Plugin
Reported by: | megaksa | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 2.0.4 |
Component: | Unknown | Version: | 2.0.3 |
Keywords: | Cc: |
Description
On a fresh install of Arch Linux:
deluged 2.0.4.dev38 libtorrent: 1.2.7.0 Python: 3.8.5 OS: Linux Arch Linux
Deluge is installed on a dedicated server. When I try to schedule something from rutracker.org deluge-siphon fails to add torrent to deluge. Deluge logs from server:
Aug 02 15:30:56 site deluged[3145]: /usr/lib/python3.8/site-packages/twisted/web/_newclient.py:1673:_disconnectParser Aug 02 15:30:56 site deluged[3145]: --- <exception caught here> --- Aug 02 15:30:56 site deluged[3145]: /usr/lib/python3.8/site-packages/twisted/web/_newclient.py:567:connectionLost Aug 02 15:30:56 site deluged[3145]: /usr/lib/python3.8/site-packages/twisted/web/_newclient.py:1050:dispatcher Aug 02 15:30:56 site deluged[3145]: /usr/lib/python3.8/site-packages/twisted/web/_newclient.py:1306:_bodyDataFinished_CONNECTED Aug 02 15:30:56 site deluged[3145]: /usr/lib/python3.8/site-packages/twisted/web/client.py:2025:connectionLost Aug 02 15:30:56 site deluged[3145]: /usr/lib/python3.8/site-packages/deluge/httpdownloader.py:75:connectionLost Aug 02 15:30:56 site deluged[3145]: /usr/lib/python3.8/encodings/cp1251.py:15:decode Aug 02 15:30:56 site deluged[3145]: ] Aug 02 15:32:33 site deluged[3145]: Traceback (most recent call last): Aug 02 15:32:33 site deluged[3145]: File "/usr/lib/python3.8/site-packages/twisted/web/_newclient.py", line 1050, in dispatcher Aug 02 15:32:33 site deluged[3145]: return func(*args, **kwargs) Aug 02 15:32:33 site deluged[3145]: File "/usr/lib/python3.8/site-packages/twisted/web/_newclient.py", line 1632, in _finishResponse_WAITING Aug 02 15:32:33 site deluged[3145]: self._giveUp(Failure(reason)) Aug 02 15:32:33 site deluged[3145]: File "/usr/lib/python3.8/site-packages/twisted/web/_newclient.py", line 1685, in _giveUp Aug 02 15:32:33 site deluged[3145]: self._disconnectParser(reason) Aug 02 15:32:33 site deluged[3145]: File "/usr/lib/python3.8/site-packages/twisted/web/_newclient.py", line 1673, in _disconnectParser Aug 02 15:32:33 site deluged[3145]: parser.connectionLost(reason) Aug 02 15:32:33 site deluged[3145]: --- <exception caught here> --- Aug 02 15:32:33 site deluged[3145]: File "/usr/lib/python3.8/site-packages/twisted/web/_newclient.py", line 567, in connectionLost Aug 02 15:32:33 site deluged[3145]: self.response._bodyDataFinished() Aug 02 15:32:33 site deluged[3145]: File "/usr/lib/python3.8/site-packages/twisted/web/_newclient.py", line 1050, in dispatcher Aug 02 15:32:33 site deluged[3145]: return func(*args, **kwargs) Aug 02 15:32:33 site deluged[3145]: File "/usr/lib/python3.8/site-packages/twisted/web/_newclient.py", line 1306, in _bodyDataFinished_CONNECTED Aug 02 15:32:33 site deluged[3145]: self._bodyProtocol.connectionLost(reason) Aug 02 15:32:33 site deluged[3145]: File "/usr/lib/python3.8/site-packages/twisted/web/client.py", line 2025, in connectionLost Aug 02 15:32:33 site deluged[3145]: self.original.connectionLost(reason) Aug 02 15:32:33 site deluged[3145]: File "/usr/lib/python3.8/site-packages/deluge/httpdownloader.py", line 75, in connectionLost Aug 02 15:32:33 site deluged[3145]: self.data = self.data.decode(self.encoding).encode('utf8') Aug 02 15:32:33 site deluged[3145]: File "/usr/lib/python3.8/encodings/cp1251.py", line 15, in decode Aug 02 15:32:33 site deluged[3145]: return codecs.charmap_decode(input,errors,decoding_table) Aug 02 15:32:33 site deluged[3145]: builtins.UnicodeDecodeError: 'charmap' codec can't decode byte 0x98 in position 872: character maps to <undefined> Aug 02 15:32:33 site deluged[3145]: 15:32:33.177 [CRITICAL][deluge.log :93 ] twisted.web._newclient.HTTPClientParser Aug 02 15:32:33 site deluged[3145]: [Failure instance: Traceback: <class 'UnicodeDecodeError'>: 'charmap' codec can't decode byte 0x98 in position 872: character maps to <> Aug 02 15:32:33 site deluged[3145]: /usr/lib/python3.8/site-packages/twisted/web/_newclient.py:1050:dispatcher Aug 02 15:32:33 site deluged[3145]: /usr/lib/python3.8/site-packages/twisted/web/_newclient.py:1632:_finishResponse_WAITING Aug 02 15:32:33 site deluged[3145]: /usr/lib/python3.8/site-packages/twisted/web/_newclient.py:1685:_giveUp Aug 02 15:32:33 site deluged[3145]: /usr/lib/python3.8/site-packages/twisted/web/_newclient.py:1673:_disconnectParser Aug 02 15:32:33 site deluged[3145]: --- <exception caught here> --- Aug 02 15:32:33 site deluged[3145]: /usr/lib/python3.8/site-packages/twisted/web/_newclient.py:567:connectionLost Aug 02 15:32:33 site deluged[3145]: /usr/lib/python3.8/site-packages/twisted/web/_newclient.py:1050:dispatcher Aug 02 15:32:33 site deluged[3145]: /usr/lib/python3.8/site-packages/twisted/web/_newclient.py:1306:_bodyDataFinished_CONNECTED Aug 02 15:32:33 site deluged[3145]: /usr/lib/python3.8/site-packages/twisted/web/client.py:2025:connectionLost Aug 02 15:32:33 site deluged[3145]: /usr/lib/python3.8/site-packages/deluge/httpdownloader.py:75:connectionLost Aug 02 15:32:33 site deluged[3145]: /usr/lib/python3.8/encodings/cp1251.py:15:decode
The issue is likely connected with incorrect treatment of the page encoding.
Change History (1)
comment:1 by , 4 years ago
Milestone: | needs verified → 2.0.4 |
---|---|
Resolution: | → Duplicate |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Duplicate of #3440