Suzie1 / ComfyUI_Comfyroll_CustomNodes

Custom nodes for SDXL and SD1.5 including Multi-ControlNet, LoRA, Aspect Ratio, Process Switches, and many more nodes.
https://civitai.com/models/183551/comfyui-comfyroll-custom-nodes
502 stars 68 forks source link

No image for image list loader throws exception. #162

Open MilitantHitchhiker opened 2 months ago

MilitantHitchhiker commented 2 months ago

Add exception handling please.

|CR Load Image List: No images found. !!! Exception during processing!!! object of type 'NoneType' has no len() Traceback (most recent call last): File "D:\AI\ComfyUI\ComfyUI\execution.py", line 151, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\AI\ComfyUI\ComfyUI\execution.py", line 95, in get_output_data output_is_list = [False] * len(results[0]) ^^^^^^^^^^^^^^^ TypeError: object of type 'NoneType' has no len()

MilitantHitchhiker commented 1 month ago

Submitted a pull request with fix.