Crash on re-opening panes on document load
Reported by Virgil Dupras | April 1st, 2011 @ 07:00 PM
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...
Comments and changes to this ticket
-
Virgil Dupras April 18th, 2011 @ 11:39 AM
- State changed from new to accepted
Yup, precisely that:
- New document
- Create account "123".
- Open it in a tab.
- Save and exit.
- Relaunch moneyGuru: crash.
-
Virgil Dupras April 18th, 2011 @ 06:19 PM
- Assigned user set to Virgil Dupras
-
Virgil Dupras April 18th, 2011 @ 06:45 PM
- State changed from accepted to fixed
(from [9615bb3f4c29]) [#244 state:fixed] Fixed crash on re-opening account tabs with numeric data. https://bitbucket.org/hsoft/moneyguru/changeset/9615bb3f4c29/
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.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
People watching this ticket
Tags
Referenced by
- 244 Crash on re-opening panes on document load (from [9615bb3f4c29]) [#244 state:fixed] Fixed crash on r...