2015-05-30, 21:43
(2015-05-30, 12:14)aderlopas Wrote: Hi,
I am trying to use this utility on MS Windows 8.1 with Python 3.4.
Executing the following command:
python texturecache.py c @xbmc.host=127.0.0.1
and I am getting the following error:
Traceback (most recent call last):
File "texturecache.py", line 7752, in <module>
main(sys.argv[1:])
File "texturecache.py", line 7461, in main
if not checkConfig(argv[0]): sys.exit(2)
File "texturecache.py", line 7061, in checkConfig
data = jcomms.sendJSON(REQUEST, "libVersion", checkResult=False)
File "texturecache.py", line 1871, in sendJSON
s = self.getSocket()
File "texturecache.py", line 1799, in getSocket
raise
RuntimeError: No active exception to reraise
Any ideas how to get this solved?
Thanks and regards
UPDATE: changed the xbmc.host to localhost and it worked for the same PC.
However, it the same error appears whenever I try to run it against a remote KODI installation.
Tried IP, tried hostname (checked it is working as I can ping it) but still it does not work for remote KODI installation.
Checked via the browser that jsonrpc is working:
{
"description": "JSON-RPC API of XBMC",
"id": "http://xbmc.org/jsonrpc/ServiceDescription.json"
...
Any ideas how to solve this?
Thanks and regards
More Update: after troubleshooting it seems that JSON is called but does nothing...
at XBMC log:
...
22:25:54 T:18446744071983072128 DEBUG: Thread JobWorker 18446744071983072128 terminating (autodelete)
22:26:48 T:18446744071857013376 DEBUG: webserver: request received for /jsonrpc
22:27:19 T:18446744072444084992 DEBUG: Previous line repeats 6 times.
22:27:19 T:18446744072444084992 DEBUG: bool CWinSystemEGL::CreateWindow(RESOLUTION_INFO&): Created surface of size 2560x1440
22:27:19 T:18446744072444084992 NOTICE: GL_VENDOR = Qualcomm
22:27:19 T:18446744072444084992 NOTICE: GL_RENDERER = Adreno (
...
Removed password from Kodi same behavior.
Any ideas?