-
Notifications
You must be signed in to change notification settings - Fork 23
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
[BUG] - Prompt Merger producing unsanitised output with concatenated NULL strings. #29
Comments
To clarify, Show Text accepts the null string value from the prompt, but not a concatenated null string from SD Prompt Merger. I think this is an output formatting issue rather than a problem with pysssss, though there should probably be some input sanitation over there too. |
Would you mind sending me this part of the workflow? I can't reproduce this issue with my custom nodes. |
Oh, I get it, you are using two empty primitive nodes. I will fix this issue in the next version. |
Description
SDPromptMerger throws an error when fed empty strings
Error occurred when executing SDPromptMerger:
list index out of range
File "D:\AI\ComfyUI_windows_portable\ComfyUI\execution.py", line 143, in recursive_execute
input_data_all = get_input_data(inputs, class_def, unique_id, outputs, prompt, extra_data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\AI\ComfyUI_windows_portable\ComfyUI\execution.py", line 27, in get_input_data
obj = outputs[input_unique_id][output_index]
~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
Reproduction steps
Image file
No response
The text was updated successfully, but these errors were encountered: