openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #17658
[Bug 1067247] [NEW] Traceback when importing OpenLyrics file
Public bug reported:
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')
** Affects: openlp
Importance: High
Status: New
** Tags: regression
** Attachment added: "Hava Nagila.xml"
https://bugs.launchpad.net/bugs/1067247/+attachment/3399894/+files/Hava%20Nagila.xml
--
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:
New
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
Follow ups
References