Crash on re-opening panes on document load #244

hsoft opened this Issue Jun 22, 2013 · 2 comments


None yet

1 participant

hsoft commented Jun 22, 2013

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\", line 86, in openDocument
File "qt\controller\", line 75, in open
File "core\", line 707, in load_from_xml
File "core\", line 231, in _restore_preferences_after_load
File "hscommon\", line 19, in notify
File "hscommon\", line 67, in dispatch
File "hscommon\", line 52, in dispatch
File "core\gui\", line 482, in document_restoring_preferences
File "core\gui\", line 128, in _restore_opened_panes
File "core\model\", 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...

@hsoft hsoft closed this Jun 22, 2013
hsoft commented Jun 22, 2013

Yup, precisely that:

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

(from [9615bb3f4c29]) [#244 state:fixed] Fixed crash on re-opening account tabs with numeric data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment