Context:
Windows 11 OS
Python 3.11
Conda environment
Workflow:
Error:
Error occurred when executing AnyNodeAnthropic:
Syntax error in code: unterminated string literal (detected at line 5) (, line 5)
VScode API response:
custom_nodes\anynode\nodes\utils.py", line 199, in sanitize_code
raise ValueError(f"Syntax error in code: {e}")
ValueError: Syntax error in code: unterminated string literal (detected at line 5) (, line 5)
Prompt executed in 15.78 seconds
Exception in callback _ProactorBasePipeTransport._call_connection_lost(None)
handle: <Handle _ProactorBasePipeTransport._call_connection_lost(None)>
Traceback (most recent call last):
File "C:\Users\anujd\miniconda3\envs\comfyui2\Lib\asyncio\events.py", line 84, in _run
self._context.run(self._callback, *self._args)
File "C:\Users\anujd\miniconda3\envs\comfyui2\Lib\asyncio\proactor_events.py", line 165, in _call_connection_lost
self._sock.shutdown(socket.SHUT_RDWR)
ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host
Context: Windows 11 OS Python 3.11 Conda environment
Workflow:
Error: Error occurred when executing AnyNodeAnthropic: Syntax error in code: unterminated string literal (detected at line 5) (, line 5)
VScode API response: custom_nodes\anynode\nodes\utils.py", line 199, in sanitize_code raise ValueError(f"Syntax error in code: {e}") ValueError: Syntax error in code: unterminated string literal (detected at line 5) (, line 5)
Prompt executed in 15.78 seconds Exception in callback _ProactorBasePipeTransport._call_connection_lost(None) handle: <Handle _ProactorBasePipeTransport._call_connection_lost(None)> Traceback (most recent call last): File "C:\Users\anujd\miniconda3\envs\comfyui2\Lib\asyncio\events.py", line 84, in _run self._context.run(self._callback, *self._args) File "C:\Users\anujd\miniconda3\envs\comfyui2\Lib\asyncio\proactor_events.py", line 165, in _call_connection_lost self._sock.shutdown(socket.SHUT_RDWR) ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host
Can someone please help?/
Thank you