[RELEASE] Texture Cache Maintenance utility
(2015-05-30, 22:54)aderlopas Wrote:
(2015-05-30, 22:20)aderlopas Wrote:
(2015-05-30, 21:51)Milhouse Wrote: Not really.

Try enabling JSON-RPC in Kodi Debugging > Component Logging. Upload both your kodi.log and the log from texturecache.py (add "@logfile=c:\tc.log").

It could be a problem with ipv6, you can force ipv4 with "@rpc.ipversion=4".

Outside chance of it being a problem with Python 3.4, which I've never tested.

Many thanks for the reply. I am not sure how to attach the logs. Please let me know...
Until then, below an extract:

1. Kodi.log

23:08:24 T:18446744072008294528 DEBUG: JSONRPC: Incoming request: {"params": {"setting": "network.usehttpproxy"}, "jsonrpc": "2.0", "method": "Settings.GetSettingValue", "id": 1}
23:08:24 T:18446744072008294528 DEBUG: JSONRPC: Incoming request: {"params": {"setting": "network.httpproxytype"}, "jsonrpc": "2.0", "method": "Settings.GetSettingValue", "id": 1}

2. texturecache.log:

2015-05-30 23:11:16.214435:MainThread: Command line args: ['texturecache.py', 'c']
2015-05-30 23:11:16.214435:MainThread: Current version #: v1.9.4
2015-05-30 23:11:16.214435:MainThread: Current platform : win32
2015-05-30 23:11:16.214435:MainThread: Python version #: v3.4.3.0 (final)
2015-05-30 23:11:16.214435:MainThread: libPing.JSON WEB REQUEST: [{"id": "libPing", "method": "JSONRPC.Ping", "jsonrpc": "2.0"}]
2015-05-30 23:11:16.292587:MainThread: libPing.RECEIVED DATA: {
"id": "libPing",
"jsonrpc": "2.0",
"result": "pong"

ERROR:root:** Terminating due to unexpected exception **
Traceback (most recent call last):
File "texturecache.py", line 7754, in <module>
File "texturecache.py", line 7463, in main
if not checkConfig(argv[0]): sys.exit(2)
File "texturecache.py", line 7063, in checkConfig
data = jcomms.sendJSON(REQUEST, "libVersion", checkResult=False)
File "texturecache.py", line 1873, in sendJSON
s = self.getSocket()
File "texturecache.py", line 1801, in getSocket
RuntimeError: No active exception to reraise

OK, got it to work. Had to also specify the allow remote programs to control Kodi setting in services.
Strangely enough this help message came out only when running with python 2.7.

Thanks a lot for your response and help.

Yes, confirmed. with Python 3.4 I get socket closed prematurely while running...
So with python 3.4 it is not running correctly.

Messages In This Thread
Crash on Gotham on OS X - by desepticon - 2014-05-29, 17:57
RE: [RELEASE] Texture Cache Maintenance utility - by aderlopas - 2015-05-30, 22:56
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 utility17
This forum uses Lukasz Tkacz MyBB addons.