Error while upgrading settings

Bug #1786601 reported by Simon Hanna
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenLP
Expired
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.

Revision history for this message
Simon Hanna (thelinuxguy) wrote :

The relevant part in the settings looks like this

recent%20files=@Invalid()

the logo file is missing

Revision history for this message
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)
Changed in openlp:
status: New → Incomplete
importance: Undecided → Medium
Revision history for this message
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...

Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.