← Back to team overview

openlp-core team mailing list archive

[Bug 1051051] Re: Error when searching Biblegateway Het Boek Bible

 

** Branch linked: lp:~raoul-snyman/openlp/bug-1051051

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

Title:
  Error when searching Biblegateway Het Boek Bible

Status in OpenLP - Worship Presentation Software:
  New

Bug description:
  I added the Het Boek Biblegateway web Bible.
   
  Searching for Exodus 10:4-10 crashed with the following:

  This gave me the following trace:

  Traceback (most recent call last):
    File "C:\Users\Jonathan\Documents\projects\openlp\bug-1049977\openlp\plugins\bibles\lib\mediaitem.py", line 762, in onQuickSearchButton
      self.search_results = self.plugin.manager.get_verses(bible, text)
    File "C:\Users\Jonathan\Documents\projects\openlp\bug-1049977\openlp\plugins\bibles\lib\manager.py", line 331, in get_verses
      return self.db_cache[bible].get_verses(reflist, show_error)
    File "C:\Users\Jonathan\Documents\projects\openlp\bug-1049977\openlp\plugins\bibles\lib\http.py", line 600, in get_verses
      search_results = self.get_chapter(book, reference[1])
    File "C:\Users\Jonathan\Documents\projects\openlp\bug-1049977\openlp\plugins\bibles\lib\http.py", line 629, in get_chapter
      return handler.get_bible_chapter(self.download_name, book, chapter)
    File "C:\Users\Jonathan\Documents\projects\openlp\bug-1049977\openlp\plugins\bibles\lib\http.py", line 240, in get_bible_chapter
      verse_list = self._extract_verses(span_list)
    File "C:\Users\Jonathan\Documents\projects\openlp\bug-1049977\openlp\plugins\bibles\lib\http.py", line 160, in _extract_verses
      verses.append((int(verse.strip()), text))
  ValueError: invalid literal for int() with base 10: '4-5'

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


References