Page 1 of 1

Deluge Console Add

Posted: Sun Aug 12, 2012 9:30 pm
by etcmake
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.

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\" "
The error is something like this:

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)

Re: Deluge Console Add

Posted: Mon Aug 13, 2012 12:18 am
by Cas
Pretty sure it's the same as this bug: http://dev.deluge-torrent.org/ticket/2093