← Back to team overview

openlp-core team mailing list archive

[Bug 1053654] Re: Adding verses from multiple chapters fails

 

** Changed in: openlp
    Milestone: None => 2.0

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

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

** Changed in: openlp
   Importance: Undecided => Medium

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

Title:
  Adding verses from multiple chapters fails

Status in OpenLP - Worship Presentation Software:
  Fix Released

Bug description:
  When adding bible verses from more than one chapter to the preview or
  live view, an error occurs and the traceback below is generated. If
  the selected bible language is the same as the book language of the
  bible, there is no problem. For instance, if the names of the bible
  books in the database are in English, the error occurs if the language
  selection implies anything but English. Please note that currently,
  bug #986495 makes the language selection equal to the application
  language.

  Traceback (most recent call last):
    File "/home/erik/dev/openlp/trunk/openlp/core/lib/mediamanageritem.py", line 493, in onPreviewClick
      serviceItem = self.buildServiceItem()
    File "/home/erik/dev/openlp/trunk/openlp/core/lib/mediamanageritem.py", line 587, in buildServiceItem
      if self.generateSlideData(serviceItem, item, xmlVersion, remote):
    File "/home/erik/dev/openlp/trunk/openlp/plugins/bibles/lib/mediaitem.py", line 950, in generateSlideData
      elif self.checkTitle(bitem, old_item):
    File "/home/erik/dev/openlp/trunk/openlp/plugins/bibles/lib/mediaitem.py", line 1053, in checkTitle
      old_bible, old_book, old_chapter)):
    File "/home/erik/dev/openlp/trunk/openlp/plugins/bibles/lib/manager.py", line 281, in get_verse_count
      book_ref_id = db_book.book_reference_id
  AttributeError: 'NoneType' object has no attribute 'book_reference_id'

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


References