CSV bible import fails UnicodeDecodeError: '

Bug #1742390 reported by Azaziah on 2018-01-10
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenLP
Undecided
Unassigned

Bug Description

Traceback (most recent call last):
  File "openlp\core\ui\wizard.py", line 216, in on_current_id_changed
  File "openlp\plugins\bibles\forms\bibleimportform.py", line 632, in perform_wizard
  File "openlp\plugins\bibles\lib\csvbible.py", line 98, in do_import
  File "C:\Python34-32\lib\encodings\ascii.py", line 26, in decode
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe4 in position 1401: ordinal not in range(128)

Win 10, OLP 2.4.6, was trying to test this:
https://bugs.launchpad.net/openlp/+bug/1624850

but the importer crashed, not sure if the same files were used...

Azaziah (suutari-olli) wrote :
Raoul Snyman (raoul-snyman) wrote :

It's not being told which encoding to decode from, so it presumes ascii. Even if we don't use chardet, we should at least ask it to decode from UTF-8.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers