Opened 14 years ago
Closed 13 years ago
#1811 closed bug (WorksForMe)
Encoding problem within deluge console
Reported by: | curtis69 | Owned by: | nick |
---|---|---|---|
Priority: | minor | Milestone: | Future |
Component: | Console (new ncurses) | Version: | master |
Keywords: | Cc: |
Description
A problem occur when after adding some french torrents It seems linked to torrent's files names, containing chars like "é" or "è"
Error getting torrent info: [Failure instance: Traceback: : 'ascii' codec can't encode character u'\xe0' in position 62: ordinal not in range(128) /usr/lib/python2.6/dist-packages/twisted/internet/tcp.py:460:doRead /usr/local/lib/python2.6/dist-packages/deluge-1.3.900_dev-py2.6.egg/deluge/ui/client.py:186:dataReceived /usr/lib/python2.6/dist-packages/twisted/internet/defer.py:280:callback /usr/lib/python2.6/dist-packages/twisted/internet/defer.py:354:_startRunCallbacks --- --- /usr/lib/python2.6/dist-packages/twisted/internet/defer.py:371:_runCallbacks /usr/local/lib/python2.6/dist-packages/deluge-1.3.900_dev-py2.6.egg/deluge/ui/console/commands/info.py:127:on_torrents_status /usr/local/lib/python2.6/dist-packages/deluge-1.3.900_dev-py2.6.egg/deluge/ui/console/commands/info.py:160:show_info /usr/local/lib/python2.6/dist-packages/deluge-1.3.900_dev-py2.6.egg/deluge/ui/console/main.py:352:write ]
Once such torrent is added, torrents info command return this call stack.
If I had them to deluge desktop or deluge web ui, they works (but deluge console will still bug)
Deluge version : 1.3.900_dev
Attachments (1)
Change History (6)
by , 14 years ago
comment:1 by , 14 years ago
Component: | console → new_console |
---|---|
Owner: | set to |
Status: | new → assigned |
follow-up: 3 comment:2 by , 14 years ago
I can't reproduce this. Could you let me know what the output of 'locale' is for you (assuming you're on a linux box). Someone else was having problems in non-latin locales, although I can't reproduce that either :)
comment:3 by , 14 years ago
Hi, Here is output for locale:
LANG=en_US.UTF-8 LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_COLLATE="en_US.UTF-8" LC_MONETARY="en_US.UTF-8" LC_MESSAGES="en_US.UTF-8" LC_PAPER="en_US.UTF-8" LC_NAME="en_US.UTF-8" LC_ADDRESS="en_US.UTF-8" LC_TELEPHONE="en_US.UTF-8" LC_MEASUREMENT="en_US.UTF-8" LC_IDENTIFICATION="en_US.UTF-8" LC_ALL=
comment:4 by , 14 years ago
Status: | assigned → pending |
---|
'ascii' codec can't encode character u'\xe0'
This means that your operating system is attempting to convert to ascii so although your LANG seems fine can you try with LC_ALL set as well.
export LC_ALL='en_US.UTF-8'
comment:5 by , 13 years ago
Resolution: | → worksforme |
---|---|
Status: | pending → closed |
example of torrent causing bug