wicd-curses crashes on trying to select wired encryption type

Bug #930711 reported by Joe MacMahon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
wicd
Fix Released
Medium
Joe MacMahon

Bug Description

This bug was introduced (by me >.>) in version 1.7.1, as part of the wired encryption feature.

Steps to reproduce:
1. Open up wicd-curses, and go to the configuration menu for the wired interface
2. Enable encryption
3. Try to select the encryption type from the menu
4. Program crashes

This can be worked around by not trying to change the encryption type on the wired network (there is only one type available currently anyway).

Error:
~ $ wicd-curses

Traceback (most recent call last):
  File "/usr/share/wicd/curses/wicd-curses.py", line 921, 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 932, in update_ui
    self.handle_keys(input_data[1])
  File "/usr/share/wicd/curses/wicd-curses.py", line 907, in handle_keys
    k = self.frame.keypress(self.size,k)
  File "/usr/lib/python2.7/site-packages/urwid/container.py", line 641, in keypress
    return self.body.keypress( (maxcol, remaining), key )
  File "/usr/lib/python2.7/site-packages/urwid/container.py", line 641, in keypress
    return self.body.keypress( (maxcol, remaining), key )
  File "/usr/lib/python2.7/site-packages/urwid/listbox.py", line 766, in keypress
    key = focus_widget.keypress((maxcol,),key)
  File "/usr/share/wicd/curses/curses_misc.py", line 405, in keypress
    raise ComboBoxException('ComboBox must be built before use!')
curses_misc.ComboBoxException: ComboBox must be built before use!

Related branches

Joe MacMahon (jmacmahon)
Changed in wicd:
assignee: nobody → Joe MacMahon (n3hima)
status: New → In Progress
Joe MacMahon (jmacmahon)
Changed in wicd:
status: In Progress → Fix Committed
David Paleino (dpaleino)
Changed in wicd:
milestone: none → 1.7.2
importance: Undecided → Medium
David Paleino (dpaleino)
Changed in wicd:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.