Improper characters in Mediashout import cause traceback
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenLP |
Fix Committed
|
Undecided
|
Tomas Groth |
Bug Description
If Mediashout import has improper characters, the importer causes a traceback:
--- Exception Traceback --- Traceback (most recent call last):
File "openlp\
File "openlp\
File "openlp\
File "openlp\
File "openlp\
File "openlp\
File "lxml.etree.pyx", line 2972, in lxml.etree.
File "apihelpers.pxi", line 1393, in lxml.etree._utf8 (src\lxml\
ValueError: All strings must be XML compatible: Unicode or ASCII, no NULL bytes or control characters
Such a file can be found in the db provided in here:
https:/
Such characters can be found in the database on:
Verses > record > 2856.
Here’s a screen capture of the characters,
I’m unable to copy them.
https:/
Copy-paste sample:
“That covers me and
Raised this dead man's life
It's all because of
Jesus I'm alive”
Win 10 | 2.4.2
Related branches
- Tim Bentley: Approve
- Phill: Approve
-
Diff: 96 lines (+30/-6)5 files modifiedopenlp/plugins/bibles/lib/importers/http.py (+1/-1)
openlp/plugins/songs/lib/importers/mediashout.py (+1/-1)
openlp/plugins/songs/lib/importers/songimport.py (+5/-2)
tests/functional/openlp_plugins/songs/test_mediashout.py (+7/-2)
tests/interfaces/openlp_plugins/bibles/test_lib_http.py (+16/-0)
- Raoul Snyman: Approve
-
Diff: 45 lines (+7/-4)3 files modifiedopenlp/plugins/bibles/lib/http.py (+1/-1)
openlp/plugins/songs/lib/importers/mediashout.py (+1/-1)
openlp/plugins/songs/lib/importers/songimport.py (+5/-2)
description: | updated |
Changed in openlp: | |
assignee: | nobody → Tomas Groth (tomasgroth) |
status: | New → Fix Committed |
Changed in openlp: | |
milestone: | none → 2.9.1 |