python error related to the translate() function that renders wicd un-usuable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
wicd |
New
|
Undecided
|
Unassigned |
Bug Description
Wicd Version: 1.7.2.4
OS: Slackware Current 64 bit (Linux - 3.2.21 #2 SMP Sun Jun 24 11:55:51 CDT 2012 x86_64 Intel(R) Core(TM) i3 CPU 540 @ 3.07GHz GenuineIntel GNU/Linux)
Python 2.7.3 (default, Jun 19 2012, 00:38:05)
I just installed wicd on this computer and, when I started it, got this error:
Has notifications support True
Loading...
Connecting to daemon...
Connected.
Traceback (most recent call last):
File "/usr/share/
self.
File "/usr/lib64/
**keywords)
File "/usr/lib64/
message, timeout)
dbus.exceptions
File "/usr/lib64/
retval = candidate_
File "/usr/share/
prop = misc.sanitize_
File "/usr/lib64/
return s.translate(None, table)
TypeError: translate() takes exactly one argument (2 given)
displaytray True
Done loading.
On the next runs, it starts without any problem.
I think it is related to this same problem I just reported, once I try to associate with an AP (in my case, with WEP encryption) I get the following error related to "translate()"
------
setting encryption info... wicd/gtk/ gui.py" , line 732, in connect edit_advanced( None, nettype, networkid, networkentry) wicd/gtk/ gui.py" , line 666, in edit_advanced settings_ dialog( dialog, ttype, networkid, networkentry): wicd/gtk/ gui.py" , line 679, in run_settings_dialog settings( nettype, networkid, networkentry): wicd/gtk/ gui.py" , line 644, in save_settings save_wireless_ settings( networkid) : wicd/gtk/ netentry. py", line 940, in save_wireless_ settings dialog. save_settings( networkid) wicd/gtk/ netentry. py", line 591, in save_settings methods[ self.combo_ encryption. get_active( )]['type' ]) wicd/gtk/ netentry. py", line 532, in set_net_prop SetWirelessProp erty(self. networkID, option, value) python2. 7/site- packages/ dbus/proxies. py", line 140, in __call__ python2. 7/site- packages/ dbus/connection .py", line 630, in call_blocking .DBusException: org.freedesktop .DBus.Python. TypeError: Traceback (most recent call last): python2. 7/site- packages/ dbus/service. py", line 702, in _message_cb method( self, *args, **keywords) wicd/daemon/ wicd-daemon. py", line 1067, in SetWirelessProperty config( prop) python2. 7/site- packages/ wicd/misc. py", line 433, in sanitize_config
Traceback (most recent call last):
File "/usr/share/
self.
File "/usr/share/
if self.run_
File "/usr/share/
if self.save_
File "/usr/share/
if not networkentry.
File "/usr/share/
return self.advanced_
File "/usr/share/
encrypt_
File "/usr/share/
wireless.
File "/usr/lib64/
**keywords)
File "/usr/lib64/
message, timeout)
dbus.exceptions
File "/usr/lib64/
retval = candidate_
File "/usr/share/
prop = misc.sanitize_
File "/usr/lib64/
return s.translate(None, table)
TypeError: translate() takes exactly one argument (2 given)