Error while upgrading settings

Bug #1786601 reported by Simon Hanna on 2018-08-11
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

I'm running into this error when upgrading the settings.

› ./
Traceback (most recent call last):
  File "./", line 60, in <module>
  File "/home/sim/dev/openlp/trunk/openlp/core/", line 402, in main
  File "/home/sim/dev/openlp/trunk/openlp/core/common/", line 511, in upgrade_settings
    new_value = new_rule(*old_values)
  File "/home/sim/dev/openlp/trunk/openlp/core/common/", line 209, in str_to_path
    raise TypeError('parameter \'string\' must be of type str, found {} instead'.format(type(string)))
TypeError: parameter 'string' must be of type str, found <class 'NoneType'> instead

The problem is the following settings
['core/recent files']
['core/logo file']

I was upgrading from a release of OpenLP to trunk.

Simon Hanna (thelinuxguy) wrote :

The relevant part in the settings looks like this


the logo file is missing

Phill (phill-ridout) wrote :

Simon, I cannot replicate this. I don't suppose you can share an old copy of the settings file could you? You can find backed up versions in ~/.local/share/openlp/{time/date}.config

Phill (phill-ridout) on 2019-03-16
Changed in openlp:
status: New → Incomplete
importance: Undecided → Medium
Simon Hanna (thelinuxguy) wrote :

I'm not sure if I can replicate it and I don't have any complete settings. I shared what my settings looked like...

Launchpad Janitor (janitor) wrote :

[Expired for OpenLP because there has been no activity for 60 days.]

Changed in openlp:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers