← Back to team overview

openlp-core team mailing list archive

[Bug 1517500] Re: import openlyrics xml - KeyError: 'temporary'

 

I just had a quick look at the code again, and I'm pretty sure it is related to some broken settings related to your formatting tags...
You should be able to fix this cleaning your custom formatting tags, though I realize that might not a attractive route...

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

Title:
  import openlyrics xml - KeyError: 'temporary'

Status in OpenLP:
  Incomplete

Bug description:
  windows 7, Portable OpenLP 2.2.1
  I wanted to import lyric (see attachment), that was exported from version OpenLP 2.1.4
  There was an error:
  Traceback (most recent call last):
    File "D:\OpenLP_Development\OpenLP_Code\2.2\openlp\core\ui\wizard.py", line 216, in on_current_id_changed
    File "D:\OpenLP_Development\OpenLP_Code\2.2\openlp\plugins\songs\forms\songimportform.py", line 348, in perform_wizard
    File "D:\OpenLP_Development\OpenLP_Code\2.2\openlp\plugins\songs\lib\importers\openlyrics.py", line 67, in do_import
    File "D:\OpenLP_Development\OpenLP_Code\2.2\openlp\plugins\songs\lib\openlyricsxml.py", line 389, in xml_to_song
    File "D:\OpenLP_Development\OpenLP_Code\2.2\openlp\plugins\songs\lib\openlyricsxml.py", line 602, in _process_formatting_tags
    File "D:\OpenLP_Development\OpenLP_Code\2.2\openlp\plugins\songs\lib\openlyricsxml.py", line 603, in <listcomp>
  KeyError: 'temporary'

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


References