Public bug reported:

Entering "gen 1v1-end" in the quick search on the bible media tab gives
me the following traceback

As I understand if "end" is used then it should find all verses to the
end of the passage.

Trunk r2479
Biblegateway Gods Word translation

Traceback (most recent call last):
  File 
"/home/phill/Projects/openlp/trunk/openlp/plugins/bibles/lib/mediaitem.py", 
line 659, in on_quick_search_button
    self.search_results = self.plugin.manager.get_verses(bible, text)
  File 
"/home/phill/Projects/openlp/trunk/openlp/plugins/bibles/lib/manager.py", line 
274, in get_verses
    ref_list = parse_reference(verse_text, self.db_cache[bible], 
language_selection, book_ref_id)
  File 
"/home/phill/Projects/openlp/trunk/openlp/plugins/bibles/lib/__init__.py", line 
374, in parse_reference
    if to_chapter > from_chapter:
TypeError: unorderable types: NoneType() > int()

** Affects: openlp
     Importance: Low
         Status: New

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

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

Title:
  Bible quick search to end does not work

Status in OpenLP - Worship Presentation Software:
  New

Bug description:
  Entering "gen 1v1-end" in the quick search on the bible media tab
  gives me the following traceback

  As I understand if "end" is used then it should find all verses to the
  end of the passage.

  Trunk r2479
  Biblegateway Gods Word translation

  Traceback (most recent call last):
    File 
"/home/phill/Projects/openlp/trunk/openlp/plugins/bibles/lib/mediaitem.py", 
line 659, in on_quick_search_button
      self.search_results = self.plugin.manager.get_verses(bible, text)
    File 
"/home/phill/Projects/openlp/trunk/openlp/plugins/bibles/lib/manager.py", line 
274, in get_verses
      ref_list = parse_reference(verse_text, self.db_cache[bible], 
language_selection, book_ref_id)
    File 
"/home/phill/Projects/openlp/trunk/openlp/plugins/bibles/lib/__init__.py", line 
374, in parse_reference
      if to_chapter > from_chapter:
  TypeError: unorderable types: NoneType() > int()

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

_______________________________________________
Mailing list: https://launchpad.net/~openlp-core
Post to     : openlp-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openlp-core
More help   : https://help.launchpad.net/ListHelp

Reply via email to