You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error occurs when selecting certain images generated using ComfyUI. SD Prompt Reader fails to execute. Attached is an example ComfyUI image that fails to load.
Reproduction steps
Error occurred when executing SDPromptReader:
invalid literal for int() with base 10: 'None'
File "K:\ComfyUI\ComfyUI_windows_portable\ComfyUI\execution.py", line 151, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "K:\ComfyUI\ComfyUI_windows_portable\ComfyUI\execution.py", line 81, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "K:\ComfyUI\ComfyUI_windows_portable\ComfyUI\execution.py", line 74, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "K:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-prompt-reader-node\nodes.py", line 184, in load_image
seed = int(
^^^^
Image file
The text was updated successfully, but these errors were encountered:
Under normal circumstances, parsing this image should display
The workflow is overly complex, or unsupported custom nodes have been used.
Please see the README for more details.
https://github.com/receyuki/comfyui-prompt-reader-node#prompt-reader-node
However, the prompt reader mistakenly thought it had successfully parsed the image (but it actually hadn't). I will fix the issue of throwing an error, but overall, this image is still too complex for the prompt reader.
Due to custom nodes and complex workflows potentially causing issues with SD Prompt Reader's ability to read image metadata correctly, it is recommended to embed the Prompt Saver Node within the workflow to ensure maximum compatibility.
receyuki
added a commit
to receyuki/stable-diffusion-prompt-reader
that referenced
this issue
May 5, 2024
Description
Error occurs when selecting certain images generated using ComfyUI. SD Prompt Reader fails to execute. Attached is an example ComfyUI image that fails to load.
Reproduction steps
Error occurred when executing SDPromptReader:
invalid literal for int() with base 10: 'None'
File "K:\ComfyUI\ComfyUI_windows_portable\ComfyUI\execution.py", line 151, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "K:\ComfyUI\ComfyUI_windows_portable\ComfyUI\execution.py", line 81, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "K:\ComfyUI\ComfyUI_windows_portable\ComfyUI\execution.py", line 74, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "K:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-prompt-reader-node\nodes.py", line 184, in load_image
seed = int(
^^^^
Image file
The text was updated successfully, but these errors were encountered: