openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #17829
[Bug 1073061] Re: Song importer repeatVerse function crashes on no verse order
--- Exception Traceback ---
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/openlp/core/ui/wizard.py", line
187, in onCurrentIdChanged
self.performWizard()
File
"/usr/lib/pymodules/python2.7/openlp/plugins/songs/forms/songimportform.py",
line 390, in performWizard
importer.doImport()
File
"/usr/lib/pymodules/python2.7/openlp/plugins/songs/lib/oooimport.py",
line 85, in doImport
self.processOooDocument()
File
"/usr/lib/pymodules/python2.7/openlp/plugins/songs/lib/sofimport.py",
line 91, in processOooDocument
self.processSofFile()
File
"/usr/lib/pymodules/python2.7/openlp/plugins/songs/lib/sofimport.py",
line 106, in processSofFile
self.processParagraph(paragraph)
File
"/usr/lib/pymodules/python2.7/openlp/plugins/songs/lib/sofimport.py",
line 136, in processParagraph
self.processParagraphText(text)
File
"/usr/lib/pymodules/python2.7/openlp/plugins/songs/lib/sofimport.py",
line 143, in processParagraphText
self.processParagraphLine(line)
File
"/usr/lib/pymodules/python2.7/openlp/plugins/songs/lib/sofimport.py",
line 180, in processParagraphLine
self.repeatVerse()
File
"/usr/lib/pymodules/python2.7/openlp/plugins/songs/lib/songimport.py",
line 277, in repeatVerse
self.verseOrderListGenerated[-1])
IndexError: list index out of range
** Changed in: openlp
Importance: Undecided => Medium
** Changed in: openlp
Status: New => Confirmed
** Changed in: openlp
Assignee: (unassigned) => phill (phill-ridout)
** Changed in: openlp
Status: Confirmed => In Progress
** Changed in: openlp
Milestone: None => 2.0
** Tags added: song song-import support-system
--
You received this bug notification because you are a member of OpenLP
Core, which is subscribed to OpenLP.
https://bugs.launchpad.net/bugs/1073061
Title:
Song importer repeatVerse function crashes on no verse order
Status in OpenLP - Worship Presentation Software:
In Progress
Bug description:
Song importer repeatVerse function crashes on no verse order.
This is because it assumes that the verse order list is has an Item and selects the last item. Where there is no verse order, this causes an index error.
This bug was reported with the "Songs of Fellowship" importer, but in
theory could affect all importers.
http://support.openlp.org/issues/1631
Seen on both Ubuntu 12.04, and confirmed on Windows 7
To manage notifications about this bug go to:
https://bugs.launchpad.net/openlp/+bug/1073061/+subscriptions
References