← Back to team overview

openlp-core team mailing list archive

[Bug 1251437] Re: BibleGateway importer crashes on non unicode urls

 

** Changed in: openlp/trunk
       Status: Confirmed => Fix Committed

** Changed in: openlp/trunk
     Assignee: (unassigned) => Tomas Groth (tomasgroth)

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

Title:
  BibleGateway importer crashes on non unicode urls

Status in OpenLP - Worship Presentation Software:
  Fix Committed
Status in OpenLP 2.0 series:
  Fix Released
Status in OpenLP trunk series:
  Fix Committed

Bug description:
  The user tried to import "Dette er bibelen på dansk" from BibleGateway
  and got the following error. Reported on 2.0.3 confirmed on trunk.

  See: http://support.openlp.org/issues/2139

  *OpenLP fejlrapport*Udgave: {u'full': u'2.0.3', u'version': u'2.0.3', 
  u'build': None}--- Undtagelsens detaljer. ---prøvede at importer en 
  bibel --- Undtagelsens traceback ---Traceback (most recent call last): 
  File 
  D:\OpenLP_Code\2.0\build\pyi.win32\OpenLP\out00-PYZ.pyz\openlp.core.ui.wizard, 
  line 188, in onCurrentIdChanged File 
  D:\OpenLP_Code\2.0\build\pyi.win32\OpenLP\out00-PYZ.pyz\openlp.plugins.bibles.forms.bibleimportform, 
  line 714, in performWizard File 
  D:\OpenLP_Code\2.0\build\pyi.win32\OpenLP\out00-PYZ.pyz\openlp.plugins.bibles.lib.http, 
  line 537, in do_import File 
  D:\OpenLP_Code\2.0\build\pyi.win32\OpenLP\out00-PYZ.pyz\openlp.plugins.bibles.lib.http, 
  line 276, in get_books_from_http File 
  D:\OpenLP_Code\2.0\build\pyi.win32\OpenLP\out00-PYZ.pyz\openlp.core.utils, 
  line 467, in get_web_pageUnicodeDecodeError: 'ascii' codec can't decode 
  byte 0xc3 in position 54: ordinal not in range(128)--- Information om 
  system ---Platform: Windows-7-6.1.7601-SP1--- Biblioteksudgaver 
  ---Python: 2.7.3Qt4: 4.8.3Phonon: 4.4.0PyQt4: 4.9.5QtWebkit: 
  534.34SQLAlchemy: 0.7.7SQLAlchemy Migrate: 0.7.2BeautifulSoup: 
  3.2.1lxml: 2.3.0Chardet: 1.0.1PyEnchant: 1.6.5PySQLite: 1.0.1Mako: 
  0.7.0pyUNO bridge: -Inholdet i fejlrapporten bedes skrives på engelsk, 
  da udviklerne af OpenLP er fra mange forskellige nationaliteter.

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


References