← Back to team overview

openlp-core team mailing list archive

[Bug 882812] Re: Error when importing song in CCLI format

 

Hello,

your files are containing the hex value 1E. This value is called record seperator and is a invalid character. It is located in the third verse, sixth line between the words Jesus and navnet. In some cases it might be displayed as dot, space, box or as question mark.
This means your input files are defect (repair them by removing or replacing this character).

openlp.org 1.x did not care about character encodings and just passed
everything through to the system. This is not possible anymore.

** Changed in: openlp
       Status: New => Invalid

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

Title:
  Error when importing song in CCLI format

Status in OpenLP - Worship Presentation Software:
  Invalid

Bug description:
  Windows 7, 64 bit, Home Premium
  OpenLP 1.9.7

  When importing the attached song OpenLP breaks with:
  Traceback (most recent call last):
    File "D:\OpenLP_Code\trunk\build\pyi.win32\OpenLP\outPYZ1.pyz/openlp.core.ui.wizard", line 191, in onCurrentIdChanged
    File "D:\OpenLP_Code\trunk\build\pyi.win32\OpenLP\outPYZ1.pyz/openlp.plugins.songs.forms.songimportform", line 762, in performWizard
    File "D:\OpenLP_Code\trunk\build\pyi.win32\OpenLP\outPYZ1.pyz/openlp.plugins.songs.lib.cclifileimport", line 87, in doImport
    File "D:\OpenLP_Code\trunk\build\pyi.win32\OpenLP\outPYZ1.pyz/openlp.plugins.songs.lib.cclifileimport", line 337, in doImportTxtFile
    File "D:\OpenLP_Code\trunk\build\pyi.win32\OpenLP\outPYZ1.pyz/openlp.plugins.songs.lib.songimport", line 314, in finish
    File "D:\OpenLP_Code\trunk\build\pyi.win32\OpenLP\outPYZ1.pyz/openlp.plugins.songs.lib.xml", line 117, in add_verse_to_lyrics
    File "lxml.etree.pyx", line 2402, in lxml.etree.CDATA.__init__ (src/lxml/lxml.etree.c:47048)
    File "apihelpers.pxi", line 1242, in lxml.etree._utf8 (src/lxml/lxml.etree.c:19848)
  ValueError: All strings must be XML compatible: Unicode or ASCII, no NULL bytes

  This problem is present for 3 out of 617 danish songs. Most probably
  an accented character - cannot see which.

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


References