[RELEASE] Texture Cache Maintenance utility
@Milhouse
After the update movies top250 tag stop working....

Error as below and appreciate some help. All other imdb tags are working.


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 8622, in <module>
    main(sys.argv[1:])
  File "./texturecache.py", line 8430, in main
    extraFields=_extraFields, query=_query, drop_items=_drop_items)
  File "./texturecache.py", line 4672, in jsonQuery
    updateIMDb(mediatype, jcomms, data)
  File "./texturecache.py", line 5921, in updateIMDb
    movies250 = MyUtility.Top250MovieList()
  File "./texturecache.py", line 4107, in Top250MovieList
    table = ET.fromstring(data)
  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: not well-formed (invalid token): line 1735, column 64
Traceback (most recent call last):
  File "./texturecache.py", line 8622, in <module>
    main(sys.argv[1:])
  File "./texturecache.py", line 8531, in main
    setDetails_batch(dryRun=dryRun)
  File "./texturecache.py", line 6228, 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

LOG (Without the Movies info)
===================

2018-09-28 17:24:49.660927:MainThread: Command line args: ['./texturecache.py', 'imdb', 'movies', '@imdb.fields.movies=top250', '@logfile=/Users/dann/Kodi_Scripts/tc.log']
2018-09-28 17:24:49.661008:MainThread: Current version #: v2.4.5
2018-09-28 17:24:49.661036:MainThread: Current platform : darwin
2018-09-28 17:24:49.661063:MainThread: Python  version #: v2.7.10.0 (final)
2018-09-28 17:24:49.661139:MainThread: libVersion.JSON SOCKET REQUEST: [{"jsonrpc": "2.0", "method": "JSONRPC.Version", "id": "libVersion"}]
2018-09-28 17:24:49.666490:MainThread: RPC connection established with IPv6
2018-09-28 17:24:49.666699:MainThread: libVersion.BUFFER RECEIVED (len 88)
2018-09-28 17:24:49.666784:MainThread: libVersion.PARSING JSON DATA: {"id":"libVersion","jsonrpc":"2.0","result":{"version":{"major":8,"minor":0,"patch":0}}}
2018-09-28 17:24:49.666826:MainThread: libVersion.PARSING COMPLETE, elapsed time: 0.000076 seconds
2018-09-28 17:24:49.666859:MainThread: libVersion.FINISHED, elapsed time: 0.005689 seconds
2018-09-28 17:24:49.666942:MainThread: JSON CAPABILITIES: {'dpmsnotify': True, 'isodates': True, 'setsettings': True, 'removeart': True, 'setseason': True, 'musichasart': False, 'setresume': True, 'codecinforemoved': True, 'filternullval': True, 'votesnogrouping': True, 'libshowdialogs': True, 'refreshrefactor': True, 'openplayercoredef': True, 'texturedb': True, 'playerprocessinfo': True, 'profiledirectory': False, 'debugextralog': True, 'setmovieset': True, 'profilesupport': True, 'exitcode': True}
2018-09-28 17:24:49.666996:MainThread: libProfile.JSON SOCKET REQUEST: [{"jsonrpc": "2.0", "params": {"properties": ["thumbnail", "lockmode"]}, "method": "Profiles.GetProfiles", "id": "libProfile"}]
2018-09-28 17:24:49.667216:MainThread: libProfile.BUFFER RECEIVED (len 150)
2018-09-28 17:24:49.667285:MainThread: libProfile.PARSING JSON DATA: {"id":"libProfile","jsonrpc":"2.0","result":{"limits":{"end":1,"start":0,"total":1},"profiles":[{"label":"Master user","lockmode":0,"thumbnail":""}]}}
2018-09-28 17:24:49.667325:MainThread: libProfile.PARSING COMPLETE, elapsed time: 0.000060 seconds
2018-09-28 17:24:49.667359:MainThread: libProfile.RECEIVED LIMITS: {u'start': 0, u'total': 1, u'end': 1}
2018-09-28 17:24:49.667387:MainThread: libProfile.FINISHED, elapsed time: 0.000361 seconds
2018-09-28 17:24:49.667441:MainThread: libProfile.JSON SOCKET REQUEST: [{"jsonrpc": "2.0", "params": {"properties": ["thumbnail", "lockmode"]}, "method": "Profiles.GetCurrentProfile", "id": "libProfile"}]
2018-09-28 17:24:49.667608:MainThread: libProfile.BUFFER RECEIVED (len 96)
2018-09-28 17:24:49.667653:MainThread: libProfile.PARSING JSON DATA: {"id":"libProfile","jsonrpc":"2.0","result":{"label":"Master user","lockmode":0,"thumbnail":""}}
2018-09-28 17:24:49.667686:MainThread: libProfile.PARSING COMPLETE, elapsed time: 0.000044 seconds
2018-09-28 17:24:49.667715:MainThread: libProfile.FINISHED, elapsed time: 0.000238 seconds
2018-09-28 17:24:49.667752:MainThread: CURRENT PROFILE: {u'lockmode': 0, 'directory': '', 'tc.profilepath': '/Users/dann/Library/Application\\ Support/Kodi/userdata/', u'thumbnail': u'', u'label': u'Master user'}
2018-09-28 17:24:49.667792:MainThread: libPVR.JSON SOCKET REQUEST: [{"jsonrpc": "2.0", "params": {"properties": ["available"]}, "method": "PVR.GetProperties", "id": "libPVR"}]
2018-09-28 17:24:49.667942:MainThread: libPVR.BUFFER RECEIVED (len 93)
2018-09-28 17:24:49.668002:MainThread: libPVR.PARSING JSON DATA: {"error":{"code":-32100,"message":"Failed to execute method."},"id":"libPVR","jsonrpc":"2.0"}
2018-09-28 17:24:49.668041:MainThread: libPVR.PARSING COMPLETE, elapsed time: 0.000052 seconds
2018-09-28 17:24:49.668072:MainThread: libPVR.FINISHED, elapsed time: 0.000252 seconds
2018-09-28 17:24:49.668887:MainThread: CONFIG VALUES: 
{
  "ADD_SET_MEMBERS": true, 
  "ADD_SONG_MEMBERS": false, 
  "ALL_PROFILES": {
    "Master user": {
      "directory": "", 
      "label": "Master user", 
      "lockmode": 0, 
      "tc.profilepath": "/Users/dann/Library/Application\\ Support/Kodi/userdata/", 
      "thumbnail": ""
    }
  }, 
  "ANALYTICS_GOOD": "http://goo.gl/BjH6Lj", 
  "AUDIO_FILETYPES_EX": [], 
  "AUTOUPDATE": true, 
  "BIN_CECCONTROL": "", 
  "BIN_TVSERVICE": "/usr/bin/tvservice", 
  "BIN_VCGENCMD": "/usr/bin/vcgencmd", 
  "CACHE_ARTWORK": [], 
  "CACHE_CAST_THUMB": false, 
  "CACHE_DROP_INVALID_FILE": "", 
  "CACHE_EXTRA": false, 
  "CACHE_EXTRA_FANART": false, 
  "CACHE_EXTRA_THUMBS": false, 
  "CACHE_HIDEALLITEMS": false, 
  "CACHE_IGNORE_TYPES": [
    "^video", 
    "^music"
  ], 
  "CACHE_REFRESH": "", 
  "CACHE_VIDEO_EXTRAS": false, 
  "CHECKUPDATE": true, 
  "CHUNKED": true, 
  "CLEAN_SHOW_DIALOGS": false, 
  "CONFIG_NAME": "texturecache.cfg", 
  "CURRENT_PROFILE": {
    "directory": "", 
    "label": "Master user", 
    "lockmode": 0, 
    "tc.profilepath": "/Users/dann/Library/Application\\ Support/Kodi/userdata/", 
    "thumbnail": ""
  }, 
  "DBJSON": "auto", 
  "DCACHE_AGELIMIT": 180, 
  "DCACHE_SIZE": 2048, 
  "DEBUG": false, 
  "DOWNLOAD_PAYLOAD": true, 
  "DOWNLOAD_PREDELETE": false, 
  "DOWNLOAD_PRIME": true, 
  "DOWNLOAD_RETRY": 3, 
  "DOWNLOAD_THREADS": {
    "download.threads.addons": 20, 
    "download.threads.albums": 20, 
    "download.threads.artists": 20, 
    "download.threads.movies": 20, 
    "download.threads.pvr.radio": 20, 
    "download.threads.pvr.tv": 20, 
    "download.threads.sets": 20, 
    "download.threads.songs": 20, 
    "download.threads.tags": 20, 
    "download.threads.tvshows": 20
  }, 
  "DOWNLOAD_THREADS_DEFAULT": 20, 
  "FILENAME": "texturecache.cfg", 
  "FILTER_FIELD": "", 
  "FILTER_OPERATOR": "contains", 
  "FSEP": "|", 
  "GITHUB": "https://raw.github.com/MilhouseVH/texturecache.py/master", 
  "GLOBAL_SECTION": "global", 
  "HAS_PVR": false, 
  "HAS_THUMBNAILS_FS": false, 
  "HDMI_FORCE_HOTPLUG": false, 
  "HDMI_IGNORE_DISABLE": false, 
  "HDMI_IGNORE_LIBRARY": false, 
  "HDMI_IGNORE_PLAYER": false, 
  "HDMI_IGNORE_SUSPEND": false, 
  "IDFORMAT": "%06d", 
  "IGNORE_PLAYLISTS": true, 
  "IMDB_DEL_PARENTHESIS": true, 
  "IMDB_FIELDS_MOVIES": [
    "top250"
  ], 
  "IMDB_FIELDS_TVSHOWS": [
    "votes", 
    "rating", 
    "title", 
    "runtime", 
    "plot"
  ], 
  "IMDB_GROUPING": ",", 
  "IMDB_IGNORE_MISSING_EPISODES": false, 
  "IMDB_IGNORE_TVTITLES": [], 
  "IMDB_MAP_TVTITLES": [], 
  "IMDB_PERIOD": null, 
  "IMDB_PERIOD_FROM": null, 
  "IMDB_RETRY": 3, 
  "IMDB_THREADS": 10, 
  "IMDB_TIMEOUT": 15.0, 
  "IMDB_TRANSLATE_TVTITLES": [], 
  "IMDB_TRANSLATE_TVYEARS": [], 
  "JSON_CODEC_INFO_REMOVED": true, 
  "JSON_HAS_DEBUG_EXTRA_LOG": true, 
  "JSON_HAS_DPMS_NOTIFY": true, 
  "JSON_HAS_EXIT_CODE": true, 
  "JSON_HAS_FILTERNULLVALUE": true, 
  "JSON_HAS_ISO_DATES": true, 
  "JSON_HAS_LIB_SHOWDIALOGS_PARAM": true, 
  "JSON_HAS_OPEN_PLAYERCORE_DEFAULT": true, 
  "JSON_HAS_PROFILE_DIRECTORY": false, 
  "JSON_HAS_PROFILE_SUPPORT": true, 
  "JSON_HAS_REFRESH_REFACTOR": true, 
  "JSON_HAS_SETMOVIESET": true, 
  "JSON_HAS_SETNULL": true, 
  "JSON_HAS_SETRESUME": true, 
  "JSON_HAS_SETSEASON": true, 
  "JSON_HAS_TEXTUREDB": true, 
  "JSON_PLAYER_PROCESS_INFO": true, 
  "JSON_VER": [
    8, 
    0, 
    0
  ], 
  "JSON_VER_CAPABILITIES": {
    "codecinforemoved": [
      7, 
      21, 
      0
    ], 
    "debugextralog": [
      6, 
      15, 
      3
    ], 
    "dpmsnotify": [
      6, 
      16, 
      0
    ], 
    "exitcode": [
      6, 
      21, 
      0
    ], 
    "filternullval": [
      6, 
      13, 
      1
    ], 
    "isodates": [
      6, 
      13, 
      2
    ], 
    "libshowdialogs": [
      6, 
      19, 
      0
    ], 
    "musichasart": [
      9, 
      4, 
      2
    ], 
    "openplayercoredef": [
      6, 
      18, 
      3
    ], 
    "playerprocessinfo": [
      7, 
      20, 
      0
    ], 
    "profiledirectory": [
      999, 
      99, 
      9
    ], 
    "profilesupport": [
      6, 
      6, 
      0
    ], 
    "refreshrefactor": [
      6, 
      27, 
      0
    ], 
    "removeart": [
      6, 
      9, 
      1
    ], 
    "setmovieset": [
      6, 
      12, 
      0
    ], 
    "setresume": [
      6, 
      2, 
      0
    ], 
    "setseason": [
      6, 
      10, 
      0
    ], 
    "setsettings": [
      6, 
      13, 
      0
    ], 
    "texturedb": [
      6, 
      9, 
      0
    ], 
    "votesnogrouping": [
      7, 
      1, 
      0
    ]
  }, 
  "JSON_VER_STR": "v8.0.0", 
  "JSON_VOTES_HAVE_NO_GROUPING": true, 
  "KODI_BASE": "/Users/dann/Library/Application\\ Support/Kodi/userdata/", 
  "KODI_HOST": "localhost", 
  "LASTRUNFILE": "", 
  "LASTRUNFILE_DATETIME": null, 
  "LOGDCACHE": false, 
  "LOGFILE": "/Users/dann/Kodi_Scripts/tc.log", 
  "LOGUNIQUE": false, 
  "LOGVERBOSE": true, 
  "LOG_REPLAY_FILENAME": "", 
  "MAC_ADDRESS": "", 
  "MDATE_MDY": false, 
  "MISSING_IGNORE_PATTERNS": [], 
  "OMDB_API_KEY": "6bdb237e", 
  "ORPHAN_LIMIT_CHECK": true, 
  "PICTURE_FILETYPES_EX": [], 
  "POSTER_WIDTH": 5, 
  "PROFILE_AUTOLOAD": true, 
  "PROFILE_DIRECTORY": "", 
  "PROFILE_ENABLED": true, 
  "PROFILE_ENCRYPTED": false, 
  "PROFILE_MASTER": "Master user", 
  "PROFILE_NAME": "Master user", 
  "PROFILE_PASSWORD": "", 
  "PROFILE_RETRY": 60, 
  "PROFILE_WAIT": 0, 
  "PRUNE_RETAIN_CHAPTERS": true, 
  "PRUNE_RETAIN_PICTURES": false, 
  "PRUNE_RETAIN_PREVIEWS": true, 
  "PRUNE_RETAIN_TYPES": [], 
  "PURGE_MIN_LEN": 5, 
  "QADATE": "2018-09-18", 
  "QAPERIOD": 10, 
  "QA_FAIL_CHECKEXISTS": true, 
  "QA_FAIL_MISSING_LOCAL_ART": false, 
  "QA_FAIL_TYPES": [
    "^video", 
    "^music"
  ], 
  "QA_FIELDS": {
    "qa.art.addons": "thumbnail", 
    "qa.art.agenres": "thumbnail", 
    "qa.art.albums": "fanart, thumbnail", 
    "qa.art.artists": "fanart, thumbnail", 
    "qa.art.movies": "fanart, poster", 
    "qa.art.musicvideos": null, 
    "qa.art.pvr.radio": null, 
    "qa.art.pvr.radio.channel": "thumbnail", 
    "qa.art.pvr.tv": null, 
    "qa.art.pvr.tv.channel": "thumbnail", 
    "qa.art.sets": "fanart, poster", 
    "qa.art.songs": "fanart, thumbnail", 
    "qa.art.tvshows.episode": "thumb", 
    "qa.art.tvshows.season": "poster", 
    "qa.art.tvshows.tvshow": "fanart, banner, poster", 
    "qa.art.vgenres": "thumbnail", 
    "qa.blank.addons": null, 
    "qa.blank.agenres": null, 
    "qa.blank.albums": null, 
    "qa.blank.artists": null, 
    "qa.blank.movies": "plot, mpaa", 
    "qa.blank.musicvideos": null, 
    "qa.blank.pvr.radio": null, 
    "qa.blank.pvr.radio.channel": null, 
    "qa.blank.pvr.tv": null, 
    "qa.blank.pvr.tv.channel": null, 
    "qa.blank.sets": null, 
    "qa.blank.songs": null, 
    "qa.blank.tvshows.episode": "plot", 
    "qa.blank.tvshows.season": null, 
    "qa.blank.tvshows.tvshow": "plot", 
    "qa.blank.vgenres": null, 
    "qa.zero.addons": null, 
    "qa.zero.agenres": null, 
    "qa.zero.albums": null, 
    "qa.zero.artists": null, 
    "qa.zero.movies": null, 
    "qa.zero.musicvideos": null, 
    "qa.zero.pvr.radio": null, 
    "qa.zero.pvr.radio.channel": null, 
    "qa.zero.pvr.tv": null, 
    "qa.zero.pvr.tv.channel": null, 
    "qa.zero.sets": null, 
    "qa.zero.songs": null, 
    "qa.zero.tvshows.episode": null, 
    "qa.zero.tvshows.season": null, 
    "qa.zero.tvshows.tvshow": null, 
    "qa.zero.vgenres": null
  }, 
  "QA_FILE": false, 
  "QA_NFO_REFRESH": "", 
  "QA_USEOLDREFRESHMETHOD": true, 
  "QA_WARN_TYPES": [], 
  "QUERY_EPISODES": true, 
  "QUERY_SEASONS": true, 
  "RECACHEALL": true, 
  "RPC_CONNECTTIMEOUT": 0.5, 
  "RPC_IPVERSION": "6", 
  "RPC_PORT": "9090", 
  "RPC_RETRY": 12, 
  "SCAN_SHOW_DIALOGS": false, 
  "SEARCH_ENCODE": true, 
  "SINGLETHREAD_URLS": [
    "assets\\.fanart\\.tv"
  ], 
  "SUBTITLE_FILETYPES_EX": [], 
  "TEXTUREDB": "Database/Textures13.db", 
  "THIS_SECTION": "global", 
  "THUMBNAILS": "Thumbnails/", 
  "USEJSONDB": true, 
  "VERSION": "2.4.5", 
  "VIDEO_FILETYPES_EX": [], 
  "WATCHEDOVERWRITE": false, 
  "WEB_AUTH_TOKEN": null, 
  "WEB_CONNECTTIMEOUT": 0.5, 
  "WEB_PORT": "8080", 
  "WEB_SINGLESHOT": true, 
  "XTRAJSON": {
    "extrajson.addons": null, 
    "extrajson.agenres": null, 
    "extrajson.albums": null, 
    "extrajson.artists": null, 
    "extrajson.movies": null, 
    "extrajson.musicvideos": null, 
    "extrajson.pvr.radio": null, 
    "extrajson.pvr.radio.channel": null, 
    "extrajson.pvr.tv": null, 
    "extrajson.pvr.tv.channel": null, 
    "extrajson.sets": null, 
    "extrajson.songs": null, 
    "extrajson.tvshows.episode": null, 
    "extrajson.tvshows.season": null, 
    "extrajson.tvshows.tvshow": null, 
    "extrajson.vgenres": null
  }
}
2018-09-28 17:24:50.742241:MainThread: libMovies.JSON SOCKET REQUEST: [{"jsonrpc": "2.0", "params": {"sort": {"order": "ascending", "method": "title"}, "properties": ["title", "art", "imdbnumber", "top250"], "limits": {"start": 0, "end": 400}}, "method": "VideoLibrary.GetMovies", "id": "libMovies"}]
2018-09-28 17:24:50.746786:MainThread: RPC connection established with IPv6
2018-09-28 17:24:54.061361:MainThread: libMovies.BUFFER RECEIVED (len 32768)
2018-09-28 17:24:54.061526:MainThread: libMovies.BUFFER RECEIVED (len 32768)
2018-09-28 17:24:54.061643:MainThread: libMovies.BUFFER RECEIVED (len 32768)
2018-09-28 17:24:54.061742:MainThread: libMovies.BUFFER RECEIVED (len 32768)
2018-09-28 17:24:54.061796:MainThread: libMovies.BUFFER RECEIVED (len 32768)
2018-09-28 17:24:54.061898:MainThread: libMovies.BUFFER RECEIVED (len 32768)
2018-09-28 17:24:54.061962:MainThread: libMovies.BUFFER RECEIVED (len 32768)
2018-09-28 17:24:54.062023:MainThread: libMovies.BUFFER RECEIVED (len 32768)
2018-09-28 17:24:54.062091:MainThread: libMovies.BUFFER RECEIVED (len 32768)
2018-09-28 17:24:54.062165:MainThread: libMovies.BUFFER RECEIVED (len 32768)
2018-09-28 17:24:54.062260:MainThread: libMovies.BUFFER RECEIVED (len 32768)
2018-09-28 17:24:54.062319:MainThread: libMovies.BUFFER RECEIVED (len 32768)
2018-09-28 17:24:54.062378:MainThread: libMovies.BUFFER RECEIVED (len 32768)
2018-09-28 17:24:54.062438:MainThread: libMovies.BUFFER RECEIVED (len 32768)
2018-09-28 17:24:54.062497:MainThread: libMovies.BUFFER RECEIVED (len 32768)
2018-09-28 17:24:54.062557:MainThread: libMovies.BUFFER RECEIVED (len 32768)
2018-09-28 17:24:54.062616:MainThread: libMovies.BUFFER RECEIVED (len 32768)
2018-09-28 17:24:54.062684:MainThread: libMovies.BUFFER RECEIVED (len 32768)
2018-09-28 17:24:54.062747:MainThread: libMovies.BUFFER RECEIVED (len 32768)
2018-09-28 17:24:54.062807:MainThread: libMovies.BUFFER RECEIVED (len 32768)
2018-09-28 17:24:54.062867:MainThread: libMovies.BUFFER RECEIVED (len 32768)
2018-09-28 17:24:54.062949:MainThread: libMovies.BUFFER RECEIVED (len 32768)
2018-09-28 17:24:54.063010:MainThread: libMovies.BUFFER RECEIVED (len 32768)
2018-09-28 17:24:54.063071:MainThread: libMovies.BUFFER RECEIVED (len 32768)
2018-09-28 17:24:54.063128:MainThread: libMovies.BUFFER RECEIVED (len 32768)
2018-09-28 17:24:54.063186:MainThread: libMovies.BUFFER RECEIVED (len 32768)
2018-09-28 17:24:54.063251:MainThread: libMovies.BUFFER RECEIVED (len 32768)
2018-09-28 17:24:54.063311:MainThread: libMovies.BUFFER RECEIVED (len 32768)
2018-09-28 17:24:54.063369:MainThread: libMovies.BUFFER RECEIVED (len 32768)
2018-09-28 17:24:54.063426:MainThread: libMovies.BUFFER RECEIVED (len 32768)
2018-09-28 17:24:54.063484:MainThread: libMovies.BUFFER RECEIVED (len 32768)
2018-09-28 17:24:54.063541:MainThread: libMovies.BUFFER RECEIVED (len 32768)
2018-09-28 17:24:54.063611:MainThread: libMovies.BUFFER RECEIVED (len 32768)
2018-09-28 17:24:54.063680:MainThread: libMovies.BUFFER RECEIVED (len 32768)
2018-09-28 17:24:54.063738:MainThread: libMovies.BUFFER RECEIVED (len 32768)
2018-09-28 17:24:54.063816:MainThread: libMovies.BUFFER RECEIVED (len 32768)
2018-09-28 17:24:54.063864:MainThread: libMovies.BUFFER RECEIVED (len 17468)
2018-09-28 17:24:54.079213:MainThread: libMovies.PARSING JSON DATA: 2018-09-28 17:25:18.696349:MainThread: libMovies.PARSING COMPLETE, elapsed time: 0.001118 seconds
2018-09-28 17:25:18.696417:MainThread: libMovies.RECEIVED LIMITS: {u'start': 3600, u'total': 3610, u'end': 3610}
2018-09-28 17:25:18.696470:MainThread: libMovies.FINISHED, elapsed time: 1.316813 seconds
2018-09-28 17:25:18.700607:MainThread: Top250: Retrieving Top250 Movies from: [http://top250.info/charts]
2018-09-28 17:25:21.685967:MainThread: Top250: Read 70972 bytes of data
2018-09-28 17:25:21.686113:MainThread: Top250: Data last updated [Sep 28, 2018 10:00]
2018-09-28 17:25:21.686494:MainThread: Top250: Table data found, 62381 bytes
2018-09-28 17:25:21.715512:MainThread: Top250: ERROR: failed to retrieve Top250 movie data: [not well-formed (invalid token): line 1735, column 64]
ERROR:root:** Terminating due to unexpected exception **
Traceback (most recent call last):
  File "./texturecache.py", line 8622, in <module>
    main(sys.argv[1:])
  File "./texturecache.py", line 8430, in main
    extraFields=_extraFields, query=_query, drop_items=_drop_items)
  File "./texturecache.py", line 4672, in jsonQuery
    updateIMDb(mediatype, jcomms, data)
  File "./texturecache.py", line 5921, in updateIMDb
    movies250 = MyUtility.Top250MovieList()
  File "./texturecache.py", line 4107, in Top250MovieList
    table = ET.fromstring(data)
  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
ParseError: not well-formed (invalid token): line 1735, column 64

Reply
 
Thread Rating:
  • 17 Vote(s) - 4.76 Average


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-09-28, 08:51


Logout Mark Read Team Forum Stats Members Help
[RELEASE] Texture Cache Maintenance utility4.7617