← Back to team overview

openlp-core team mailing list archive

[Bug 952254] [NEW] OpenLP crash when opening service

 

Public bug reported:

When loading my service, I now get this error. This didn't occur prior
to r1896

Traceback (most recent call last):
  File "openlp\plugins\songs\lib\mediaitem.py", line 578, in serviceLoad
    song = self.openLyrics.xml_to_song(item.xml_version, True)
  File "openlp\plugins\songs\lib\xml.py", line 385, in xml_to_song
    self._process_lyrics(properties, song_xml, song)
  File "openlp\plugins\songs\lib\xml.py", line 724, in _process_lyrics
    verses[(verse_tag, verse_number, lang)] = text
  File "lxml.objectify.pyx", line 344, in lxml.objectify.ObjectifiedElement.__setitem__ (src/lxml/lxml.objectify.c:3749)
TypeError: 'tuple' object cannot be interpreted as an index

Seems to be due to "Bless the Lord oh my soul" in the attached service.

** Affects: openlp
     Importance: Critical
         Status: New

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

Title:
  OpenLP crash when opening service

Status in OpenLP - Worship Presentation Software:
  New

Bug description:
  When loading my service, I now get this error. This didn't occur prior
  to r1896

  Traceback (most recent call last):
    File "openlp\plugins\songs\lib\mediaitem.py", line 578, in serviceLoad
      song = self.openLyrics.xml_to_song(item.xml_version, True)
    File "openlp\plugins\songs\lib\xml.py", line 385, in xml_to_song
      self._process_lyrics(properties, song_xml, song)
    File "openlp\plugins\songs\lib\xml.py", line 724, in _process_lyrics
      verses[(verse_tag, verse_number, lang)] = text
    File "lxml.objectify.pyx", line 344, in lxml.objectify.ObjectifiedElement.__setitem__ (src/lxml/lxml.objectify.c:3749)
  TypeError: 'tuple' object cannot be interpreted as an index

  Seems to be due to "Bless the Lord oh my soul" in the attached
  service.

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


Follow ups

References