audioscavenger / save-image-extended-comfyui

Save as AVIF, WebP, JPEG, customize the folder, sub-folders, and filenames of your images!
GNU General Public License v3.0
49 stars 7 forks source link

When using a specific Checkpoint Loader It is not saved under the Checkpoint name. #15

Open Neytiri7 opened 3 months ago

Neytiri7 commented 3 months ago

I'm using a node by creating a folder with a checkpoint name and saving it... When using a specific Checkpoint Loader, {'content': As this item enters, it fails, and the folder is not saved.

The Checkpoint Loader is a node in pysssss. https://github.com/pythongosssss/ComfyUI-Custom-Scripts

Is it something that can't be solved?

image

SaveImageExtended 2.76 error: An error occurred while creating the subfolder or saving the image: [WinError 267] 디렉터 리 이름이 올바르지 않습니다: "O:\\OneDrive\\AI\\Areum\\{'content': '1.Pureum" !!! Exception during processing!!! object of type 'NoneType' has no len() Traceback (most recent call last): File "A:\SynologyDrive\ComfyUI-webui\ComfyUI\execution.py", line 151, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "A:\SynologyDrive\ComfyUI-webui\ComfyUI\execution.py", line 95, in get_output_data output_is_list = [False] * len(results[0]) ^^^^^^^^^^^^^^^ TypeError: object of type 'NoneType' has no len()

Neytiri7 commented 3 months ago

{'content': I hope it's only detected after the item...

audioscavenger commented 2 months ago

is "1.Pureum" the name of your ckpt? I have seen another node from icantremember, that has similar issue. It used dynamic hacks that bypass the prompt entirely, leading to absence of data, or as you can see, a json of some sort. Easy enough to detect and parse when it happens. I think I can fix that.

will have a look in a few days, thanks

Neytiri7 commented 2 months ago

Thank you, and I'll be waiting for you.