New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash on startup because of bad preferences #343

Closed
hsoft opened this Issue Jun 22, 2013 · 1 comment

Comments

Projects
None yet
1 participant
@hsoft
Owner

hsoft commented Jun 22, 2013

I get this crash on startup on Linux:

@@@
Traceback (most recent call last):
File "run.py", line 62, in
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()
@@@

@hsoft hsoft closed this Jun 22, 2013

@hsoft

This comment has been minimized.

Owner

hsoft commented Jun 22, 2013

(from [086259bf34b2]) [#343 state:fixed] Fixed crash on startup under Linux due to bad preferences.
https://bitbucket.org/hsoft/moneyguru/changeset/086259bf34b2/

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