OpenSong Song Import Fails

Bug #875286 reported by Kevin Waddell
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenLP
Fix Released
Medium
Meinert Jordan

Bug Description

OS: Ubuntu 10.10
OpenLP 1.9.7 (2.0 Beta 3)

I am trying to import a huge collection of songs, but am getting this error when I try to import some of the songs:

Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/openlp/core/ui/wizard.py", line 191, in onCurrentIdChanged
    self.performWizard()
  File "/usr/lib/pymodules/python2.6/openlp/plugins/songs/forms/songimportform.py", line 762, in performWizard
    importer.doImport()
  File "/usr/lib/pymodules/python2.6/openlp/plugins/songs/lib/opensongimport.py", line 116, in doImport
    self.doImportFile(song_file)
  File "/usr/lib/pymodules/python2.6/openlp/plugins/songs/lib/opensongimport.py", line 197, in doImportFile
    verse_tag = VerseType.Tags[verse_index]
TypeError: list indices must be integers, not NoneType

That second last line leaves me thinking it is because some of our verse tags are non-standard such as [CModulation] instead of [C] or [PC1] instead of [P]. If I change the tags in one of the files to a more standard tag, then song import will work fine for that particular song.

Meinert Jordan (m2j)
Changed in openlp:
assignee: nobody → m2j (m2j)
status: New → Fix Committed
Changed in openlp:
importance: Undecided → Medium
milestone: none → 1.9.8
Tim Bentley (trb143)
Changed in openlp:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.