Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Crash on tab closing

#245
Application Name: moneyGuru
Version: 2.3.6

Traceback (most recent call last):
 File "/usr/local/share/moneyguru/qt/controller/main_window.py", line 384, in currentTabChanged
   self.model.current_pane_index = index
 File "/usr/local/share/moneyguru/core/gui/main_window.py", line 388, in current_pane_index
   pane = self.panes[value]
IndexError: list index out of range

Then

Application Name: moneyGuru
Version: 2.3.6

Traceback (most recent call last):
 File "/usr/local/share/moneyguru/qt/controller/main_window.py", line 337, in closeTabTriggered
   self.model.close_pane(self.model.current_pane_index)
 File "/usr/local/share/moneyguru/core/gui/main_window.py", line 201, in close_pane
   newindex = self.panes.index(self._current_pane)
ValueError: list.index(x): x not in list

Reported by Virgil Dupras · April 1st, 2011 @ 07:09 PM

State: fixed
Milestone: none
Assigned to: Virgil Dupras Virgil Dupras

Activity

  1. Virgil Dupras
    Virgil Dupras
    • Tag changed from bug to bug, qt
    • State changed from new to accepted

    Oh well, that's an easy one: Under qt, it's possible to close the last tab. Cmon Virgil, that's weak...

    April 18th, 2011 @ 11:46 AM

  2. Virgil Dupras
    Virgil Dupras
    • Assigned user set to Virgil Dupras

    April 18th, 2011 @ 02:16 PM

  3. Virgil Dupras
    Virgil Dupras
    • State changed from accepted to fixed

    (from [2b722abae380]) [#245 Crash on tab closing state:fixed] Fixed a crash under Qt when closing the last tab. https://bitbucket.org/hsoft/moneyguru/changeset/2b722abae380/

    April 18th, 2011 @ 02:38 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.