Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error occurred when executing AnyNodeAnthropic: Syntax error in code: unterminated string literal (detected at line 5) (, line 5) #40

Open
piovis2023 opened this issue Jul 6, 2024 · 0 comments

Comments

@piovis2023
Copy link

Context:
Windows 11 OS
Python 3.11
Conda environment

Workflow:
image

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant