#1528: unicode char fail
----------------------+-----------------------------------------------------
 Reporter:  firefox   |       Owner:       
     Type:  bug       |      Status:  new  
 Priority:  critical  |   Milestone:  1.3.2
Component:  console   |     Version:  1.3.1
 Keywords:            |  
----------------------+-----------------------------------------------------
 downloading a torrent with a special char like:
 [Torrented org]Adèle E L Enigma Del Faraone 2010 iTALiAN AC3 5 1 BRRip
 XviD avi
 will create problems with deluge-console
 if you call from terminal deluge-console info will show this:
 Error getting torrent info: [Failure instance: Traceback: <type
 'exceptions.UnicodeEncodeError'>: 'ascii' codec can't encode character
 u'\xe0' in position 30: ordinal not in range(128)
 /usr/lib/python2.6/dist-packages/twisted/internet/tcp.py:460:doRead
 /usr/lib/pymodules/python2.6/deluge/ui/client.py:183:dataReceived
 /usr/lib/python2.6/dist-packages/twisted/internet/defer.py:318:callback
 /usr/lib/python2.6/dist-
 packages/twisted/internet/defer.py:424:_startRunCallbacks
 --- <exception caught here> ---
 /usr/lib/python2.6/dist-
 packages/twisted/internet/defer.py:441:_runCallbacks
 
/usr/lib/pymodules/python2.6/deluge/ui/console/commands/info.py:119:on_torrents_status
 /usr/lib/pymodules/python2.6/deluge/ui/console/commands/info.py:142:show_info
 /usr/lib/pymodules/python2.6/deluge/ui/console/main.py:273:write
 ]

 and the torrent is not show up.
 with some other chars will not show up anything.

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