#1248: deluge-console unicode support on redirected stdout
---------------------+------------------------------------------------------
 Reporter:  naikoto  |       Owner:        
     Type:  bug      |      Status:  new   
 Priority:  major    |   Milestone:  Future
Component:  console  |     Version:  1.2.3 
 Keywords:  unicode  |  
---------------------+------------------------------------------------------
 Continuation of ticket:1029.
 Unicode is not supported on redirected stdout.

 $ deluge-console info
  (valid list of torrents)

 $ deluge-console info|awk '{print}'
  (partial list)
 {{{
 Error getting torrent info: [Failure instance: Traceback: <type
 'exceptions.UnicodeEncodeError'>: 'ascii' codec can't encode character
 u'\xe9' in position 50: 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:176: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:270:write
 ]
 }}}

 same with "|cat" and ">file"

 Package: deluge-console

 Version: 1.2.3-1 (debian)

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