Bug 981667 - Exceptions when changing properties in wicd-gtk
Summary: Exceptions when changing properties in wicd-gtk
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: wicd
Version: 19
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: David Cantrell
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-05 12:44 UTC by Stephen So
Modified: 2014-01-11 08:39 UTC (History)
2 users (show)

Fixed In Version: wicd-1.7.2.4-7.fc19
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-11 08:36:55 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Stephen So 2013-07-05 12:44:10 UTC
Description of problem:

wicd-gtk is throwing exceptions when changing properties or setting encryption.  Basically it renders wicd-gtk useless since I cannot add a passphrase.


Version-Release number of selected component (if applicable):

wicd-1.7.2.4-6.fc19.x86_64


How reproducible:  Always


Steps to Reproduce:
1.  Start wicd-gtk
2.  Click on "Automatically connect..." in the wireless network

Actual results:

Exceptions thrown (from terminal):

Traceback (most recent call last):
  File "/usr/share/wicd/gtk/netentry.py", line 945, in update_autoconnect
    noneToString(self.chkbox_autoconnect.
  File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 145, in __call__
    **keywords)
  File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Python.TypeError: Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/dbus/service.py", line 707, in _message_cb
    retval = candidate_method(self, *args, **keywords)
  File "/usr/share/wicd/daemon/wicd-daemon.py", line 1066, in SetWirelessProperty
    prop = misc.sanitize_config(prop)
  File "/usr/lib/python2.7/site-packages/wicd/misc.py", line 433, in sanitize_config
    return s.translate(None, table)
TypeError: translate() takes exactly one argument (2 given)


Expected results:

Shouldn't complain

Additional info:

When setting the encryption passphrase in the properties window, it throws the following exception as well


setting encryption info...
Traceback (most recent call last):
  File "/usr/share/wicd/gtk/gui.py", line 676, in edit_advanced
    if self.run_settings_dialog(dialog, ttype, networkid, networkentry):
  File "/usr/share/wicd/gtk/gui.py", line 689, in run_settings_dialog
    if self.save_settings(nettype, networkid, networkentry):
  File "/usr/share/wicd/gtk/gui.py", line 654, 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/site-packages/dbus/proxies.py", line 145, in __call__
    **keywords)
  File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Python.TypeError: Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/dbus/service.py", line 707, in _message_cb
    retval = candidate_method(self, *args, **keywords)
  File "/usr/share/wicd/daemon/wicd-daemon.py", line 1066, in SetWirelessProperty
    prop = misc.sanitize_config(prop)
  File "/usr/lib/python2.7/site-packages/wicd/misc.py", line 433, in sanitize_config
    return s.translate(None, table)
TypeError: translate() takes exactly one argument (2 given)

Comment 1 Zac Bristow 2013-07-25 07:43:53 UTC
Found this was reported and fixed upstream at https://bugs.launchpad.net/wicd/+bug/993912, with a simple patch, http://bazaar.launchpad.net/~wicd-devel/wicd/experimental/revision/770, to fix the error.

Comment 2 Fedora Update System 2013-12-09 15:28:53 UTC
wicd-1.7.2.4-7.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/wicd-1.7.2.4-7.fc19

Comment 3 Fedora Update System 2013-12-09 15:47:27 UTC
wicd-1.7.2.4-8.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/wicd-1.7.2.4-8.fc20

Comment 4 Fedora Update System 2013-12-09 20:24:39 UTC
Package wicd-1.7.2.4-8.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing wicd-1.7.2.4-8.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-23022/wicd-1.7.2.4-8.fc20
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2014-01-11 08:36:55 UTC
wicd-1.7.2.4-8.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2014-01-11 08:39:12 UTC
wicd-1.7.2.4-7.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.