#1248: deluge-console unicode support on redirected stdout
----------------------+-----------------------------------------------------
  Reporter:  naikoto  |       Owner:          
      Type:  bug      |      Status:  reopened
  Priority:  trivial  |   Milestone:  Future  
 Component:  console  |     Version:  1.3.1   
Resolution:           |    Keywords:  unicode 
----------------------+-----------------------------------------------------
Changes (by naikoto):

  * status:  closed => reopened
  * version:  1.2.3 => 1.3.1
  * resolution:  fixed =>


Comment:

 I can reproduce:

 $ deluge-console info|cat
 {{{
 Error getting torrent info: [Failure instance: Traceback: <type
 'exceptions.UnicodeEncodeError'>: 'ascii' codec can't encode characters in
 position 31-36: ordinal not in range(128)
 /usr/lib/python2.5/site-packages/twisted/internet/tcp.py:362:doRead
 /usr/lib/pymodules/python2.5/deluge/ui/client.py:183:dataReceived
 /usr/lib/python2.5/site-packages/twisted/internet/defer.py:243:callback
 /usr/lib/python2.5/site-
 packages/twisted/internet/defer.py:312:_startRunCallbacks
 --- <exception caught here> ---
 /usr/lib/python2.5/site-
 packages/twisted/internet/defer.py:328:_runCallbacks
 
/usr/lib/pymodules/python2.5/deluge/ui/console/commands/info.py:119:on_torrents_status
 /usr/lib/pymodules/python2.5/deluge/ui/console/commands/info.py:142:show_info
 /usr/lib/pymodules/python2.5/deluge/ui/console/main.py:273:write
 ]
 }}}

 {{{
 Package: deluge-console
 Version: 1.3.1-1
 }}}

 The character is probably "東", it works without redirection.

-- 
Ticket URL: <http://dev.deluge-torrent.org/ticket/1248#comment:3>
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