From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Qe1XX-00015a-Gr for garchives@archives.gentoo.org; Tue, 05 Jul 2011 09:03:31 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ABD3721C0DB; Tue, 5 Jul 2011 09:02:00 +0000 (UTC) Received: from mail-wy0-f181.google.com (mail-wy0-f181.google.com [74.125.82.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 423CF21C0DB for ; Tue, 5 Jul 2011 09:01:59 +0000 (UTC) Received: by wyh22 with SMTP id 22so5429301wyh.40 for ; Tue, 05 Jul 2011 02:01:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding:content-type; bh=tCQwXI4/thbiQObnM4vTbgCKSk8HX715YeICAfKBhdM=; b=f0QPWm0VBfnwXVxXhhzrdBLpd5sg2aFjgokaJhVsMHWAmWroXywxiTRsbzIzrIb8Cp Y0tcndpet2/qhJnboqq9sTxwtW7eIk/Fo3ghx0rNGEJVsD2iKch9z1hSLmCgUhAJ/pyv I1j6JTQf6+/w0GSDCF00V9+hl/2hVzEhkInRM= Received: by 10.216.235.158 with SMTP id u30mr5861765weq.104.1309856519459; Tue, 05 Jul 2011 02:01:59 -0700 (PDT) Received: from nazgul.localnet (196-215-19-196.dynamic.isadsl.co.za [196.215.19.196]) by mx.google.com with ESMTPS id n21sm3517816wed.43.2011.07.05.02.01.56 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 05 Jul 2011 02:01:58 -0700 (PDT) From: Alan McKinnon To: gentoo-user@lists.gentoo.org Cc: Peter Weilbacher Subject: Re: [gentoo-user] wicd fails to set wireless connection Date: Tue, 05 Jul 2011 11:00:57 +0200 Message-ID: <1733345.vhZsb7yjbB@nazgul> User-Agent: KMail/4.6.0 (Linux/2.6.39-ck; KDE/4.6.4; x86_64; ; ) In-Reply-To: References: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" X-Archives-Salt: X-Archives-Hash: ee7accb441804ad8170b5d8c63981ce8 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