[RELEASE] Texture Cache Maintenance utility
@Milhouse Getting the same error for the imdb top250. All other tags are working. I did post the same in page 170 and you fixed it.

Logs:
Java:

GTX’s:Kodi_Scripts dann$ ./texturecache.py imdb movies @imdb.fields.movies=top250 | ./texturecache.py set
Traceback (most recent call last):.
  File "./texturecache.py", line 8628, in <module>
    main(sys.argv[1:])
  File "./texturecache.py", line 8436, in main
    extraFields=_extraFields, query=_query, drop_items=_drop_items)
  File "./texturecache.py", line 4678, in jsonQuery
    updateIMDb(mediatype, jcomms, data)
  File "./texturecache.py", line 5927, in updateIMDb
    movies250 = MyUtility.Top250MovieList()
  File "./texturecache.py", line 4113, in Top250MovieList
    table = ET.fromstring(newdata)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1300, in XML
    parser.feed(text)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1642, in feed
    self._raiseerror(v)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror
    raise err
xml.etree.ElementTree.ParseError: undefined entity: line 1742, column 63
Traceback (most recent call last):
  File "./texturecache.py", line 8628, in <module>
    main(sys.argv[1:])
  File "./texturecache.py", line 8537, in main
    setDetails_batch(dryRun=dryRun)
  File "./texturecache.py", line 6234, in setDetails_batch
    jdata = json.loads("".join(data))
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/__init__.py", line 338, in loads
    return _default_decoder.decode(s)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 366, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 384, in raw_decode
    raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
GTX’s:Kodi_Scripts dann$ 
Reply


Messages In This Thread
Crash on Gotham on OS X - by desepticon - 2014-05-29, 17:57
Cleaning - by AleisterHH - 2018-05-28, 22:03
RE: Cleaning - by Milhouse - 2018-05-28, 22:16
qax genre not updated - by Just-Me_A-User - 2018-06-12, 22:06
RE: qax genre not updated - by Milhouse - 2018-06-12, 23:40
RE: [RELEASE] Texture Cache Maintenance utility - by sniferx1 - 2018-10-24, 09:56
Logout Mark Read Team Forum Stats Members Help
[RELEASE] Texture Cache Maintenance utility17