← Back to team overview

openlp-core team mailing list archive

[Bug 779995] [NEW] FoilPresenter songs with verses without text cause a traceback

 

Public bug reported:

Hello,

You cannot import a song which has a verse without text.

Traceback (most recent call last):
  File "/home/andreas/Projekte/openlp/fixes/openlp/core/ui/wizard.py", line 190, in onCurrentIdChanged
    self.performWizard()
  File "/home/andreas/Projekte/openlp/fixes/openlp/plugins/songs/forms/songimportform.py", line 753, in performWizard
    importer.do_import()
  File "/home/andreas/Projekte/openlp/fixes/openlp/plugins/songs/lib/foilpresenterimport.py", line 131, in do_import
    self.FoilPresenter.xml_to_song(xml)
  File "/home/andreas/Projekte/openlp/fixes/openlp/plugins/songs/lib/foilpresenterimport.py", line 231, in xml_to_song
    self._process_lyrics(foilpresenterfolie, song)
  File "/home/andreas/Projekte/openlp/fixes/openlp/plugins/songs/lib/foilpresenterimport.py", line 425, in _process_lyrics
    text = self._child(strophe.text_)
  File "lxml.objectify.pyx", line 226, in lxml.objectify.ObjectifiedElement.__getattr__ (src/lxml/lxml.objectify.c:2832)
  File "lxml.objectify.pyx", line 485, in lxml.objectify._lookupChildOrRaise (src/lxml/lxml.objectify.c:5310)
AttributeError: no such child: text_

Running trunk r1527.

http://openlp.org/de/forums/languagespecific_support/deutsch_german/foilpresenter_import_fehlermeldung.html
(German)

** Affects: openlp
     Importance: Undecided
         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/779995

Title:
  FoilPresenter songs with verses without text cause a traceback

Status in OpenLP - Worship Presentation Software:
  New

Bug description:
  Hello,

  You cannot import a song which has a verse without text.

  Traceback (most recent call last):
    File "/home/andreas/Projekte/openlp/fixes/openlp/core/ui/wizard.py", line 190, in onCurrentIdChanged
      self.performWizard()
    File "/home/andreas/Projekte/openlp/fixes/openlp/plugins/songs/forms/songimportform.py", line 753, in performWizard
      importer.do_import()
    File "/home/andreas/Projekte/openlp/fixes/openlp/plugins/songs/lib/foilpresenterimport.py", line 131, in do_import
      self.FoilPresenter.xml_to_song(xml)
    File "/home/andreas/Projekte/openlp/fixes/openlp/plugins/songs/lib/foilpresenterimport.py", line 231, in xml_to_song
      self._process_lyrics(foilpresenterfolie, song)
    File "/home/andreas/Projekte/openlp/fixes/openlp/plugins/songs/lib/foilpresenterimport.py", line 425, in _process_lyrics
      text = self._child(strophe.text_)
    File "lxml.objectify.pyx", line 226, in lxml.objectify.ObjectifiedElement.__getattr__ (src/lxml/lxml.objectify.c:2832)
    File "lxml.objectify.pyx", line 485, in lxml.objectify._lookupChildOrRaise (src/lxml/lxml.objectify.c:5310)
  AttributeError: no such child: text_

  Running trunk r1527.

  http://openlp.org/de/forums/languagespecific_support/deutsch_german/foilpresenter_import_fehlermeldung.html
  (German)


Follow ups

References