← Back to team overview

openlp-core team mailing list archive

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

 

Public bug reported:

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

** Affects: openlp
     Importance: Undecided
         Status: New

** Affects: openlp/2.0
     Importance: High
         Status: Confirmed

** Affects: openlp/trunk
     Importance: Undecided
         Status: New


** Tags: notes service support-system

** Also affects: openlp/2.0
   Importance: Undecided
       Status: New

** Also affects: openlp/trunk
   Importance: Undecided
       Status: New

** Changed in: openlp/2.0
       Status: New => Confirmed

** Changed in: openlp/2.0
   Importance: Undecided => High

** Changed in: openlp/2.0
    Milestone: None => 2.0.3

** Changed in: openlp/trunk
    Milestone: None => 2.1.1

** Tags added: notes service support-system

-- 
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:
  Confirmed
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


Follow ups

References