Package: bittorrent-gui
Severity: important
Version: 3.4.2-6
Torrent http://www.jamendo.com/link.php/p2palbum/868/bittorrent/mp32
has Acircumflex in album name.
Without any special locale settings, an error is issued rapidly:
$ locale
LANG=
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=
$ btdownloadgui.bittorrent zams.torrent
Traceback (most recent call last):
File "/usr/bin/btdownloadgui.bittorrent", line 148, in onInvoke
apply(func, args, kwargs)
File "/usr/bin/btdownloadgui.bittorrent", line 235, in onChooseFile
join(getcwd(), default), style = wxDD_DEFAULT_STYLE | wxDD_NEW_DIR_BUTTON)
File "/usr/lib/python2.3/site-packages/wx-2.6-gtk2-unicode/wx/_windows.py",
line 2420, in __init__
newobj = _windows_.new_DirDialog(*args, **kwargs)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 55:
ordinal not in range(128)
If I set LC_CTYPE, then this step works, but after I choose a
directory (whether the default with Acircumflex, or anoher one), I
still get the following crash. No problem with curses or headless
clients, though, so this might be a wxpython issue.
$ locale
LANG=
LC_CTYPE=french
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=
$ btdownloadgui.bittorrent zams.torrent
Traceback (most recent call last):
File "/usr/bin/btdownloadgui.bittorrent", line 282, in next
download(params, d.chooseFile, d.updateStatus, d.finished, d.error,
doneflag, 100, d.newpath)
File "/usr/lib/python2.3/site-packages/BitTorrent/download.py", line 167, in
download
if path.exists(path.join(file, x['path'][0])):
File "/usr/lib/python2.3/posixpath.py", line 65, in join
path += '/' + b
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 20:
ordinal not in range(128)
ii python-wxgtk2.6 2.6.1.2
wxWidgets Cross-platform C++ GUI toolkit (wxPython binding)
ii python2.3 2.3.5-8
An interactive high-level object-oriented language (version 2.3)
--
Yann Dirson <[EMAIL PROTECTED]> |
Debian-related: <[EMAIL PROTECTED]> | Support Debian GNU/Linux:
| Freedom, Power, Stability, Gratis
http://ydirson.free.fr/ | Check <http://www.debian.org/>
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]