Error occurred when executing ControlNetLoaderAdvanced: ‘NoneType’

Viewing 1 reply thread
  • Author
    Posts
    • #8977
      AvatarM M
      Participant

        I have tried to update all and update comfyUI. I cant get rid of this error can you please help?

         

        Error occurred when executing ControlNetLoaderAdvanced: ‘NoneType’ object has no attribute ‘lower’ File “E:\ComfyUI_windows_portable\ComfyUI\execution.py”, line 153, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File “E:\ComfyUI_windows_portable\ComfyUI\execution.py”, line 83, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File “E:\ComfyUI_windows_portable\ComfyUI\execution.py”, line 76, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File “E:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Advanced-ControlNet\control\nodes.py”, line 66, in load_controlnet controlnet = load_controlnet(controlnet_path, timestep_keyframe) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File “E:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Advanced-ControlNet\control\control.py”, line 355, in load_controlnet control = comfy_cn.load_controlnet(ckpt_path, model=model) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File “E:\ComfyUI_windows_portable\ComfyUI\comfy\controlnet.py”, line 301, in load_controlnet controlnet_data = comfy.utils.load_torch_file(ckpt_path, safe_load=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File “E:\ComfyUI_windows_portable\ComfyUI\comfy\utils.py”, line 12, in load_torch_file if ckpt.lower().endswith(“.safetensors”): ^^^^^^^^^^

      • #9047
        AvatarAndrew
        Keymaster

          It could be an error in the workflow. Do you have an reference image? Sharing the workflow would help troubleshoot.

      Viewing 1 reply thread
      • You must be logged in to reply to this topic.