Bug 894650

Summary: Can't change network properties in wicd-client
Product: [Fedora] Fedora Reporter: Ivan Mironov <ivan.mironov>
Component: wicdAssignee: David Cantrell <dcantrell>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: dcantrell, jax6, jfarre, k.s.beecher, syl_acclassato
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-04-01 22:23:18 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ivan Mironov 2013-01-12 21:40:01 UTC
Description of problem:
wicd-client throws exception when I try to change properties of some network (wired or wireless).

Version-Release number of selected component (if applicable):
wicd-gtk-1.7.2.4-2.fc18.noarch
wicd-1.7.2.4-2.fc18.x86_64

How reproducible:
Always

Steps to Reproduce:
1. yum install wicd wicd-curses
2. systemctl start wicd.service
3. wicd-client
4. Press "Properties" button for any network
5. Press "OK"
  
Actual results:
Has notifications support True
Loading...
Connecting to daemon...
Connected.
displaytray True
Done loading.
refreshing...
ESSID : mironovs2
ESSID : HEMul
ESSID : sashka
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 658, in save_settings
    if not networkentry.save_wired_settings():
  File "/usr/share/wicd/gtk/netentry.py", line 772, in save_wired_settings
    return self.advanced_dialog.save_settings()
  File "/usr/share/wicd/gtk/netentry.py", line 414, in save_settings
    self.set_net_prop("encryption_enabled", self.chkbox_encryption.get_active())
  File "/usr/share/wicd/gtk/netentry.py", line 368, in set_net_prop
    wired.SetWiredProperty(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 1410, in SetWiredProperty
    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:
Properties should be saved and applied

Comment 1 Ivan Mironov 2013-01-12 22:53:04 UTC
This commit resolves the problem: http://bazaar.launchpad.net/~wicd-devel/wicd/experimental/revision/770

Comment 2 Karl Beecher 2013-02-06 09:10:18 UTC
I'm using the same versions as Ivan. I can confirm the fix he links to works for me to.

Comment 3 David Cantrell 2013-03-14 19:22:11 UTC
*** Bug 903422 has been marked as a duplicate of this bug. ***

Comment 4 David Cantrell 2013-03-14 19:26:04 UTC
*** Bug 917207 has been marked as a duplicate of this bug. ***

Comment 5 Fedora Update System 2013-03-14 19:41:06 UTC
wicd-1.7.2.4-3.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/wicd-1.7.2.4-3.fc18

Comment 6 Fedora Update System 2013-03-16 01:44:39 UTC
Package wicd-1.7.2.4-3.fc18:
* should fix your issue,
* was pushed to the Fedora 18 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-3.fc18'
as soon as you are able to, then reboot.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-3948/wicd-1.7.2.4-3.fc18
then log in and leave karma (feedback).

Comment 7 Jake Jackson 2013-04-01 11:23:53 UTC
jihaa, wicd is working again!

Comment 8 Fedora Update System 2013-04-01 22:23:20 UTC
wicd-1.7.2.4-3.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.