← Back to team overview

openlp-core team mailing list archive

[Bug 1727517] Re: Unicode control chars causes song importer to crash

 

http://bazaar.launchpad.net/~openlp-
core/openlp/trunk/view/head:/openlp/plugins/songs/lib/importers/zionworx.py#L33

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

Title:
  Unicode control chars causes song importer to crash

Status in OpenLP:
  Confirmed

Bug description:
  https://support.openlp.org/scp/tickets.php?id=4330

  Traceback (most recent call last):

  File "openlp\core\ui\wizard.py", line 216, in on_current_id_changed

  File "openlp\plugins\songs\forms\songimportform.py", line 351, in
  perform_wizard

  File "openlp\plugins\songs\lib\importers\songshowplus.py", line 183,
  in do_import

  File "openlp\plugins\songs\lib\importers\songimport.py", line 356, in
  finish

  File "openlp\plugins\songs\lib\openlyricsxml.py", line 102, in
  add_verse_to_lyrics

  File "lxml.etree.pyx", line 2972, in lxml.etree.CDATA.__cinit__
  (src\lxml\lxml.etree.c:69195)

  File "apihelpers.pxi", line 1393, in lxml.etree._utf8
  (src\lxml\lxml.etree.c:27125)

  ValueError: All strings must be XML compatible: Unicode or ASCII, no
  NULL bytes or control characters

  
  Reproducible on ubuntu 17.10 trunk r2780

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


References