2015-05-30, 12:14
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
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