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