Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Crash on startup because of bad preferences

#343

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()

Reported by Virgil Dupras · September 24th, 2012 @ 12:07 AM

State: fixed
Milestone: none
Assigned to: Virgil Dupras Virgil Dupras

Activity

  1. Virgil Dupras
    Virgil Dupras
    • Assigned user set to Virgil Dupras

    September 26th, 2012 @ 05:20 PM

  2. Virgil Dupras
    Virgil Dupras
    • State changed from accepted to fixed

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

    September 26th, 2012 @ 05:38 PM

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.