Skip to content
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

No image for image list loader throws exception. #162

Open
MilitantHitchhiker opened this issue May 4, 2024 · 1 comment
Open

No image for image list loader throws exception. #162

MilitantHitchhiker opened this issue May 4, 2024 · 1 comment

Comments

@MilitantHitchhiker
Copy link

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
Copy link
Author

Submitted a pull request with fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant