Adding notes to service causes error on save

Bug #1216785 reported by Phill on 2013-08-26
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Won't Fix
Fix Released
Raoul Snyman

Bug Description

With 2.0.2 add a note to an item in the service manager.
Click File->Save: Follow traceback pops up:

--- Exception Traceback ---
Traceback (most recent call last):
   File "/usr/share/openlp/openlp/core/ui/", line 546,
in saveFile
     service_content = json.dumps(service)
   File "/usr/lib/python2.7/json/", line 233, in dumps
     return _default_encoder.encode(obj)
   File "/usr/lib/python2.7/json/", line 203, in encode
     chunks = self.iterencode(o, _one_shot=True)
   File "/usr/lib/python2.7/json/", line 266, in iterencode
     return _iterencode(o, 0)
   File "/usr/lib/python2.7/json/", line 180, in default
     raise TypeError(repr(o) " is not JSON serializable")
TypeError: PyQt4.QtCore.QString(u'After the sermon.') is not JSON

Related branches

Phill (phill-ridout) on 2013-08-26
tags: added: notes service support-system
Tim Bentley (trb143) wrote :

Trunk has been converted to SIP so not an issue.

no longer affects: openlp/trunk
Changed in openlp:
status: Invalid → Fix Committed
assignee: nobody → Raoul Snyman (raoul-snyman)
milestone: none → 2.0.3
Tim Bentley (trb143) on 2013-08-27
Changed in openlp:
status: Fix Committed → Won't Fix
assignee: Raoul Snyman (raoul-snyman) → nobody
milestone: 2.0.3 → none
Phill (phill-ridout) wrote :
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers