[RELEASE] Texture Cache Maintenance utility
Hi,

Great script, but no success for me in trying it (cleaning sets)
Platform MacOs 10.8 / Python 2.7.2 (is 2.7.3 mandatory ?) / specific texturecache.cfg file.

Code:
Zephyr:downloads zestef$ ./texturecache.py C sets "Ace Ventura"
Traceback (most recent call last):
  File "./texturecache.py", line 2968, in <module>
    main(sys.argv[1:])
  File "./texturecache.py", line 2873, in main
    jsonQuery("cache", argv[1], argv[2], force=True)
  File "./texturecache.py", line 1670, in jsonQuery
    (section_name, title_name, id_name, data) = jcomms.getData(action, mediatype, filter, extraFields, lastRun = lastRun)
  File "./texturecache.py", line 1339, in getData
    return (SECTION, TITLE, IDENTIFIER, self.sendJSON(REQUEST, "lib%s" % mediatype.capitalize()))
  File "./texturecache.py", line 892, in sendJSON
    raise socket.error("Socket IO timeout exceeded")
socket.error: Socket IO timeout exceeded
Zephyr:downloads zestef$

LogFile :
Code:
2013-04-27 22:51:41.237794:MainThread: Command line args: ['./texturecache.py', 'C', 'sets', 'Ace Ventura']
2013-04-27 22:51:41.237832:MainThread: Current version #: 0.5.6
2013-04-27 22:51:41.240558:MainThread: libPing.JSON SOCKET REQUEST: [{"jsonrpc": "2.0", "method": "JSONRPC.Ping", "id": "libPing"}]
2013-04-27 22:51:41.240732:MainThread: libPing.BUFFER RECEIVED (len 48)
2013-04-27 22:51:41.240750:MainThread: libPing.PARSING JSON DATA: {"id":"libPing","jsonrpc":"2.0","result":"pong"}
2013-04-27 22:51:41.240791:MainThread: libPing.PARSING COMPLETE, elapsed time: 0.000019 seconds
2013-04-27 22:51:41.240815:MainThread: libPing.FINISHED, elapsed time: 0.000233 seconds
2013-04-27 22:51:41.240845:MainThread: libVersion.JSON SOCKET REQUEST: [{"jsonrpc": "2.0", "method": "JSONRPC.Version", "id": "libVersion"}]
2013-04-27 22:51:41.241005:MainThread: libVersion.BUFFER RECEIVED (len 88)
2013-04-27 22:51:41.241022:MainThread: libVersion.PARSING JSON DATA: {"id":"libVersion","jsonrpc":"2.0","result":{"version":{"major":6,"minor":0,"patch":3}}}
2013-04-27 22:51:41.241061:MainThread: libVersion.PARSING COMPLETE, elapsed time: 0.000022 seconds
2013-04-27 22:51:41.241080:MainThread: libVersion.FINISHED, elapsed time: 0.000218 seconds
2013-04-27 22:51:41.241346:MainThread: EXECUTING SQL: SELECT idVersion FROM version
2013-04-27 22:51:41.939389:MainThread: libSets.JSON SOCKET REQUEST: [{"jsonrpc": "2.0", "params": {"sort": {"order": "ascending", "method": "title"}, "properties": ["title", "art"]}, "method": "VideoLibrary.GetMovieSets", "id": "libSets"}]
2013-04-27 22:51:42.086453:MainThread: libSets.BUFFER RECEIVED (len 32664)
2013-04-27 22:51:42.086502:MainThread: libSets.BUFFER RECEIVED (len 18696)
2013-04-27 22:51:42.086593:MainThread: libSets.PARSING JSON DATA: {"id":"libSets","jsonrpc":"2.0","result":{"limits":{"end":124,"start":0,"total":124},"sets":[{"art":{"fanart":"image://smb%3a%2f%2fSRV-MEDIA%2fVideos%2fBoxset%2fAce%20Ventura%2fAce%20Ventura%20en%20Afrique%20%5b1995%5d%2fAce%20Ve (truncated)
2013-04-27 22:51:42.086925:MainThread: libSets.Incomplete JSON data - continue reading socket

Any idea ?
(Tried to increase timeout on line 772 without success)

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


Messages In This Thread
RE: [RELEASE] Texture Cache maintenance utility - by zestef - 2013-04-27, 22:56
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


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