Opened 10 years ago

Closed 10 years ago

#2045 closed bug (Fixed)

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

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

Description (last modified by Cas)

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 Changed 10 years ago by angry_vincent

  • Version changed from other (please specify) to 1.3.3

comment:2 Changed 10 years ago by Cas

  • Component changed from other to console
  • Description modified (diff)
  • Owner set to Cas
  • Status changed from new to assigned

comment:3 Changed 10 years ago by Cas

  • Milestone changed from Future to 1.3.4
  • Resolution set to fixed
  • Status changed from assigned to closed

Fixed in 1.3-stable: 5d0dace1

Note: See TracTickets for help on using tickets.