openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #15048
[Bug 953240] Re: OpenSong importer crashes at v1a verse markup
** Branch linked: lp:openlp
--
You received this bug notification because you are a member of OpenLP
Core, which is subscribed to OpenLP.
https://bugs.launchpad.net/bugs/953240
Title:
OpenSong importer crashes at v1a verse markup
Status in OpenLP - Worship Presentation Software:
Fix Committed
Bug description:
Importing the following OpenSong song fails:
[V1a]
Suur on su ustavus
[V1b]
suur on su ustavus
Such markup is totally valid for OpenSong:
http://sourceforge.net/tracker/?func=detail&aid=3459158&group_id=108754&atid=651379
The original report is at:
http://support.openlp.org/issues/347
Traceback (most recent call last):
File "/home/mattias/Arendus/OpenLP/openlp/openlp/core/ui/wizard.py", line 191, in onCurrentIdChanged
self.performWizard()
File "/home/mattias/Arendus/OpenLP/openlp/openlp/plugins/songs/forms/songimportform.py", line 771, in performWizard
importer.doImport()
File "/home/mattias/Arendus/OpenLP/openlp/openlp/plugins/songs/lib/opensongimport.py", line 116, in doImport
self.doImportFile(song_file)
File "/home/mattias/Arendus/OpenLP/openlp/openlp/plugins/songs/lib/opensongimport.py", line 226, in doImportFile
self.addVerse(lines, verse_def)
File "/home/mattias/Arendus/OpenLP/openlp/openlp/plugins/songs/lib/songimport.py", line 256, in addVerse
elif int(verse_def[1:]) > self.verseCounts[verse_def[0]]:
ValueError: invalid literal for int() with base 10: '1a'
To manage notifications about this bug go to:
https://bugs.launchpad.net/openlp/+bug/953240/+subscriptions
References