Crash on startup because of bad preferences
Reported by Virgil Dupras | 2012-09-24 00:07:10 UTC
I get this crash on startup on Linux:
Traceback (most recent call last):
File "run.py", line 62, in <module>
sys.exit(main(sys.argv))
File "run.py", line 50, in main
mgapp = MoneyGuru()
File "/home/hsoft/src/moneyguru/qt/app.py", line 38, in __init__
self.prefs.load()
File "/home/hsoft/src/moneyguru/qtlib/preferences.py", line 84, in load
self._load_values(self._settings)
File "/home/hsoft/src/moneyguru/qt/preferences.py", line 20, in _load_values
self.recentDocuments = list(filter(op.exists, self.recentDocuments))
TypeError: 'NoneType' object is not iterable
This is because, somehow, a bad pref snuck into my config file:
RecentDocuments=@Invalid()
Comments and changes to this ticket
-

Virgil Dupras 2012-09-26 17:20:56 UTC
- Assigned user set to Virgil Dupras
-

Virgil Dupras 2012-09-26 17:38:32 UTC
- State changed from accepted to fixed
(from [086259bf34b2]) [#343 state:fixed] Fixed crash on startup under Linux due to bad preferences. https://bitbucket.org/hsoft/moneyguru/changeset/086259bf34b2/
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 ยป