← Back to team overview

openlp-core team mailing list archive

[Bug 1786601] [NEW] Error while upgrading settings

 

Public bug reported:

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.

** Affects: openlp
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of OpenLP
Core, which is subscribed to OpenLP.
https://bugs.launchpad.net/bugs/1786601

Title:
  Error while upgrading settings

Status in OpenLP:
  New

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openlp/+bug/1786601/+subscriptions


Follow ups