openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #28840
[Bug 1553863] [NEW] If searching apocrypha book name while 2nd bible does not have it = Traceback
Public bug reported:
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
** Affects: openlp
Importance: Undecided
Status: New
** Description changed:
- For an example searching "Tobit 1" while primary bible is KJV and
- secondary Bible has no apocrypha books.
+ 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
+ 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
--
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:
New
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
Follow ups