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 re-opening panes on document load

#244
This has happened twice. I know I've saved the file and re-opened and then this happens:

 
Application Name: moneyGuru
Version: 2.3.6

Traceback (most recent call last):
  File "qt\controller\document.py", line 86, in openDocument
  File "qt\controller\document.py", line 75, in open
  File "core\document.py", line 707, in load_from_xml
  File "core\document.py", line 231, in _restore_preferences_after_load
  File "hscommon\notify.py", line 19, in notify
  File "hscommon\notify.py", line 67, in dispatch
  File "hscommon\notify.py", line 52, in dispatch
  File "core\gui\main_window.py", line 482, in document_restoring_preferences
  File "core\gui\main_window.py", line 128, in _restore_opened_panes
  File "core\model\account.py", line 123, in find
AttributeError: 'int' object has no attribute 'lower'

My guess would be that an opened account has an entirely numerical name and that Qt's pref reading automatically gives an int instead of a string. Weak...

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

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

Activity

  1. Virgil Dupras
    Virgil Dupras
    • State changed from new to accepted

    Yup, precisely that:

    1. New document
    2. Create account "123".
    3. Open it in a tab.
    4. Save and exit.
    5. Relaunch moneyGuru: crash.

    April 18th, 2011 @ 11:39 AM

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

    April 18th, 2011 @ 06:19 PM

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

    April 18th, 2011 @ 06:45 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.