#2948: Non-Ascii Character Breaks Console Torrent Remove
------------------------+----------------------------
Reporter: coreyme | Owner:
Type: bug | Status: new
Priority: minor | Milestone: needs verified
Component: Console UI | Version: 1.3.13
Keywords: ascii |
------------------------+----------------------------
If a torrent with a non-ascii character like an En Dash in its name is
running, the console command "deluge-console.exe rm --remove_data <id>"
will fail for ANY torrent and returns the message:
{{{
'ascii' codec can't decode byte 0xe2 in position 9: ordinal not in
range(128)
[ERROR ] 13:48:42 main:347 'ascii' codec can't decode byte 0xe2 in
position 9: ordinal not in range(128)
Traceback (most recent call last):
File "deluge\ui\console\main.py", line 344, in do_command
File "deluge\ui\console\commands\rm.py", line 61, in handle
File "deluge\ui\console\main.py", line 462, in match_torrent
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 9:
ordinal not in range(128)
Traceback (most recent call last):
File "deluge\ui\console\main.py", line 344, in do_command
File "deluge\ui\console\commands\rm.py", line 61, in handle
File "deluge\ui\console\main.py", line 462, in match_torrent
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 9:
ordinal not in range(128)
}}}
Removing the torrent with the non-ascii character resolves the problem.
--
Ticket URL: <http://dev.deluge-torrent.org/ticket/2948>
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 https://groups.google.com/group/deluge-dev.
For more options, visit https://groups.google.com/d/optout.