#244 ✓fixed
Virgil Dupras

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

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.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Shared Ticket Bins

People watching this ticket


Referenced by