#2045: UnicodeDecodeError for non-english named torrents (non en_US locale)
---------------------------+------------------------------------------------
 Reporter:  angry_vincent  |       Owner:  Cas     
     Type:  bug            |      Status:  assigned
 Priority:  minor          |   Milestone:  Future  
Component:  console        |     Version:  1.3.3   
 Keywords:                 |  
---------------------------+------------------------------------------------
Changes (by Cas):

  * status:  new => assigned
  * owner:  => Cas
  * component:  other => console


Old description:

> >>> 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)

New description:

 {{{
 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)

 }}}

--

-- 
Ticket URL: <http://dev.deluge-torrent.org/ticket/2045#comment:2>
Deluge <http://deluge-torrent.org/>
Deluge project

-- 
You received this message because you are subscribed to the Google Groups 
"Deluge Dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/deluge-dev?hl=en.

Reply via email to