[Bug 602825] Re: wicd doesnt like python 2.7
Ricardo Honorato
602825 at bugs.launchpad.net
Tue Oct 5 22:34:35 CEST 2010
Hi all,
To make wicd-daemon.py start, replace the body of method write in /usr/lib/python2.7/site-packages/wicd/configmanager.py (at the end of the file) to pass:
def write(self):
pass
I've checked the files managed by ConfigManager in my box and all of them are empty,
so I think in my box there shouldn't be any problem with this workaround.
The files managed by ConfigManager are:
/etc/wicd/manager-settings.conf
/etc/wicd/wireless-settings.conf
/etc/wicd/wired-settings.conf
The problem now is that, after the daemon and the GUI starts, when I try to connect to any network wicd-gtk says "Disactivating active connections" or something like that and the loading bar freezes. It connects to the network anyways, but then I can't disconnect unless closing wicd-gtk. The last lines of the log file are:
2010/10/05 16:03:47 :: dhcpcd[2241]: forked to background, child pid 2267
2010/10/05 16:03:47 ::
2010/10/05 16:03:47 ::
2010/10/05 16:03:47 :: DHCP connection successful
2010/10/05 16:03:47 :: not verifying
2010/10/05 16:03:47 :: Connecting thread exiting.
wicd version: 1.7.0
Distro: ArchLinux
Hope it helps =)
--
wicd doesnt like python 2.7
https://bugs.launchpad.net/bugs/602825
You received this bug notification because you are subscribed to PLD
Linux.
Status in wicd: Confirmed
Status in PLD Linux Distribution: New
Bug description:
wicd 1.7 pukes these lines out then dies with python 2.7:
---------------------------
wicd initializing...
---------------------------
wicd is version 1.7.0 552
setting backend to external
Traceback (most recent call last):
File "/usr/share/wicd/daemon/wicd-daemon.py", line 1839, in <module>
main(sys.argv)
File "/usr/share/wicd/daemon/wicd-daemon.py", line 1803, in main
daemon = WicdDaemon(wicd_bus, auto_connect=auto_connect)
File "/usr/share/wicd/daemon/wicd-daemon.py", line 115, in __init__
self.ReadConfig()
File "/usr/share/wicd/daemon/wicd-daemon.py", line 885, in ReadConfig
self.SetBackend(app_conf.get("Settings", "backend", default=be_def))
File "/usr/share/wicd/daemon/wicd-daemon.py", line 220, in SetBackend
self.config.set("Settings", "backend", backend, write=True)
File "/usr/lib/python2.7/site-packages/wicd/configmanager.py", line 76, in set
self.set_option(*args, **kargs)
File "/usr/lib/python2.7/site-packages/wicd/configmanager.py", line 72, in set_option
self.write()
File "/usr/lib/python2.7/site-packages/wicd/configmanager.py", line 192, in write
p = copy.deepcopy(self)
File "/usr/lib/python2.7/copy.py", line 163, in deepcopy
y = copier(x, memo)
File "/usr/lib/python2.7/copy.py", line 298, in _deepcopy_inst
state = deepcopy(state, memo)
File "/usr/lib/python2.7/copy.py", line 163, in deepcopy
y = copier(x, memo)
File "/usr/lib/python2.7/copy.py", line 257, in _deepcopy_dict
y[deepcopy(key, memo)] = deepcopy(value, memo)
File "/usr/lib/python2.7/copy.py", line 174, in deepcopy
y = copier(memo)
TypeError: cannot deepcopy this pattern object
More information about the pld-bugs
mailing list