Upstream bug in wicd-cli, fix included.
Posted: 21 Nov 2011, 02:44
Hi. While working with the wicd-cli utility (/usr/share/wicd/cli/wicd-cli.py) I ran across a bug in the option parser that prevents the utility from being used to configure encryption on a wireless network interface. Before the fix, the command wicd-cli --wireless --network=0 --network-property=enctype --set-to=wpa2 would result in the following Python traceback:
options.network_property = options.network_property.lower()
I've fixed it on one of my test boxen and it seems to do the job. You may wish to incorporate the single-character fix in v1.1 of Porteus.
The fix is trivial but crucial:Traceback (most recent call last):
File "/usr/share/wicd/cli/wicd-cli.py", line 146, in <module>
options.network_property = option.network_property.lower()
NameError: name 'option' is not defined
options.network_property = options.network_property.lower()
I've fixed it on one of my test boxen and it seems to do the job. You may wish to incorporate the single-character fix in v1.1 of Porteus.