Opened 13 years ago

Closed 13 years ago

#2045 closed bug (Fixed)

UnicodeDecodeError for non-english named torrents (non en_US locale)

Reported by: angry_vincent Owned by: Calum
Priority: minor Milestone: 1.3.4
Component: Console UI Version: 1.3.3
Keywords: Cc:

Description (last modified by Calum)

info "Torrent Name"
'ascii' codec can't decode byte 0xd0 in position 0: ordinal not in range(128)
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/deluge/ui/console/main.py", line 328, in do_command
    ret = self._commands[cmd].handle(*args, **options.__dict__)
  File "/usr/lib64/python2.7/site-packages/deluge/ui/console/commands/info.py", line 130, in handle
    torrent_ids.extend(self.console.match_torrent(arg))
  File "/usr/lib64/python2.7/site-packages/deluge/ui/console/main.py", line 445, in match_torrent
    if tid.startswith(string) or name.startswith(string):
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 0: ordinal not in range(128)

Change History (3)

comment:1 by angry_vincent, 13 years ago

Version: other (please specify)1.3.3

comment:2 by Calum, 13 years ago

Component: otherconsole
Description: modified (diff)
Owner: set to Calum
Status: newassigned

comment:3 by Calum, 13 years ago

Milestone: Future1.3.4
Resolution: fixed
Status: assignedclosed

Fixed in 1.3-stable: 5d0dace1

Note: See TracTickets for help on using tickets.