Deluge Console Add
Posted: Sun Aug 12, 2012 9:30 pm
Hello,
I recently started using Deluge, and so far, it's been working fine. However, I get a Python error whenever a name contains extended Latin characters.
The error is something like this:
I recently started using Deluge, and so far, it's been working fine. However, I get a Python error whenever a name contains extended Latin characters.
Code: Select all
; This works (I escape command line characters because this is for an import script.)
C:\PROGRA~2\Deluge\deluge-console " add -p C:\users\blah\downloads \"C:^\Users^\blah^\blah.torrent\" "
; This doesn't work
C:\PROGRA~2\Deluge\deluge-console " add -p C:\users\blah\downloadst \"C:^\Users^\blah^\blààààààh.torrent\" "
Code: Select all
[ERROR ] 14:26:12 __init__:1080 'ascii' codec can't decode byte 0xe0 in position 92: ordinal not in range(128)
Traceback (most recent call last):
File "deluge\ui\console\main.py", line 328, in do_command
File "deluge\ui\console\commands\add.py", line 87, in handle
File "deluge\ui\console\main.py", line 281, in write
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe0 in position 92: ordinal not in range(128)
Traceback (most recent call last):
File "deluge\ui\console\main.py", line 328, in do_command
File "deluge\ui\console\commands\add.py", line 87, in handle
File "deluge\ui\console\main.py", line 281, in write
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe0 in position 92: ordinal not in range(128)