← Back to team overview

openlp-core team mailing list archive

[Bug 1067247] Re: Traceback when importing OpenLyrics file

 

** Changed in: openlp
       Status: In Progress => Fix Committed

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

Title:
  Traceback when importing OpenLyrics file

Status in OpenLP - Worship Presentation Software:
  Fix Committed

Bug description:
  Hello,

  arch linux, r2090

  Try to import the attached song (song taken from the openLyrics
  example songs).

  I am pretty sure that it once imported fine.

  Traceback (most recent call last):
    File "/home/andreas/Projects/OpenLP/trunk/openlp/core/ui/wizard.py", line 187, in onCurrentIdChanged
      self.performWizard()
    File "/home/andreas/Projects/OpenLP/trunk/openlp/plugins/songs/forms/songimportform.py", line 390, in performWizard
      importer.doImport()
    File "/home/andreas/Projects/OpenLP/trunk/openlp/plugins/songs/lib/openlyricsimport.py", line 74, in doImport
      self.openLyrics.xml_to_song(xml)
    File "/home/andreas/Projects/OpenLP/trunk/openlp/plugins/songs/lib/xml.py", line 437, in xml_to_song
      self._process_lyrics(properties, song_xml, song)
    File "/home/andreas/Projects/OpenLP/trunk/openlp/plugins/songs/lib/xml.py", line 774, in _process_lyrics
      verses[(verse_tag, verse_number, lang)] += u'\n' + text
  KeyError: ('v', '1', 'he')

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


References