← Back to team overview

openlp-core team mailing list archive

[Bug 1553863] Re: If searching apocrypha book name while 2nd bible does not have it = Traceback

 

** Branch linked: lp:~tomasgroth/openlp/25bugfixes2

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

Title:
  If searching apocrypha book name while 2nd bible does not have it  =
  Traceback

Status in OpenLP:
  In Progress

Bug description:
  For an example searching "Tobit 1" in Scripture Refence Search while
  primary bible is KJV and secondary Bible has no apocrypha books.

  Traceback (most recent call last):
    File "E:\bzr\openlp\trunk\openlp\plugins\bibles\lib\mediaitem.py", line 702, in on_quick_search_button
      self.display_results(bible, second_bible)
    File "E:\bzr\openlp\trunk\openlp\plugins\bibles\lib\mediaitem.py", line 711, in display_results
      items = self.build_display_results(bible, second_bible, self.search_results)
    File "E:\bzr\openlp\trunk\openlp\plugins\bibles\lib\mediaitem.py", line 763, in build_display_results
      data['second_text'] = self.second_search_results[count].text
  TypeError: 'NoneType' object is not subscriptable

  Win 8.1 / 2.4

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


References