← Back to team overview

openlp-core team mailing list archive

[Bug 1746350] [NEW] Exception importing Words of Worship songs

 

Public bug reported:

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/core/widgets/wizard.py", line 228, in on_current_id_changed
    self.perform_wizard()
  File "openlp/plugins/songs/forms/songimportform.py", line 331, in perform_wizard
    importer.do_import()
  File "openlp/plugins/songs/lib/importers/wordsofworship.py", line 142, in do_import
    block_type = BLOCK_TYPES[ord(song_data.read(4)[:1])]
IndexError: tuple index out of range

You can get the songs from
https://support.openlp.org/scp/tickets.php?id=4485

** Affects: openlp
     Importance: Medium
         Status: Confirmed

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

Title:
  Exception importing Words of Worship songs

Status in OpenLP:
  Confirmed

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/core/widgets/wizard.py", line 228, in on_current_id_changed
      self.perform_wizard()
    File "openlp/plugins/songs/forms/songimportform.py", line 331, in perform_wizard
      importer.do_import()
    File "openlp/plugins/songs/lib/importers/wordsofworship.py", line 142, in do_import
      block_type = BLOCK_TYPES[ord(song_data.read(4)[:1])]
  IndexError: tuple index out of range

  You can get the songs from
  https://support.openlp.org/scp/tickets.php?id=4485

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


Follow ups