Liveworship import broken in latest version 3.x

**OpenLP Bug Report**

Version: {'full': '3.0.1', 'version': '3.0.1', 'build': None}


--- Details of the Exception. ---


Importing a LiveWorship XML Song database dump file.

This works fine in 2.9.4 but appears to be broken on 3.0 and 3.0.1

So I am fine for now as I downgraded and imported them all, but thought I should let you know so it can be fixed.

Happy to test it again once you release a fix


 --- Exception Traceback ---

Traceback (most recent call last):

 File "openlp\core\widgets\wizard.py", line 230, in on_current_id_changed

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

 File "openlp\plugins\songs\lib\importers\liveworship.py", line 56, in do_import

 File "openlp\plugins\songs\lib\importers\liveworship.py", line 73, in load_xml_dump

 File "src\lxml\etree.pyx", line 3257, in lxml.etree.fromstring

 File "src\lxml\parser.pxi", line 1911, in lxml.etree._parseMemoryDocument

ValueError: Unicode strings with encoding declaration are not supported. Please use bytes input or XML fragments without declaration.


--- System information ---

Platform: Windows-10-10.0.19045-SP0


--- Library Versions ---

Python: 3.8.10

PyQt5: 5.15.7

SQLAlchemy: 1.4.46

Alembic: 1.9.1

BeautifulSoup: 4.11.1

lxml: 4.9.2

Chardet: 5.1.0

PyEnchant: 3.2.2

Mako: 1.2.4

VLC: OK

PyUNO: -

Sign In or Register to comment.