Closed villares closed 5 years ago
Working again, I have no idea of what happened.
Not working...
created registry at port 8220
Traceback (most recent call last):
File "/Users/ale/Documents/Processing/modes/PythonMode/formatter/format_server.py", line 12, in <module>
sock.bind(server_address)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/socket.py", line 228, in meth
return getattr(self._sock,name)(*args)
socket.gaierror: [Errno 8] nodename nor servname provided, or not known
java.net.ConnectException: Connection refused (Connection refused)
Hi @jdf , I now saw the same error message on a Windows 7 32-bit machine and on a Windows 10 machine. I have added Processing to the Firewall Exeption...
On a first try:
Traceback (most recent call last):
File "C:\Users\Alexandre Villares\Documents\Processing\modes\PythonMode\formatter\format_server.py", line 34, in <module>
connection.sendall(encoded)
File "C:\Users\Alexandre Villares\Documents\Processing\modes\PythonMode\mode\jython.jar\Lib\_socket.py", line 1441, in meth
File "C:\Users\Alexandre Villares\Documents\Processing\modes\PythonMode\mode\jython.jar\Lib\_socket.py", line 1484, in send
File "C:\Users\Alexandre Villares\Documents\Processing\modes\PythonMode\mode\jython.jar\Lib\_socket.py", line 382, in handle_exception
File "C:\Users\Alexandre Villares\Documents\Processing\modes\PythonMode\mode\jython.jar\Lib\_socket.py", line 382, in handle_exception
File "C:\Users\Alexandre Villares\Documents\Processing\modes\PythonMode\mode\jython.jar\Lib\_socket.py", line 1200, in send
File "C:\Users\Alexandre Villares\Documents\Processing\modes\PythonMode\mode\jython.jar\Lib\_socket.py", line 384, in handle_exception
_socket.error: [Errno 10054] Socket closed
At other times:
java.net.ConnectException: Connection refused (Connection refused)
What kind of log/report do you think might help us pinpoint this problem?
Processing is not the thing that needs to be added to the firewall exception, but rather the process launched by Python Mode. I have no idea how you'd identify that process to the firewall config, or whether it's even possible to do so, without granting permission to Java in general.
I get this
java.net.ConnectException: Connection refused (Connection refused)
and the formatting doesn't happen. I've checked (turned off) the FIrewall but still can't make it work. I don't know how to reproduce :(