Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#37328 - [wicd-gtk] pre/post-(dis)connect scripts settings per connection not saved

Attached to Project: Arch Linux
Opened by Iacopo Isimbaldi (isiachi) - Monday, 14 October 2013, 10:28 GMT
Last edited by Angel Velasquez (angvp) - Sunday, 08 February 2015, 13:54 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Angel Velasquez (angvp)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
In wicd-gtk it's impossible to save per connections scripts.

Additional info:
* package version: wicd-gtk-1.7.2.4-9
* related files: /usr/share/wicd/gtk/configscript.py

Steps to reproduce:
Select a connection, Settings -> Script -> Insert password -> set your scripts -> OK
But the settings were ignored.

Patch:
--- gtk/configscript.py 2011-11-09 12:17:35 +0000
+++ gtk/configscript.py 2012-11-06 20:25:25 +0000
@@ -92,7 +92,7 @@
con.set(network, "afterscript", script_info["post_entry"])
con.set(network, "predisconnectscript", script_info["pre_disconnect_entry"])
con.set(network, "postdisconnectscript", script_info["post_disconnect_entry"])
- con.write(open(wired_conf, "w"))
+ con.write()
wired.ReloadConfig()
wired.ReadWiredNetworkProfile(network)
wired.SaveWiredNetworkProfile(network)
@@ -103,7 +103,7 @@
con.set(bssid, "afterscript", script_info["post_entry"])
con.set(bssid, "predisconnectscript", script_info["pre_disconnect_entry"])
con.set(bssid, "postdisconnectscript", script_info["post_disconnect_entry"])
- con.write(open(wireless_conf, "w"))
+ con.write()
wireless.ReloadConfig()
wireless.ReadWirelessNetworkProfile(int(network))
wireless.SaveWirelessNetworkProfile(int(network))

http://bazaar.launchpad.net/~wicd-devel/wicd/experimental/revision/828
This task depends upon

Closed by  Angel Velasquez (angvp)
Sunday, 08 February 2015, 13:54 GMT
Reason for closing:  Fixed
Additional comments about closing:  Solved in 1.7.3-1
Comment by Iacopo Isimbaldi (isiachi) - Sunday, 27 October 2013, 20:47 GMT Comment by Iacopo Isimbaldi (isiachi) - Thursday, 05 February 2015, 14:41 GMT
Solved in wicd-gtk-1.7.3-1.

Loading...