← Back to team overview

openlp-core team mailing list archive

[Bug 1086922] [NEW] OpenLP crashed as I downloaded a bible from Bible Gateway

 

Public bug reported:

**OpenLP Bug Report**
Version: {u'full': u'1.9.12', u'version': u'1.9.12', u'build': None}

--- Details of the Exception. ---

OpenLP crashed as I downloaded a bible from Bible Gateway

 --- Exception Traceback ---
Traceback (most recent call last):
  File "D:\OpenLP_Code\release-1.9.12\build\pyi.win32\OpenLP\out00-PYZ.pyz\openlp.core.ui.wizard", line 187, in onCurrentIdChanged
  File "D:\OpenLP_Code\release-1.9.12\build\pyi.win32\OpenLP\out00-PYZ.pyz\openlp.plugins.bibles.forms.bibleimportform", line 714, in performWizard
  File "D:\OpenLP_Code\release-1.9.12\build\pyi.win32\OpenLP\out00-PYZ.pyz\openlp.plugins.bibles.lib.http", line 531, in do_import
  File "D:\OpenLP_Code\release-1.9.12\build\pyi.win32\OpenLP\out00-PYZ.pyz\openlp.plugins.bibles.lib.http", line 282, in get_books_from_http
  File "C:\Program Files\OpenLP\eggs\beautifulsoup-3.2.1-py2.7.egg\BeautifulSoup.py", line 1522, in __init__
    BeautifulStoneSoup.__init__(self, *args, **kwargs)
  File "C:\Program Files\OpenLP\eggs\beautifulsoup-3.2.1-py2.7.egg\BeautifulSoup.py", line 1147, in __init__
    self._feed(isHTML=isHTML)
  File "C:\Program Files\OpenLP\eggs\beautifulsoup-3.2.1-py2.7.egg\BeautifulSoup.py", line 1171, in _feed
    smartQuotesTo=self.smartQuotesTo, isHTML=isHTML)
  File "C:\Program Files\OpenLP\eggs\beautifulsoup-3.2.1-py2.7.egg\BeautifulSoup.py", line 1773, in __init__
    self._detectEncoding(markup, isHTML)
  File "C:\Program Files\OpenLP\eggs\beautifulsoup-3.2.1-py2.7.egg\BeautifulSoup.py", line 1918, in _detectEncoding
    '^<\?.*encoding=[\'"](.*?)[\'"].*\?>').match(xml_data)
TypeError: expected string or buffer

--- System information ---
Platform: Windows-XP-5.1.2600-SP3

--- Library Versions ---
Python: 2.7.3
Qt4: 4.7.3
Phonon: 4.4.0
PyQt4: 4.8.5
QtWebkit: 533.3
SQLAlchemy: 0.7.7
SQLAlchemy Migrate: 0.7.2
BeautifulSoup: 3.2.1
lxml: 2.3.0
Chardet: 1.0.1
PyEnchant: 1.6.5
PySQLite: 1.0.1
Mako: 0.7.0
pyUNO bridge: -

** Affects: openlp
     Importance: Undecided
         Status: New

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

Title:
  OpenLP crashed as I downloaded a bible from Bible Gateway

Status in OpenLP - Worship Presentation Software:
  New

Bug description:
  **OpenLP Bug Report**
  Version: {u'full': u'1.9.12', u'version': u'1.9.12', u'build': None}

  --- Details of the Exception. ---

  OpenLP crashed as I downloaded a bible from Bible Gateway

   --- Exception Traceback ---
  Traceback (most recent call last):
    File "D:\OpenLP_Code\release-1.9.12\build\pyi.win32\OpenLP\out00-PYZ.pyz\openlp.core.ui.wizard", line 187, in onCurrentIdChanged
    File "D:\OpenLP_Code\release-1.9.12\build\pyi.win32\OpenLP\out00-PYZ.pyz\openlp.plugins.bibles.forms.bibleimportform", line 714, in performWizard
    File "D:\OpenLP_Code\release-1.9.12\build\pyi.win32\OpenLP\out00-PYZ.pyz\openlp.plugins.bibles.lib.http", line 531, in do_import
    File "D:\OpenLP_Code\release-1.9.12\build\pyi.win32\OpenLP\out00-PYZ.pyz\openlp.plugins.bibles.lib.http", line 282, in get_books_from_http
    File "C:\Program Files\OpenLP\eggs\beautifulsoup-3.2.1-py2.7.egg\BeautifulSoup.py", line 1522, in __init__
      BeautifulStoneSoup.__init__(self, *args, **kwargs)
    File "C:\Program Files\OpenLP\eggs\beautifulsoup-3.2.1-py2.7.egg\BeautifulSoup.py", line 1147, in __init__
      self._feed(isHTML=isHTML)
    File "C:\Program Files\OpenLP\eggs\beautifulsoup-3.2.1-py2.7.egg\BeautifulSoup.py", line 1171, in _feed
      smartQuotesTo=self.smartQuotesTo, isHTML=isHTML)
    File "C:\Program Files\OpenLP\eggs\beautifulsoup-3.2.1-py2.7.egg\BeautifulSoup.py", line 1773, in __init__
      self._detectEncoding(markup, isHTML)
    File "C:\Program Files\OpenLP\eggs\beautifulsoup-3.2.1-py2.7.egg\BeautifulSoup.py", line 1918, in _detectEncoding
      '^<\?.*encoding=[\'"](.*?)[\'"].*\?>').match(xml_data)
  TypeError: expected string or buffer

  --- System information ---
  Platform: Windows-XP-5.1.2600-SP3

  --- Library Versions ---
  Python: 2.7.3
  Qt4: 4.7.3
  Phonon: 4.4.0
  PyQt4: 4.8.5
  QtWebkit: 533.3
  SQLAlchemy: 0.7.7
  SQLAlchemy Migrate: 0.7.2
  BeautifulSoup: 3.2.1
  lxml: 2.3.0
  Chardet: 1.0.1
  PyEnchant: 1.6.5
  PySQLite: 1.0.1
  Mako: 0.7.0
  pyUNO bridge: -

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


Follow ups

References