#343 ✓fixed
Virgil Dupras

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

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

Tags

Pages