Package: wicd Version: 1.7.2.4-1 Severity: important Tags: patch Dear Maintainer,
* What led up to the situation? I just installed wicd from debian repos. * What exactly did you do (or not do) that was effective (or ineffective)? Tried typing a password for our Wireless network * What was the outcome of this action? ESSID : MyWG setting encryption info... Traceback (most recent call last): File "/usr/share/wicd/gtk/gui.py", line 732, in connect self.edit_advanced(None, nettype, networkid, networkentry) File "/usr/share/wicd/gtk/gui.py", line 666, in edit_advanced if self.run_settings_dialog(dialog, ttype, networkid, networkentry): File "/usr/share/wicd/gtk/gui.py", line 679, in run_settings_dialog if self.save_settings(nettype, networkid, networkentry): File "/usr/share/wicd/gtk/gui.py", line 644, in save_settings if not networkentry.save_wireless_settings(networkid): File "/usr/share/wicd/gtk/netentry.py", line 940, in save_wireless_settings return self.advanced_dialog.save_settings(networkid) File "/usr/share/wicd/gtk/netentry.py", line 591, in save_settings encrypt_methods[self.combo_encryption.get_active()]['type']) File "/usr/share/wicd/gtk/netentry.py", line 532, in set_net_prop wireless.SetWirelessProperty(self.networkID, option, value) File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 143, in __call__ **keywords) File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 630, in call_blocking message, timeout) dbus.exceptions.DBusException: org.freedesktop.DBus.Python.TypeError: Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/dbus/service.py", line 702, in _message_cb retval = candidate_method(self, *args, **keywords) File "/usr/share/wicd/daemon/wicd-daemon.py", line 1067, in SetWirelessProperty prop = misc.sanitize_config(prop) File "/usr/lib/python2.7/dist-packages/wicd/misc.py", line 433, in sanitize_config return s.translate(None, table) TypeError: translate() takes exactly one argument (2 given) * What outcome did you expect instead? wicd should connect to the wireless network The solution to the problem was to replace line 1067 in /usr/share/wicd/daemon/wicd-daemon.py: instead of just: prop = misc.sanitize_config(prop) add: prop = misc.sanitize_config(str(prop)) of course one needs to restart wicd, with service wicd restart to apply this. Solution taken from: https://bbs.archlinux.org/viewtopic.php?pid=1097401 (post #6) Hope this works for everyone, Oz -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 3.1.0-1-686-pae (SMP w/1 CPU core) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/dash Versions of packages wicd depends on: ii wicd-daemon 1.7.2.4-1 ii wicd-gtk [wicd-client] 1.7.2.4-1 wicd recommends no packages. wicd suggests no packages. 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.2.4-1 Versions of packages wicd-gtk recommends: ii gksu 2.0.2-6 ii python-notify 0.1.1-3 Versions of packages wicd-daemon depends on: ii adduser 3.113+nmu1 ii dbus 1.5.12-1 ii debconf 1.5.42 ii ethtool 1:3.1-1 ii iproute 20120319-1 ii iputils-ping 3:20101006-1+b1 ii isc-dhcp-client [dhcp3-client] 4.2.2.dfsg.1-5 ii lsb-base 4.1+Debian2 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.2.0-3 ii python-wicd 1.7.2.4-1 ii wireless-tools 30~pre9-8 ii wpasupplicant 0.7.3-6 Versions of packages wicd-daemon recommends: ii wicd-gtk [wicd-client] 1.7.2.4-1 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.3~rc2-2.1