← Back to team overview

openlp-core team mailing list archive

[Bug 819271] Re: Web NIV download from Bibleserver crashes if book only has 1 chapter eg Philemon

 

** Changed in: openlp
       Status: Confirmed => In Progress

** Changed in: openlp
     Assignee: (unassigned) => mahfiaz (mahfiaz)

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

Title:
  Web NIV download from Bibleserver crashes if book only has 1 chapter
  eg Philemon

Status in OpenLP - Worship Presentation Software:
  In Progress

Bug description:
  1) Windows XP Home Edition. Build 2600.xpsp_sp3_gdr.101209-1647n(service pack 3)
  2) OpenLP 1.9.6
  3) Click on Bibles tab
       In 'Find' box select 'Scripture Reference' and type in 'Philemon 1' (or any other single chapter book)
       Select version NIV
       Select Layout style: Verse per Slide
       Click 'Search'
  4)  Program crashes with the following traceback:
  Traceback (most recent call last):
    File "D:\OpenLP_Code\Trunk\build\pyi.win32\OpenLP\outPYZ1.pyz/openlp.plugins.bibles.lib.mediaitem", line 666, in onQuickSearchButton
    File "D:\OpenLP_Code\Trunk\build\pyi.win32\OpenLP\outPYZ1.pyz/openlp.plugins.bibles.lib.manager", line 308, in get_verses
    File "D:\OpenLP_Code\Trunk\build\pyi.win32\OpenLP\outPYZ1.pyz/openlp.plugins.bibles.lib.http", line 483, in get_verses
    File "D:\OpenLP_Code\Trunk\build\pyi.win32\OpenLP\outPYZ1.pyz/openlp.plugins.bibles.lib.http", line 512, in get_chapter
    File "D:\OpenLP_Code\Trunk\build\pyi.win32\OpenLP\outPYZ1.pyz/openlp.plugins.bibles.lib.http", line 224, in get_bible_chapter
  ValueError: invalid literal for int() with base 10: '001 bgcolor_overlay'

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


References