← Back to team overview

openlp-core team mailing list archive

[Bug 882812] [NEW] Error when importing song in CCLI format

 

Public bug reported:

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.

** Affects: openlp
     Importance: Undecided
         Status: New

-- 
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:
  New

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


Follow ups

References