[RELEASE] Texture Cache Maintenance utility
Hi @Milhouse,

On a RPi1, I sometimes get that error, resulting in the script to hang.

Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
  File "./texturecache.py", line 1097, in run
    if not self.loadImage(item) and not item.missingOK:
  File "./texturecache.py", line 1177, in loadImage
    (url, rowexists) = self.geturl(item)
  File "./texturecache.py", line 1116, in geturl
    url = self.json.getDownloadURL(item.filename)
  File "./texturecache.py", line 2759, in getDownloadURL
    data = self.sendJSON(REQUEST, "preparedl")
  File "./texturecache.py", line 2220, in sendJSON
    return self.sendWeb("POST", "/jsonrpc", id, request, {"Content-Type": "application/json"}, timeout=timeout)
  File "./texturecache.py", line 2154, in sendWeb
    web.request(request_type, url, sdata, headers)
  File "/usr/lib/python2.7/httplib.py", line 1042, in request
  File "/usr/lib/python2.7/httplib.py", line 1082, in _send_request
  File "/usr/lib/python2.7/httplib.py", line 1038, in endheaders
  File "/usr/lib/python2.7/httplib.py", line 882, in _send_output
  File "/usr/lib/python2.7/httplib.py", line 844, in send
  File "/usr/lib/python2.7/httplib.py", line 821, in connect
  File "/usr/lib/python2.7/socket.py", line 575, in create_connection
error: [Errno 111] Connection refused

Is there a way to protect the code for this error ?

Thanks !


Messages In This Thread
Crash on Gotham on OS X - by desepticon - 2014-05-29, 17:57
RE: [RELEASE] Texture Cache Maintenance utility - by Smeulf - 2017-05-16, 20:39
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.