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

Can't handle the easy_anything inversed switch #92

Open
AuricMists opened this issue Dec 20, 2024 · 0 comments
Open

Can't handle the easy_anything inversed switch #92

AuricMists opened this issue Dec 20, 2024 · 0 comments

Comments

@AuricMists
Copy link

AuricMists commented Dec 20, 2024

I get the following issue with this node on Windoze 10 -
Traceback (most recent call last):
File "F:\Work\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-to-Python-Extension_init_.py", line 50, in save_as_script
ComfyUItoPython(workflow=workflow, output_file=sio)
File "F:\Work\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-to-Python-Extension\comfyui_to_python.py", line 544, in init
self.execute()
File "F:\Work\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-to-Python-Extension\comfyui_to_python.py", line 573, in execute
generated_code = code_generator.generate_workflow(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Work\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-to-Python-Extension\comfyui_to_python.py", line 290, in generate_workflow
final_code = self.assemble_python_code(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Work\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-to-Python-Extension\comfyui_to_python.py", line 413, in assemble_python_code
final_code = black.format_str(final_code, mode=black.Mode())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "src\black_init_.py", line 1204, in format_str
File "src\black_init_.py", line 1218, in _format_str_once
File "src\black\parsing.py", line 98, in lib2to3_parse
black.parsing.InvalidInput: Cannot parse: 201:80: easy_anythinginversedswitch_36 = easy_anythinginversedswitch.switch(index=0, in=get_value_at_index(vaedecodetiled_19, 0), unique_id=9114656933658906489)

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