← Back to team overview

openlp-core team mailing list archive

[Bug 701651] Re: Bible download does not work

 

I observed, that bible server does not deliver results for international
bible names, when I download with wget for example. It works with a
browser (tried konqueror and w3m). Maybe we have to play around with
language tags in the User Agent string. If this is not a solution, it
has to wait until we've implemented the bible book names in a nice way.

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

Title:
  Bible download does not work

Status in OpenLP - Worship Presentation Software:
  Confirmed

Bug description:
  Hello!
  trunk r1207 - xubuntu 10.10

  1) Register the "Biblica Vulgata" on bible server.
  2) Search Leviticus 1:1

  Cheers

  Traceback (most recent call last):
    File "/home/andreas/Projekte/openlp/bibles/openlp/plugins/bibles/lib/mediaitem.py", line 525, in onAdvancedSearchButton
      self.search_results = self.parent.manager.get_verses(bible, versetext)
    File "/home/andreas/Projekte/openlp/bibles/openlp/plugins/bibles/lib/manager.py", line 271, in get_verses
      return self.db_cache[bible].get_verses(reflist)
    File "/home/andreas/Projekte/openlp/bibles/openlp/plugins/bibles/lib/http.py", line 443, in get_verses
      search_results = self.get_chapter(book, reference[1])
    File "/home/andreas/Projekte/openlp/bibles/openlp/plugins/bibles/lib/http.py", line 472, in get_chapter
      return handler.get_bible_chapter(self.download_name, book, chapter)
    File "/home/andreas/Projekte/openlp/bibles/openlp/plugins/bibles/lib/http.py", line 271, in get_bible_chapter
      content = soup.find(u'div', u'content').find(u'div').findAll(u'div')
  AttributeError: 'NoneType' object has no attribute 'find'





References