ParseError: not well-formed (invalid token)
Opened this issue · 0 comments
JIVeer commented
Hi, I am getting following error:
ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'xml.etree.ElementTree.ParseError'>
Error Contents: not well-formed (invalid token): line 5, column 16
Traceback (most recent call last):
File "/home/jiv/.kodi/addons/script.100fm/addon.py", line 28, in <module>
song = api.get_current_song(player_window.getProperty('current'))
File "/home/jiv/.kodi/addons/script.100fm/api.py", line 54, in get_current_song
root = ET.fromstring(xml.encode('utf-8'))
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1311, in XML
parser.feed(text)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1653, in feed
self._raiseerror(v)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1517, in _raiseerror
raise err
ParseError: not well-formed (invalid token): line 5, column 16
-->End of Python script error report<--
whats wrong?
Kodi (17.6 Git:20171114-a9a7a20). Platform: Linux x86 64-bit