← Back to team overview

openlp-core team mailing list archive

[Bug 1251437] [NEW] BibleGateway importer crashes on non ASCII names

 

Public bug reported:

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.

** Affects: openlp
     Importance: Medium
         Status: Confirmed

** Affects: openlp/2.0
     Importance: Medium
         Status: Confirmed

** Affects: openlp/trunk
     Importance: Medium
         Status: Confirmed


** Tags: bible bible-import support-system

** Also affects: openlp/2.0
   Importance: Undecided
       Status: New

** Also affects: openlp/trunk
   Importance: Undecided
       Status: New

** Changed in: openlp/2.0
    Milestone: None => 2.0.4

** Changed in: openlp/trunk
    Milestone: None => 2.1.1

** Changed in: openlp/2.0
       Status: New => Confirmed

** Changed in: openlp/trunk
       Status: New => Confirmed

** Changed in: openlp/2.0
   Importance: Undecided => Medium

** Changed in: openlp/trunk
   Importance: Undecided => Medium

** Tags added: bible bible-import support-system

-- 
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 ASCII names

Status in OpenLP - Worship Presentation Software:
  Confirmed
Status in OpenLP 2.0 series:
  Confirmed
Status in OpenLP trunk series:
  Confirmed

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


Follow ups

References