-
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] - When attempting to read the prompt of a .png file in Comfyui that does not have any prompt data an error is produced #58
Comments
The image you uploaded doesn't contain any metadata. It may have been compressed. |
receyuki
changed the title
When attempting to read the prompt of a .png file in Comfyui that does not have any prompt data an error is produced
[BUG] - When attempting to read the prompt of a .png file in Comfyui that does not have any prompt data an error is produced
Feb 13, 2024
hope this works now - I just included the .json file and the image as an example |
I'm sorry to tell you that your photo still doesn't contain any metadata. It seems to have been edited with Affinity Photo, which may be the reason. |
Hi, yes that is the point
The node works fine where there is meta data. It is just the error handling
when there is no metadata. Ideally the workflow shouldn’t crash if there is
no metada.
Kind regards
Mokkaboss1
…On Sat, 17 Feb 2024 at 13:45, Rhys Yang ***@***.***> wrote:
I'm sorry to tell you that your photo still doesn't contain any metadata.
It seems to have been edited with Affinity Photo, which may be the reason.
—
Reply to this email directly, view it on GitHub
<#58 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BAPFHJFHEDYFT3YGCXFH6TTYUCYAZAVCNFSM6AAAAABDCHMB66VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJQGE4TOOBYGQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
You're right! I'm currently planning to add more user-friendly warnings. |
Thank you. Just thought to let you know.
I'll close the issue
…On Mon, 26 Feb 2024 at 16:31, Rhys Yang ***@***.***> wrote:
You're right! I'm currently planning to add more user-friendly warnings.
—
Reply to this email directly, view it on GitHub
<#58 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BAPFHJBVYNKV5HR2CAEVUT3YVS2GFAVCNFSM6AAAAABDCHMB66VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRUGU4DIMRTGM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
the following error is produced when the above the condition is met.
Error occurred when executing SDPromptReader:
No data detected or unsupported format
File "F:\comfynew\ComfyUI\ComfyUI\execution.py", line 152, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\comfynew\ComfyUI\ComfyUI\execution.py", line 82, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\comfynew\ComfyUI\ComfyUI\execution.py", line 75, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\comfynew\ComfyUI\ComfyUI\custom_nodes\comfyui-prompt-reader-node\nodes.py", line 159, in load_image
raise ValueError(MESSAGE["format_error"][1])
Reproduction steps
Image file
The text was updated successfully, but these errors were encountered: