Gentoo Archives: gentoo-user

From: Peter Weilbacher <newsspam@××××××××××.org>
To: gentoo-user@l.g.o
Subject: [gentoo-user] wicd fails to set wireless connection
Date: Tue, 05 Jul 2011 08:34:45
Message-Id: iuui7k$paa$1@dough.gmane.org
1 Since yesterday I cannot use wicd any more to get a wireless connection (wired
2 still works fine). I think this has to do with a dbus update, but I'm not sure.
3 I have done several restarts, re-emerged all relevant packages (dbus, dbus-python,
4 wicd) but still it stops shortly after clicking the connect button in the GUI
5 window, saying "Disconnecting active connections..." in the status bar (even though
6 no connections were active).
7
8 If I start wicd-gtk from the command line I sometimes get the errors below, but
9 often it just "hangs". wicd-curses always fails reliably with the output below.
10 Does that ring a bell with someone?
11
12 Cheers,
13 Peter.
14
15 $ wicd-gtk
16 Has notifications support True
17 Loading...
18 Connecting to daemon...
19 Connected.
20 displaytray True
21 Done loading.
22 Traceback (most recent call last):
23 File "/usr/share/wicd/gtk/wicd-client.py", line 645, in network_selected
24 wireless.ConnectWireless(net_id)
25 File "/usr/lib64/python2.7/site-packages/dbus/proxies.py", line 140, in __call__
26 **keywords)
27 File "/usr/lib64/python2.7/site-packages/dbus/connection.py", line 630, in call_blocking
28 message, timeout)
29 dbus.exceptions.DBusException: org.freedesktop.DBus.Python.MemoryError: Traceback (most recent call last):
30 File "/usr/lib64/python2.7/site-packages/dbus/service.py", line 702, in _message_cb
31 retval = candidate_method(self, *args, **keywords)
32 File "/usr/share/wicd/daemon/wicd-daemon.py", line 1168, in ConnectWireless
33 self.SaveWirelessNetworkProfile(id)
34 File "/usr/share/wicd/daemon/wicd-daemon.py", line 1278, in SaveWirelessNetworkProfile
35 self.config.write()
36 File "/usr/lib64/python2.7/site-packages/wicd/configmanager.py", line 218, in write
37 p.set(sname, iname, value)
38 File "/usr/lib64/python2.7/site-packages/wicd/configmanager.py", line 87, in set
39 self.set_option(*args, **kargs)
40 File "/usr/lib64/python2.7/site-packages/wicd/configmanager.py", line 77, in set_option
41 value = to_unicode(value)
42 File "/usr/lib64/python2.7/site-packages/wicd/misc.py", line 390, in to_unicode
43 ret = x.decode(encoding).encode('utf-8')
44 MemoryError
45
46
47 $ wicd-curses
48
49
50 DBus failure! This is most likely caused by the wicd daemon stopping while wicd-curses is running. Please restart the daemon, and then restart wicd-curses.
51 Traceback (most recent call last):
52 File "/usr/share/wicd/curses/wicd-curses.py", line 905, in call_update_ui
53 self.update_ui(True)
54 File "/usr/share/wicd/curses/wicd-curses.py", line 89, in wrapper
55 return func(*args, **kargs)
56 File "/usr/share/wicd/curses/wicd-curses.py", line 916, in update_ui
57 self.handle_keys(input_data[1])
58 File "/usr/share/wicd/curses/wicd-curses.py", line 837, in handle_keys
59 self.connect("wireless",pos)
60 File "/usr/share/wicd/curses/wicd-curses.py", line 930, in connect
61 wireless.ConnectWireless(networkid)
62 File "/usr/lib64/python2.7/site-packages/dbus/proxies.py", line 140, in __call__
63 **keywords)
64 File "/usr/lib64/python2.7/site-packages/dbus/connection.py", line 630, in call_blocking
65 message, timeout)
66 dbus.exceptions.DBusException: org.freedesktop.DBus.Python.MemoryError: Traceback (most recent call last):
67 File "/usr/lib64/python2.7/site-packages/dbus/service.py", line 702, in _message_cb
68 retval = candidate_method(self, *args, **keywords)
69 File "/usr/share/wicd/daemon/wicd-daemon.py", line 1168, in ConnectWireless
70 self.SaveWirelessNetworkProfile(id)
71 File "/usr/share/wicd/daemon/wicd-daemon.py", line 1278, in SaveWirelessNetworkProfile
72 self.config.write()
73 File "/usr/lib64/python2.7/site-packages/wicd/configmanager.py", line 218, in write
74 p.set(sname, iname, value)
75 File "/usr/lib64/python2.7/site-packages/wicd/configmanager.py", line 87, in set
76 self.set_option(*args, **kargs)
77 File "/usr/lib64/python2.7/site-packages/wicd/configmanager.py", line 77, in set_option
78 value = to_unicode(value)
79 File "/usr/lib64/python2.7/site-packages/wicd/misc.py", line 390, in to_unicode
80 ret = x.decode(encoding).encode('utf-8')
81 MemoryError
82
83
84 $ emerge -vp wicd dbus dbus-python
85
86 These are the packages that would be merged, in order:
87
88 Calculating dependencies... done!
89 [ebuild R ] sys-apps/dbus-1.4.12 USE="X -debug -doc (-selinux) -static-libs -test" 0 kB
90 [ebuild R ] dev-python/dbus-python-0.83.2 USE="-doc -examples -test" 0 kB
91 [ebuild R ] net-misc/wicd-1.7.1_beta2-r4 USE="X gtk libnotify ncurses nls pm-utils (-ioctl)" 0 kB
92
93 Total: 3 packages (3 reinstalls), Size of downloads: 0 kB

Replies

Subject Author
Re: [gentoo-user] wicd fails to set wireless connection Alan McKinnon <alan.mckinnon@×××××.com>
Re: [gentoo-user] wicd fails to set wireless connection Mick <michaelkintzios@×××××.com>