Package: cycle
Version: 0.3.0-1
Severity: normal

If I use a username with a non-ASCII character (like a french accented
letter) I have:

$ cycle 
Traceback (most recent call last):
  File "/usr/bin/cycle", line 193, in ?
    app = MyApp(0)
  File "/usr/lib/python2.3/site-packages/wx-2.5.3-gtk2-unicode/wx/_core.py",
line 5311, in __init__
    self._BootstrapApp()
  File "/usr/lib/python2.3/site-packages/wx-2.5.3-gtk2-unicode/wx/_core.py",
line 4990, in _BootstrapApp
    return _core_.PyApp__BootstrapApp(*args, **kwargs)
  File "/usr/bin/cycle", line 177, in OnInit
    dlg = Login_Dlg(None)
  File "/usr/share/cycle/dialogs.py", line 199, in __init__
    self.list.InsertImageStringItem(k, users[k], idx1)
  File "/usr/lib/python2.3/site-packages/wx-2.5.3-gtk2-unicode/wx/_controls.py",
line 4573, in InsertImageStringItem
    return _controls_.ListCtrl_InsertImageStringItem(*args, **kwargs)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe8 in position 4:
ordinal not in range(128)

If I rename ~/.cycle/Marlène in ~/.cycle/Marlene the program runs fine.

You can either add support of non-ASCII characters or reject them when
the user enter a new username.

Bye,

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing'), (90, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.11.6
Locale: LANG=fr_FR, LC_CTYPE=fr_FR (charmap=ISO-8859-1)

Versions of packages cycle depends on:
ii  libwxgtk2.5.3-python          2.5.3.2    wxWidgets Cross-platform C++ GUI t
ii  python                        2.3.5-1    An interactive high-level object-o

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to