Public bug reported:
This problem occurs on Ubuntu 11.10 and 12.04.
Using the "--save" option in wicd-cli generates error strings and does
not save the configuration. The problem is due to some simple bugs in
the script. The "save" functionality is implemented near the end. The
bogus code reads like so:
if options.save and options.network > -1:
if options.wireless:
is_valid_wireless_network_id(options.network)
config.SaveWirelessNetworkProfile(options.network)
elif options.wired:
config.SaveWiredNetworkProfile(options.name)
op_performed = True
However, the "config" object does not implement the Save methods; these
methods are implemented in the "wired" and "wireless" objects.
if options.save and options.network > -1:
if options.wireless:
is_valid_wireless_network_id(options.network)
wireless.SaveWirelessNetworkProfile(options.network)
elif options.wired:
wired.SaveWiredNetworkProfile(options.name)
op_performed = True
Version information:~$ apt-cache policy wicd-curses
wicd-curses:
Installed: 1.7.0+ds1-6ubuntu0.11.10.1
Candidate: 1.7.0+ds1-6ubuntu0.11.10.1
Version table:
*** 1.7.0+ds1-6ubuntu0.11.10.1 0
500 http://ports.ubuntu.com/ubuntu-ports/ oneiric-security/universe
armel Packages
500 http://ports.ubuntu.com/ubuntu-ports/ oneiric-updates/universe
armel Packages
100 /var/lib/dpkg/status
1.7.0+ds1-6 0
500 http://ports.ubuntu.com/ubuntu-ports/ oneiric/universe armel
Packages
** Affects: wicd (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1033804
Title:
wicd-cli cannot save configuration
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/wicd/+bug/1033804/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs