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

got the error message in second run #22

Open
joshua76y opened this issue Dec 11, 2023 · 3 comments
Open

got the error message in second run #22

joshua76y opened this issue Dec 11, 2023 · 3 comments

Comments

@joshua76y
Copy link

Error occurred when executing CaptureWebcam:

object of type 'NoneType' has no len()

File "F:\AI\ComfyUI_windows_portable\ComfyUI\execution.py", line 153, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\AI\ComfyUI_windows_portable\ComfyUI\execution.py", line 97, in get_output_data
output_is_list = [False] * len(results[0])

the first run is on and the sampler can get the webcam data, but when I click the Queue Prompt again and it doesn't work

@toyxyz
Copy link
Owner

toyxyz commented Dec 11, 2023

This error can occur if there is no webcam connected to your computer. Do you have any other video devices connected besides your webcam?

@joshua76y
Copy link
Author

I happend when I choose Captures an image directly from the webcam node

@toyxyz
Copy link
Owner

toyxyz commented Dec 11, 2023

This error occurs when the webcam is turned off. Make sure your webcam is turned on.

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

2 participants