← Back to team overview

openlp-core team mailing list archive

[Bug 1216785] Re: Adding notes to service causes error on save

 

** Changed in: openlp/2.0
     Assignee: (unassigned) => Raoul Snyman (raoul-snyman)

** Changed in: openlp/2.0
       Status: Confirmed => In Progress

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

Title:
  Adding notes to service causes error on save

Status in OpenLP - Worship Presentation Software:
  New
Status in OpenLP 2.0 series:
  In Progress
Status in OpenLP trunk series:
  New

Bug description:
  http://support.openlp.org/issues/2066

  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/servicemanager.py", line 546, 
  in saveFile
       service_content = json.dumps(service)
     File "/usr/lib/python2.7/json/__init__.py", line 233, in dumps
       return _default_encoder.encode(obj)
     File "/usr/lib/python2.7/json/encoder.py", line 203, in encode
       chunks = self.iterencode(o, _one_shot=True)
     File "/usr/lib/python2.7/json/encoder.py", line 266, in iterencode
       return _iterencode(o, 0)
     File "/usr/lib/python2.7/json/encoder.py", line 180, in default
       raise TypeError(repr(o)   " is not JSON serializable")
  TypeError: PyQt4.QtCore.QString(u'After the sermon.') is not JSON 
  serializable

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


References