VideoPsalm import with control chars or escaped quotes causes traceback

Bug #1594945 reported by Tomas Groth on 2016-06-21
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenLP
Medium
Tomas Groth
2.4
Undecided
Tomas Groth

Bug Description

Original report + sample file here: https://support.openlp.org/scp/tickets.php?id=3563

In 2.4.1 when trying to import a songbook with control chars or escaped quotes a traceback is thrown, like this:

Traceback (most recent call last):
File "openlp\plugins\songs\lib\importers\videopsalm.py", line 78,
in do_import File "json\__init__.py", line 318, in loads File "json\decoder.py",
line 343, in decode File "json\decoder.py", line 359,
in raw_decode ValueError: Expecting ',' delimiter: line 1 column 21627 (char 21626)

Related branches

lp:~tomasgroth/openlp/videopsalm-fix-24
Raoul Snyman: Approve on 2016-06-22
Tim Bentley: Approve on 2016-06-22
lp:~tomasgroth/openlp/25bugfixes4
Raoul Snyman: Approve on 2016-07-27
Tomas Groth (tomasgroth) on 2016-08-05
Changed in openlp:
status: In Progress → Fix Committed
Tim Bentley (trb143) on 2016-08-07
Changed in openlp:
milestone: none → 2.5.1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers