wicd-curses crashes for an IndexError exception
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
wicd |
New
|
Undecided
|
Unassigned | ||
wicd (Arch Linux) |
New
|
Undecided
|
Unassigned | ||
wicd (Debian) |
Fix Released
|
Unknown
|
Bug Description
Distribution: Arch
Package version: 1.7.3
I get this stack trace using wicd-curses in an environment with multiple wifi connection available:
ERROR:dbus.
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/share/
return func(*args, **kargs)
File "/usr/share/
self.
File "/usr/share/
wired.
File "/usr/share/
return self.theList[loc]
IndexError: list index out of range
This error is triggered at exit (i.e. when I press 'q'):
1) when I first run wicd-curses right after boot
2) If a when I first disable wifi (hardware switch), then I reenable it again and rerun wicd-curses
It seems the profiles list is not update correctly in some case, or there is some inconsistency with get_focus().
Changed in wicd (Debian): | |
status: | Unknown → New |
Changed in wicd (Debian): | |
status: | New → Fix Released |
This patch fixes the index out of bounds error by returning the last item in the list when variable loc is not a valid index.