--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: wicd gui doesn't update pre/post connection script settings
- From: Ralph Ronnquist <ralph.ronnquist@gmail.com>
- Date: Tue, 07 Aug 2012 15:58:59 +1000
- Message-id: <20120807055859.27642.88853.reportbug@studio.home>
Package: wicd
Version: 1.7.2.4-2
Severity: normal
Tags: patch
Dear Maintainer,
I had the problem that the wicd GUI did not keep any changes that I
made to the pre/post connection script settings, via the property
window for an interface.
After some digging, it appears that the ConsoleManager interface
got changed to have "write()" without arguments, so I patched my
/usr/share/wicd/gtk/configscript.py for this, according to the
following diff:
-----------------
95c95,96
< con.write(open(wired_conf, "w"))
---
> #con.write(open(wired_conf, "w"))
> con.write()
106c107,108
< con.write(open(wireless_conf, "w"))
---
> #con.write(open(wireless_conf, "w"))
> con.write()
-----------------
That seems to have made it work for me.
regards,
Ralph.
-- System Information:
Debian Release: 6.0.5
APT prefers testing
APT policy: (1001, 'testing'), (1000, 'stable'), (500, 'stable-updates')
Architecture: i386 (i686)
Kernel: Linux 3.2.0-2-686-pae (SMP w/8 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages wicd depends on:
ii wicd-daemon 1.7.2.4-2
ii wicd-gtk [wicd-client] 1.7.2.4-2
wicd recommends no packages.
wicd suggests no packages.
Versions of packages wicd-gtk depends on:
ii python 2.7.3~rc2-1
ii python-glade2 2.24.0-3
ii python-gtk2 2.24.0-3
ii wicd-daemon 1.7.2.4-2
Versions of packages wicd-gtk recommends:
ii gksu 2.0.2-5
ii python-notify 0.1.1-3
Versions of packages wicd-daemon depends on:
ii adduser 3.112+nmu2
ii dbus 1.2.24-4+squeeze1
ii debconf 1.5.36.1
ii iproute 20100519-3
ii iputils-ping 3:20100418-3
ii isc-dhcp-client [dhcp3-client] 4.1.1-P1-15+squeeze3
ii lsb-base 3.2-23.2squeeze1
ii net-tools 1.60-23
ii psmisc 22.11-1
ii python 2.7.3~rc2-1
ii python-dbus 1.1.0-1
ii python-gobject 3.2.2-1
ii python-wicd 1.7.2.4-2
ii wireless-tools 30~pre9-8
ii wpasupplicant 0.6.10-2.1
Versions of packages wicd-daemon recommends:
ii wicd-gtk [wicd-client] 1.7.2.4-2
Versions of packages wicd-daemon suggests:
ii pm-utils 1.3.0-3
Versions of packages python-wicd depends on:
ii python 2.7.3~rc2-1
ii python2.6 2.6.6-8+b1
ii python2.7 2.7.3~rc2-2.1
-- debconf information:
* wicd/users:
--- End Message ---