Exception importing Words of Worship songs
Bug #1746350 reported by
Raoul Snyman
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenLP |
Fix Committed
|
Medium
|
Phill |
Bug Description
A user is having a problem with importing his Words of Worship songs. Here's a traceback I was able to reproduce with his songs:
Traceback (most recent call last):
File "openlp/
self.
File "openlp/
importer.
File "openlp/
block_type = BLOCK_TYPES[
IndexError: tuple index out of range
You can get the songs from https:/
Related branches
lp://qastaging/~phill-ridout/openlp/wow_import_fixes
- Tim Bentley: Approve
-
Diff: 746 lines (+467/-100)12 files modifiedopenlp/core/common/i18n.py (+2/-1)
openlp/core/lib/__init__.py (+54/-1)
openlp/core/ui/formattingtagcontroller.py (+1/-1)
openlp/core/widgets/edits.py (+1/-1)
openlp/plugins/songs/lib/importers/wordsofworship.py (+146/-79)
tests/functional/openlp_core/lib/test_lib.py (+180/-2)
tests/functional/openlp_plugins/songs/test_wordsofworshipimport.py (+36/-12)
tests/resources/songs/wordsofworship/Amazing Grace (6 Verses)_v2_1_2.json (+1/-1)
tests/resources/songs/wordsofworship/Holy Holy Holy Lord God Almighty_v2_1_2.json (+1/-1)
tests/resources/songs/wordsofworship/Test_Song_v2_0_0.json (+18/-0)
tests/resources/songs/wordsofworship/Test_Song_v2_1_2.json (+26/-0)
tests/resources/songs/wordsofworship/When morning gilds the skies_v2_0_0.json (+1/-1)
Changed in openlp: | |
status: | Confirmed → Fix Committed |
milestone: | none → 2.9.1 |
Changed in openlp: | |
assignee: | nobody → Phill (phill-ridout) |
To post a comment you must log in.
I have been having this same issue - it appears to be related to minor words (which show as different coloured text on the display screen, and non-bold text on the operator screen) as all other files are importing properly.
This is obviously a commonly used feature in WoW for songs where men & women sing different lines, or for instructions like (repeat) for the congregation.