TypeError when saving service from previous versions with notes

Bug #1258634 reported by Phill
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenLP
Fix Released
Medium
Phill

Bug Description

http://support.openlp.org/issues/2158

*OpenLP Bug Report*Version: {u'full': u'2.0.3', u'version': u'2.0.3',
u'build': None}--- Details of the Exception. ---TypeError:
PyQt4.QtCore.QString(u'\nV\xe4lkommen Julnatten 2012. Ligger uppe n\xe4r
alla kommer') is not JSON serializableMaybe there is a problem with
Swedish characters?RegardsPatrik <email address hidden> --- Exception
Traceback ---Traceback (most recent call last): File
D:\OpenLP_Code\2.0\build\pyi.win32\OpenLP\out00-PYZ.pyz\openlp.core.ui.servicemanager,
line 546, in saveFile File
D:\OpenLP_Code\2.0\build\pyi.win32\OpenLP\out00-PYZ.pyz\json, line 231,
in dumps File
D:\OpenLP_Code\2.0\build\pyi.win32\OpenLP\out00-PYZ.pyz\json.encoder,
line 201, in encode File
D:\OpenLP_Code\2.0\build\pyi.win32\OpenLP\out00-PYZ.pyz\json.encoder,
line 264, in iterencode File
D:\OpenLP_Code\2.0\build\pyi.win32\OpenLP\out00-PYZ.pyz\json.encoder,
line 178, in defaultTypeError: PyQt4.QtCore.QString(u'\nV\xe4lkommen
Julnatten 2012. Ligger uppe n\xe4r alla kommer') is not JSON
serializable--- System information ---Plattform:
Windows-7-6.1.7601-SP1--- Library Versions ---Python: 2.7.3Qt4:
4.8.3Phonon: 4.4.0PyQt4: 4.9.5QtWebkit: 534.34SQLAlchemy:
0.7.7SQLAlchemy Migrate: 0.7.2BeautifulSoup: 3.2.1lxml: 2.3.0Chardet:
1.0.1PyEnchant: 1.6.5PySQLite: 1.0.1Mako: 0.7.0pyUNO bridge: -

Related branches

Phill (phill-ridout)
Changed in openlp:
importance: Undecided → Medium
status: New → In Progress
assignee: nobody → Phill (phill-ridout)
milestone: none → 2.0.4
Phill (phill-ridout)
Changed in openlp:
status: In Progress → Fix Committed
Changed in openlp:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.