← Back to team overview

openlp-core team mailing list archive

Re: [Merge] lp:~sam92/openlp/fix-songbeamer-import into lp:openlp

 

Oh, it's not chardet that fails, but detect_file.read() throws the following exception:

Traceback (most recent call last):
  File "/home/samuel/programming/openlp/trunk/openlp/core/ui/wizard.py", line 217, in on_current_id_changed
    self.performWizard()
  File "/home/samuel/programming/openlp/trunk/openlp/plugins/songs/forms/songimportform.py", line 353, in performWizard
    importer.doImport()
  File "/home/samuel/programming/openlp/trunk/openlp/plugins/songs/lib/songbeamerimport.py", line 119, in doImport
    details = chardet.detect(detect_file.read())
  File "/usr/lib/python3.3/codecs.py", line 300, in decode
    (result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xfc in position 255: invalid start byte
-- 
https://code.launchpad.net/~sam92/openlp/fix-songbeamer-import/+merge/187815
Your team OpenLP Core is requested to review the proposed merge of lp:~sam92/openlp/fix-songbeamer-import into lp:openlp.


References