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

Bug #1553863 reported by Azaziah
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Committed
Tomas Groth
Fix Released
Tomas Groth

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

Related branches

Azaziah (suutari-olli)
description: updated
Tomas Groth (tomasgroth)
Changed in openlp:
assignee: nobody → Tomas Groth (tomasgroth)
importance: Undecided → Low
status: New → In Progress
Tim Bentley (trb143)
Changed in openlp:
status: In Progress → Fix Committed
milestone: none → 2.5.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers