Error while upgrading settings

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

Bug Description

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

› ./openlp.py
Traceback (most recent call last):
  File "./openlp.py", line 60, in <module>
    main()
  File "/home/sim/dev/openlp/trunk/openlp/core/app.py", line 402, in main
    settings.upgrade_settings()
  File "/home/sim/dev/openlp/trunk/openlp/core/common/settings.py", line 511, in upgrade_settings
    new_value = new_rule(*old_values)
  File "/home/sim/dev/openlp/trunk/openlp/core/common/path.py", 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']
[None]
['core/logo file']
[None]

I was upgrading from a release of OpenLP to trunk.

Simon Hanna (thelinuxguy) wrote :

The relevant part in the settings looks like this

recent%20files=@Invalid()

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