← Back to team overview

openlp-core team mailing list archive

[Bug 875286] Re: OpenSong Song Import Fails

 

** Changed in: openlp
     Assignee: (unassigned) => m2j (m2j)

** Changed in: openlp
       Status: New => Fix Committed

-- 
You received this bug notification because you are a member of OpenLP
Core, which is subscribed to OpenLP.
https://bugs.launchpad.net/bugs/875286

Title:
  OpenSong Song Import Fails

Status in OpenLP - Worship Presentation Software:
  Fix Committed

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openlp/+bug/875286/+subscriptions


References