wicd-cli cannot save configuration
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
wicd (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
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_
config.
elif options.wired:
config.
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.
elif options.wired:
wired.
op_performed = True
Version information:~$ apt-cache policy wicd-curses
wicd-curses:
Installed: 1.7.0+ds1-
Candidate: 1.7.0+ds1-
Version table:
*** 1.7.0+ds1-
500 http://
500 http://
100 /var/lib/
1.7.0+ds1-6 0
500 http://