CSV bible import fails UnicodeDecodeError: '

Bug #1742390 reported by Azaziah
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenLP
Fix Committed
Low
Phill

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...

Related branches

Revision history for this message
Azaziah (suutari-olli) wrote :
Revision history for this message
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.

Revision history for this message
Phill (phill-ridout) wrote :
Changed in openlp:
status: New → Fix Committed
importance: Undecided → Low
assignee: nobody → Phill (phill-ridout)
Tim Bentley (trb143)
Changed in openlp:
milestone: none → 2.9.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.