Crash on startup because of bad preferences
Reported by Virgil Dupras | September 24th, 2012 @ 12:07 AM
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 September 26th, 2012 @ 05:20 PM
- Assigned user set to Virgil Dupras
-
Virgil Dupras September 26th, 2012 @ 05:38 PM
- 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 ยป