* [gentoo-user] wicd fails to set wireless connection
@ 2011-07-05 8:32 Peter Weilbacher
2011-07-05 9:00 ` Alan McKinnon
2011-07-05 13:22 ` Mick
0 siblings, 2 replies; 4+ messages in thread
From: Peter Weilbacher @ 2011-07-05 8:32 UTC (permalink / raw
To: gentoo-user
Since yesterday I cannot use wicd any more to get a wireless connection (wired
still works fine). I think this has to do with a dbus update, but I'm not sure.
I have done several restarts, re-emerged all relevant packages (dbus, dbus-python,
wicd) but still it stops shortly after clicking the connect button in the GUI
window, saying "Disconnecting active connections..." in the status bar (even though
no connections were active).
If I start wicd-gtk from the command line I sometimes get the errors below, but
often it just "hangs". wicd-curses always fails reliably with the output below.
Does that ring a bell with someone?
Cheers,
Peter.
$ wicd-gtk
Has notifications support True
Loading...
Connecting to daemon...
Connected.
displaytray True
Done loading.
Traceback (most recent call last):
File "/usr/share/wicd/gtk/wicd-client.py", line 645, in network_selected
wireless.ConnectWireless(net_id)
File "/usr/lib64/python2.7/site-packages/dbus/proxies.py", line 140, in __call__
**keywords)
File "/usr/lib64/python2.7/site-packages/dbus/connection.py", line 630, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Python.MemoryError: Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/dbus/service.py", line 702, in _message_cb
retval = candidate_method(self, *args, **keywords)
File "/usr/share/wicd/daemon/wicd-daemon.py", line 1168, in ConnectWireless
self.SaveWirelessNetworkProfile(id)
File "/usr/share/wicd/daemon/wicd-daemon.py", line 1278, in SaveWirelessNetworkProfile
self.config.write()
File "/usr/lib64/python2.7/site-packages/wicd/configmanager.py", line 218, in write
p.set(sname, iname, value)
File "/usr/lib64/python2.7/site-packages/wicd/configmanager.py", line 87, in set
self.set_option(*args, **kargs)
File "/usr/lib64/python2.7/site-packages/wicd/configmanager.py", line 77, in set_option
value = to_unicode(value)
File "/usr/lib64/python2.7/site-packages/wicd/misc.py", line 390, in to_unicode
ret = x.decode(encoding).encode('utf-8')
MemoryError
$ wicd-curses
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.
Traceback (most recent call last):
File "/usr/share/wicd/curses/wicd-curses.py", line 905, in call_update_ui
self.update_ui(True)
File "/usr/share/wicd/curses/wicd-curses.py", line 89, in wrapper
return func(*args, **kargs)
File "/usr/share/wicd/curses/wicd-curses.py", line 916, in update_ui
self.handle_keys(input_data[1])
File "/usr/share/wicd/curses/wicd-curses.py", line 837, in handle_keys
self.connect("wireless",pos)
File "/usr/share/wicd/curses/wicd-curses.py", line 930, in connect
wireless.ConnectWireless(networkid)
File "/usr/lib64/python2.7/site-packages/dbus/proxies.py", line 140, in __call__
**keywords)
File "/usr/lib64/python2.7/site-packages/dbus/connection.py", line 630, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Python.MemoryError: Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/dbus/service.py", line 702, in _message_cb
retval = candidate_method(self, *args, **keywords)
File "/usr/share/wicd/daemon/wicd-daemon.py", line 1168, in ConnectWireless
self.SaveWirelessNetworkProfile(id)
File "/usr/share/wicd/daemon/wicd-daemon.py", line 1278, in SaveWirelessNetworkProfile
self.config.write()
File "/usr/lib64/python2.7/site-packages/wicd/configmanager.py", line 218, in write
p.set(sname, iname, value)
File "/usr/lib64/python2.7/site-packages/wicd/configmanager.py", line 87, in set
self.set_option(*args, **kargs)
File "/usr/lib64/python2.7/site-packages/wicd/configmanager.py", line 77, in set_option
value = to_unicode(value)
File "/usr/lib64/python2.7/site-packages/wicd/misc.py", line 390, in to_unicode
ret = x.decode(encoding).encode('utf-8')
MemoryError
$ emerge -vp wicd dbus dbus-python
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] sys-apps/dbus-1.4.12 USE="X -debug -doc (-selinux) -static-libs -test" 0 kB
[ebuild R ] dev-python/dbus-python-0.83.2 USE="-doc -examples -test" 0 kB
[ebuild R ] net-misc/wicd-1.7.1_beta2-r4 USE="X gtk libnotify ncurses nls pm-utils (-ioctl)" 0 kB
Total: 3 packages (3 reinstalls), Size of downloads: 0 kB
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] wicd fails to set wireless connection
2011-07-05 8:32 [gentoo-user] wicd fails to set wireless connection Peter Weilbacher
@ 2011-07-05 9:00 ` Alan McKinnon
2011-07-05 13:22 ` Mick
1 sibling, 0 replies; 4+ messages in thread
From: Alan McKinnon @ 2011-07-05 9:00 UTC (permalink / raw
To: gentoo-user; +Cc: Peter Weilbacher
On Tuesday 05 July 2011 10:32:44 Peter Weilbacher did opine thusly:
> Since yesterday I cannot use wicd any more to get a wireless
> connection (wired still works fine). I think this has to do with a
> dbus update, but I'm not sure. I have done several restarts,
> re-emerged all relevant packages (dbus, dbus-python, wicd) but
> still it stops shortly after clicking the connect button in the GUI
> window, saying "Disconnecting active connections..." in the status
> bar (even though no connections were active).
>
> If I start wicd-gtk from the command line I sometimes get the errors
> below, but often it just "hangs". wicd-curses always fails reliably
> with the output below. Does that ring a bell with someone?
Is dbus actually running?
/etc/init.d/dbus status
ps axu | grep dbus
I had an issue recently where the init script claimed dbus was running
but ps proved it had died
>
> Cheers,
> Peter.
>
> $ wicd-gtk
> Has notifications support True
> Loading...
> Connecting to daemon...
> Connected.
> displaytray True
> Done loading.
> Traceback (most recent call last):
> File "/usr/share/wicd/gtk/wicd-client.py", line 645, in
> network_selected wireless.ConnectWireless(net_id)
> File "/usr/lib64/python2.7/site-packages/dbus/proxies.py", line
> 140, in __call__ **keywords)
> File "/usr/lib64/python2.7/site-packages/dbus/connection.py",
> line 630, in call_blocking message, timeout)
> dbus.exceptions.DBusException:
> org.freedesktop.DBus.Python.MemoryError: Traceback (most recent
> call last): File
> "/usr/lib64/python2.7/site-packages/dbus/service.py", line 702, in
> _message_cb retval = candidate_method(self, *args, **keywords)
> File "/usr/share/wicd/daemon/wicd-daemon.py", line 1168, in
> ConnectWireless self.SaveWirelessNetworkProfile(id)
> File "/usr/share/wicd/daemon/wicd-daemon.py", line 1278, in
> SaveWirelessNetworkProfile self.config.write()
> File "/usr/lib64/python2.7/site-packages/wicd/configmanager.py",
> line 218, in write p.set(sname, iname, value)
> File "/usr/lib64/python2.7/site-packages/wicd/configmanager.py",
> line 87, in set self.set_option(*args, **kargs)
> File "/usr/lib64/python2.7/site-packages/wicd/configmanager.py",
> line 77, in set_option value = to_unicode(value)
> File "/usr/lib64/python2.7/site-packages/wicd/misc.py", line 390,
> in to_unicode ret = x.decode(encoding).encode('utf-8')
> MemoryError
>
>
> $ wicd-curses
>
>
> 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. Traceback (most recent call last):
> File "/usr/share/wicd/curses/wicd-curses.py", line 905, in
> call_update_ui self.update_ui(True)
> File "/usr/share/wicd/curses/wicd-curses.py", line 89, in wrapper
> return func(*args, **kargs)
> File "/usr/share/wicd/curses/wicd-curses.py", line 916, in
> update_ui self.handle_keys(input_data[1])
> File "/usr/share/wicd/curses/wicd-curses.py", line 837, in
> handle_keys self.connect("wireless",pos)
> File "/usr/share/wicd/curses/wicd-curses.py", line 930, in
> connect wireless.ConnectWireless(networkid)
> File "/usr/lib64/python2.7/site-packages/dbus/proxies.py", line
> 140, in __call__ **keywords)
> File "/usr/lib64/python2.7/site-packages/dbus/connection.py",
> line 630, in call_blocking message, timeout)
> dbus.exceptions.DBusException:
> org.freedesktop.DBus.Python.MemoryError: Traceback (most recent
> call last): File
> "/usr/lib64/python2.7/site-packages/dbus/service.py", line 702, in
> _message_cb retval = candidate_method(self, *args, **keywords)
> File "/usr/share/wicd/daemon/wicd-daemon.py", line 1168, in
> ConnectWireless self.SaveWirelessNetworkProfile(id)
> File "/usr/share/wicd/daemon/wicd-daemon.py", line 1278, in
> SaveWirelessNetworkProfile self.config.write()
> File "/usr/lib64/python2.7/site-packages/wicd/configmanager.py",
> line 218, in write p.set(sname, iname, value)
> File "/usr/lib64/python2.7/site-packages/wicd/configmanager.py",
> line 87, in set self.set_option(*args, **kargs)
> File "/usr/lib64/python2.7/site-packages/wicd/configmanager.py",
> line 77, in set_option value = to_unicode(value)
> File "/usr/lib64/python2.7/site-packages/wicd/misc.py", line 390,
> in to_unicode ret = x.decode(encoding).encode('utf-8')
> MemoryError
>
>
> $ emerge -vp wicd dbus dbus-python
>
> These are the packages that would be merged, in order:
>
> Calculating dependencies... done!
> [ebuild R ] sys-apps/dbus-1.4.12 USE="X -debug -doc (-selinux)
> -static-libs -test" 0 kB [ebuild R ]
> dev-python/dbus-python-0.83.2 USE="-doc -examples -test" 0 kB
> [ebuild R ] net-misc/wicd-1.7.1_beta2-r4 USE="X gtk libnotify
> ncurses nls pm-utils (-ioctl)" 0 kB
>
> Total: 3 packages (3 reinstalls), Size of downloads: 0 kB
--
alan dot mckinnon at gmail dot com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] wicd fails to set wireless connection
2011-07-05 8:32 [gentoo-user] wicd fails to set wireless connection Peter Weilbacher
2011-07-05 9:00 ` Alan McKinnon
@ 2011-07-05 13:22 ` Mick
2011-07-05 22:13 ` [gentoo-user] " Peter Weilbacher
1 sibling, 1 reply; 4+ messages in thread
From: Mick @ 2011-07-05 13:22 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: Text/Plain, Size: 742 bytes --]
On Tuesday 05 Jul 2011 09:32:44 Peter Weilbacher wrote:
> Since yesterday I cannot use wicd any more to get a wireless connection
> (wired still works fine). I think this has to do with a dbus update, but
> I'm not sure.
If you have emerged python recently and switched to 2.7, did you remember to
run python-updater?
> I have done several restarts, re-emerged all relevant
> packages (dbus, dbus-python, wicd) but still it stops shortly after
> clicking the connect button in the GUI window, saying "Disconnecting
> active connections..." in the status bar (even though no connections were
> active).
Did you restart dbus? (you'll need to log out of X to do this or it will crash
you out of it).
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* [gentoo-user] Re: wicd fails to set wireless connection
2011-07-05 13:22 ` Mick
@ 2011-07-05 22:13 ` Peter Weilbacher
0 siblings, 0 replies; 4+ messages in thread
From: Peter Weilbacher @ 2011-07-05 22:13 UTC (permalink / raw
To: gentoo-user
On 05.07.2011 15:22, Mick wrote:
> On Tuesday 05 Jul 2011 09:32:44 Peter Weilbacher wrote:
>> Since yesterday I cannot use wicd any more to get a wireless connection
>> (wired still works fine). I think this has to do with a dbus update, but
>> I'm not sure.
>
> If you have emerged python recently and switched to 2.7, did you remember to
> run python-updater?
No, I switched to 2.7 months ago and it has worked fine since then. I noticed
that python 2.7.2 also got installed yesterday, but reverting to 2.7.1-r1 does
not change the behavior or the message.
python-updater only complains about libreoffice-bin and emul-linux-x86-baselibs,
probably because they contain their own binary copies of some non-2.7 python
stuff.
>> I have done several restarts, re-emerged all relevant
>> packages (dbus, dbus-python, wicd) but still it stops shortly after
>> clicking the connect button in the GUI window, saying "Disconnecting
>> active connections..." in the status bar (even though no connections were
>> active).
>
> Did you restart dbus? (you'll need to log out of X to do this or it will crash
> you out of it).
I actually meant "reboot" above where I wrote "restart".
Cheers,
Peter.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-07-05 22:15 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-05 8:32 [gentoo-user] wicd fails to set wireless connection Peter Weilbacher
2011-07-05 9:00 ` Alan McKinnon
2011-07-05 13:22 ` Mick
2011-07-05 22:13 ` [gentoo-user] " Peter Weilbacher
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox