toyxyz / ComfyUI_toyxyz_test_nodes

Custom node and script for sending webcam to ComfyUI
GNU General Public License v3.0
522 stars 36 forks source link

got the error message in second run #22

Open joshua76y opened 11 months ago

joshua76y commented 11 months ago

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 commented 11 months ago

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 commented 11 months ago

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

toyxyz commented 11 months ago

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