Comment 17 for bug 422675

Revision history for this message
d3b null (d3b-null) wrote : Re: [Bug 422675] Re: wicd gtk client freezes and curses client crashes when connecting

I've tryed the fix you proposed and now the GUI interface doesn't feeze and
curses doesn't crash. But, due to Murphy's law, I still can't connecting to
the wireless because wicd tryes to get an IP by DHCP insted of use the
configured static IP address.

I guess I have to report another bug.... or could it be related in some
way??

Thanks !

On Fri, Sep 11, 2009 at 01:42, Dan O'Reilly <email address hidden> wrote:

> It looks like you didn't put the str() around self.LastScan[id]['essid']
> as I suggested previously. That will fix the crash. Just be sure to
> restart the daemon after you make the change.
>
> --
> wicd gtk client freezes and curses client crashes when connecting
> https://bugs.launchpad.net/bugs/422675
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in wicd: In Progress
> Status in “wicd” package in Debian: New
>
> Bug description:
> I'm using wicd 1.6.2.1-1 from debian sid.
>
> My wireless network essid is an integer (essid composed only by numerical
> characters).
>
> When I try to connect via GTK client to my network, interface just freezes.
>
> When I try to connect via ncurses client, I get this:
>
> Traceback (most recent call last):
> File "/usr/share/wicd/wicd-curses.py", line 89, in wrapper
> return func(*args, **kargs)
> File "/usr/share/wicd/wicd-curses.py", line 918, in update_ui
> self.handle_keys(keys)
> File "/usr/share/wicd/wicd-curses.py", line 834, in handle_keys
> self.connect("wireless",pos)
> File "/usr/share/wicd/wicd-curses.py", line 929, in connect
> wireless.ConnectWireless(networkid)
> File "/usr/lib/pymodules/python2.5/dbus/proxies.py", line 140, in __call__
> **keywords)
> File "/usr/lib/pymodules/python2.5/dbus/connection.py", line 622, in
> call_blocking
> message, timeout)
> dbus.exceptions.DBusException: org.freedesktop.DBus.Python.TypeError:
> Traceback (most recent call last):
> File "/usr/lib/pymodules/python2.5/dbus/service.py", line 702, in
> _message_cb
> retval = candidate_method(self, *args, **keywords)
> File "/usr/share/wicd/wicd-daemon.py", line 1147, in ConnectWireless
> print 'Connecting to wireless network ' + self.LastScan[id]['essid']
> TypeError: cannot concatenate 'str' and 'int' objects
>
>
> It seems that for some reason, self.LastScan[id]['essid'] returns the
> integer value instead of a string value with a number.
>