2015-01-11, 08:42
What kind of system is this you are using (what OS, etc.)? Have you configured RPC_IPVERSION in texturecache.cfg (you shouldn't).
The script is failing to open a socket, without generating an exception, which doesn't seem possible based on the code...
I suggest you try debugging the code in the getSocket() call to try and work out what is going on because I don't see how it could fail in this way.
Later today I can provide you with a special version with additional getSocket() diagnostics, but right now my thoughts are that there appears to be something screwy with your system.
The script is failing to open a socket, without generating an exception, which doesn't seem possible based on the code...
I suggest you try debugging the code in the getSocket() call to try and work out what is going on because I don't see how it could fail in this way.
Later today I can provide you with a special version with additional getSocket() diagnostics, but right now my thoughts are that there appears to be something screwy with your system.