Package: wicd-curses
Version: 1.7.1-1
Severity: important
Tags: patch l10n
Dear Maintainer,
* What led up to the situation?
Start wicd-curses, choose a wireless network and press the right arrow key to
access the network configuration dialog.
* What was the outcome of this action?
wicd-curses exits with the following exception:
Traceback (most recent call last):
File "/usr/share/wicd/curses/wicd-curses.py", line 921, in call_update_ui
self.update_ui(True)
File "/usr/share/wicd/curses/wicd-curses.py", line 89, in wrapper
return func(*args, **kargs)
File "/usr/share/wicd/curses/wicd-curses.py", line 932, in update_ui
self.handle_keys(input_data[1])
File "/usr/share/wicd/curses/wicd-curses.py", line 835, in handle_keys
self.diag = WirelessSettingsDialog(pos,self.frame)
File "/usr/share/wicd/curses/netentry_curses.py", line 385, in __init__
title = _('Configuring preferences for wireless network "$A"
($B)').replace('$A',wireless.GetWirelessProperty(networkID,'essid')).replace('$B',wireless.GetWirelessProperty(networkID,'bssid'))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 15:
ordinal not in range(128)
The following patch resolved the problem for me:
--- /usr/share/pyshared/wicd/translations.py 2011-10-18 21:44:13.000000000
+0200
+++ translations.py 2012-04-16 21:12:56.378203394 +0200
@@ -52,7 +52,7 @@
langs += ["en_US"]
lang = gettext.translation('wicd', local_path, languages=langs,
fallback=True)
- _ = lang.gettext
+ _ = lang.ugettext
return _
_ = get_gettext()
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) (ignored: LC_ALL
set to de_DE.utf8)
Shell: /bin/sh linked to /bin/dash
Versions of packages wicd-curses depends on:
ii python 2.7.2-10
ii python-urwid 1.0.1-2
ii wicd-daemon 1.7.1-1
Versions of packages wicd-curses recommends:
pn sudo <none>
wicd-curses suggests no packages.
Versions of packages wicd-cli depends on:
ii wicd-daemon 1.7.1-1
Versions of packages wicd-cli recommends:
pn sudo <none>
Versions of packages wicd-gtk depends on:
ii python 2.7.2-10
ii python-glade2 2.24.0-3
ii python-gtk2 2.24.0-3
ii wicd-daemon 1.7.1-1
Versions of packages wicd-gtk recommends:
pn gksu <none>
pn python-notify <none>
Versions of packages wicd-daemon depends on:
ii adduser 3.113+nmu1
ii dbus 1.5.12-1
ii debconf 1.5.42
ii dhcp3-client 4.1.1-P1-17
ii iproute 20120319-1
ii iputils-ping 3:20101006-1+b1
ii isc-dhcp-client [dhcp3-client] 4.2.2.dfsg.1-4
ii lsb-base 4.1+Debian0
ii net-tools 1.60-24.1
ii psmisc 22.16-1
ii python 2.7.2-10
ii python-dbus 0.84.0-3
ii python-gobject 3.1.0-2
ii python-wicd 1.7.1-1
ii wireless-tools 30~pre9-8
ii wpasupplicant 0.7.3-6
wicd-daemon recommends no packages.
Versions of packages wicd-daemon suggests:
ii pm-utils 1.4.1-9
Versions of packages python-wicd depends on:
ii python 2.7.2-10
ii python2.6 2.6.7-4
ii python2.7 2.7.2-8
-- debconf information excluded
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]