Error when pressing [ENTER] in an empty list

Bug #243007 reported by Gernot
2
Affects Status Importance Assigned to Milestone
Moovida
Fix Released
Low
Unassigned

Bug Description

when pressing the enter key in an empty list or list_preview you get an Error:
IndexError: list index out of range

Traceback (most recent call last):
  File "C:\elisa_win32\upicek_network\elisa-plugins\elisa\plugins\pigment\widgets\list.py", line 546, in do_clicked
    item_clicked = self.model[index_clicked]
IndexError: list index out of range

Tags: for-anyone

Related branches

Changed in elisa:
importance: Undecided → Low
milestone: none → 0.5.1-win32-alpha3
status: New → Confirmed
Revision history for this message
Florian Boucault (fboucault) wrote :

The bug described does not match with the traceback. That is the real traceback:

Traceback (most recent call last):
  File "/home/kaleo/dev/elisa/upicek/elisa-plugins/elisa/plugins/pigment/pigment_frontend.py", line 396, in handle_input
    self.controller.handle_input(input_manager, input_event)
  File "/home/kaleo/dev/elisa/upicek/elisa-plugins/elisa/plugins/poblesec/main.py", line 170, in handle_input
    if self.focused_controller.handle_input(manager, input_event) == True:
  File "/home/kaleo/dev/elisa/upicek/elisa-plugins/elisa/plugins/poblesec/poblesec_browser_controller.py", line 597, in handle_input
    self.history.current.handle_input(manager, input_event) == True:
  File "/home/kaleo/dev/elisa/upicek/elisa-plugins/elisa/plugins/poblesec/vertical_list.py", line 58, in handle_input
    return super(VerticalListController, self).handle_input(manager, input_event)
  File "/home/kaleo/dev/elisa/upicek/elisa-plugins/elisa/plugins/poblesec/list_controller.py", line 65, in handle_input
    item = self.nodes.model[self.nodes.selected_item_index]
IndexError: list index out of range

The traceback in the description is a real one though and now fixed.

Changed in elisa:
milestone: 0.5.1-win32-alpha3 → 0.5.1
yyoyo (lionel.martin)
Changed in elisa:
status: Confirmed → Fix Committed
Changed in elisa:
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.