← Back to team overview

openlp-core team mailing list archive

[Bug 1582152] [NEW] SongPro import fails with traceback

 

Public bug reported:

Original reported in https://support.openlp.org/scp/tickets.php?id=3443
including sample file.

Trying to import the file causes this traceback:
Traceback (most recent call last):
  File "/home/tgc/projects/OpenLP/code/trunk/openlp/core/ui/lib/wizard.py", line 219, in on_current_id_changed
    self.perform_wizard()
  File "/home/tgc/projects/OpenLP/code/trunk/openlp/plugins/songs/forms/songimportform.py", line 351, in perform_wizard
    importer.do_import()
  File "/home/tgc/projects/OpenLP/code/trunk/openlp/plugins/songs/lib/importers/songpro.py", line 79, in do_import
    for file_line in songs_file:
  File "/usr/lib/python3.5/codecs.py", line 321, in decode
    (result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe8 in position 5239: invalid continuation byte

** Affects: openlp
     Importance: Medium
     Assignee: Tomas Groth (tomasgroth)
         Status: In Progress

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

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

Title:
  SongPro import fails with traceback

Status in OpenLP:
  In Progress

Bug description:
  Original reported in
  https://support.openlp.org/scp/tickets.php?id=3443 including sample
  file.

  Trying to import the file causes this traceback:
  Traceback (most recent call last):
    File "/home/tgc/projects/OpenLP/code/trunk/openlp/core/ui/lib/wizard.py", line 219, in on_current_id_changed
      self.perform_wizard()
    File "/home/tgc/projects/OpenLP/code/trunk/openlp/plugins/songs/forms/songimportform.py", line 351, in perform_wizard
      importer.do_import()
    File "/home/tgc/projects/OpenLP/code/trunk/openlp/plugins/songs/lib/importers/songpro.py", line 79, in do_import
      for file_line in songs_file:
    File "/usr/lib/python3.5/codecs.py", line 321, in decode
      (result, consumed) = self._buffer_decode(data, self.errors, final)
  UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe8 in position 5239: invalid continuation byte

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


Follow ups