Kosinkadink / ComfyUI-Advanced-ControlNet

ControlNet scheduling and masking nodes with sliding context support
GNU General Public License v3.0
619 stars 61 forks source link

[Errno 2] No such file or directory: 'D:\\...\\ComfyUI_windows_portable\\ComfyUI\\custom_nodes\\ComfyUI-Advanced-ControlNet\\control.py\\__init__.py' #18

Closed f-rank closed 11 months ago

f-rank commented 1 year ago

[...] being another non relevant part of the path.

I tried to install this over and over from the comfyui manager but get this on the subsequent boot. And it is correct, that file isn't there and I'm clueless as what to do to fix it. Little help appreciated.

Comfyui is up to date.

ttchina commented 1 year ago

I got the same error, however the Comfyui and Controlnet work well

Kosinkadink commented 1 year ago

Can you show the full error log from console?

Kosinkadink commented 1 year ago

Also, using console, navigate to custom_nodes/ComfyUI-Advanced-ControlNet, and copy-paste the output of running this command: git log --pretty=format:'%h' -n 1

And which python version you are running. As far as I'm aware, you two are the only people in the world who have this issue, so please provide as much details about your machine and comfy install as you can.

Kosinkadink commented 11 months ago

I am closing this issue for now assuming you've already resolved it, but if you still require assistance, feel free to reopen issue.

kakachiex2 commented 10 months ago

I have this same issue yesterday it was working and today I have this problem the folder is there but any file inside.

FileNotFoundError: [Errno 2] No such file or directory: 'K:\ComfyUI\ComfyUI\temp\3dposeeditor\OpenPoseEditor_0_pose.png'

Prompt executed in 0.00 seconds got prompt 2024-01-14 11:35:11,911 - root - ERROR - !!! Exception during processing !!! 2024-01-14 11:35:11,912 - root - ERROR - Traceback (most recent call last): File "K:\ComfyUI\ComfyUI\execution.py", line 153, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "K:\ComfyUI\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 "K:\ComfyUI\ComfyUI\execution.py", line 76, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "K:\ComfyUI\ComfyUI\custom_nodes\ComfyUI_3dPoseEditor\poseEditor3D_node.py", line 54, in output_pose i = Image.open(image_path) ^^^^^^^^^^^^^^^^^^^^^^ File "K:\ComfyUI\python_embeded\Lib\site-packages\PIL\Image.py", line 3247, in open fp = builtins.open(filename, "rb") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: 'K:\ComfyUI\ComfyUI\temp\3dposeeditor\OpenPoseEditor_0_pose.png'

Prompt executed in 0.00 seconds got prompt 2024-01-14 11:38:26,365 - root - ERROR - !!! Exception during processing !!! 2024-01-14 11:38:26,366 - root - ERROR - Traceback (most recent call last): File "K:\ComfyUI\ComfyUI\execution.py", line 153, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "K:\ComfyUI\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 "K:\ComfyUI\ComfyUI\execution.py", line 76, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "K:\ComfyUI\ComfyUI\custom_nodes\ComfyUI_3dPoseEditor\poseEditor3D_node.py", line 54, in output_pose i = Image.open(image_path) ^^^^^^^^^^^^^^^^^^^^^^ File "K:\ComfyUI\python_embeded\Lib\site-packages\PIL\Image.py", line 3247, in open fp = builtins.open(filename, "rb") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: 'K:\ComfyUI\ComfyUI\temp\3dposeeditor\OpenPoseEditor_0_pose.png'

Prompt executed in 0.01 seconds

kakachiex2 commented 10 months ago

Screenshot 2024-01-14 114515

Kosinkadink commented 10 months ago

@kakachiex2 By "this exact problem", do you mean the control/control/init.py one? That one is caused by comfy-art-venture node that tries to import my control net code, but only on the portable version.

As for the 3dpose thing, that one is not a part of these nodes, so you'll need to open the issue up on the appropriate repo.

came51111 commented 10 months ago

I got the same error,

Efficiency Nodes: Attempting to add 'AnimatedDiff Script' Node (ComfyUI-AnimateDiff-Evolved add-on)...Success! Loaded efficiency nodes from F:\AI\ComfyUI\custom_nodes\efficiency-nodes-comfyui Loaded ControlNetPreprocessors nodes from F:\AI\ComfyUI\custom_nodes\comfyui_controlnet_aux [Errno 2] No such file or directory: 'F:\AI\ComfyUI\custom_nodes\ComfyUI-Advanced-ControlNet\control/control.py\init.py' Could not find AnimateDiff nodes Loaded IPAdapter nodes from F:\AI\ComfyUI\custom_nodes\ComfyUI_IPAdapter_plus Loaded VideoHelperSuite from F:\AI\ComfyUI\custom_nodes\ComfyUI-VideoHelperSuite

git log --pretty=format:'%h' -n 1 'bd5bcbf' python 3.11.7

Kosinkadink commented 10 months ago

@came51111 if you have comfyui-art-venture nodes installed, remove comfyui-art-venture for now. https://github.com/sipherxyz/comfyui-art-venture/issues/11

came51111 commented 10 months ago

@came51111 if you have comfyui-art-venture nodes installed, remove comfyui-art-venture for now. sipherxyz/comfyui-art-venture#11

Thank you , it's run

Pythonpa commented 9 months ago

@came51111 if you have comfyui-art-venture nodes installed, remove comfyui-art-venture for now. sipherxyz/comfyui-art-venture#11如果您安装了 comfyui-art-venture 节点,请暂时删除 comfyui-art-venture。 sipherxyz/comfyui-art-venture#11

Yes! It works!

lalianer commented 7 months ago

此外,使用控制台导航到 custom_nodes/ComfyUI-Advanced-ControlNet,然后复制粘贴运行此命令的输出:git log --pretty=format:'%h' -n 1

以及您正在运行的 python 版本。据我所知,你们两个是世界上唯一有这个问题的人,所以请尽可能多地提供有关您的机器和舒适安装的详细信息。

I have the same question [Errno 2] No such file or directory: 'E:\Ai\ComfyUI_Conda\ComfyUI\custom_nodes\ComfyUI-Advanced-ControlNet\control/control.py\init.py'

Kosinkadink commented 7 months ago

As stated in this thread, it is because of comfyui-art-venture. Remove it and then you'll be fine.

atadincselim commented 5 months ago

Hello. I don't know should i create a new issue or continue here i have this error on comfyui when i click queue:

Error occurred when executing AIO_Preprocessor:

[Errno 2] No such file or directory: 'F:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\ckpts\LiheYoung\Depth-Anything\.huggingface\download\checkpoints_metric_depth\depth_anything_metric_depth_indoor.pt.e25a96605a2ea2dbbe57308d024e89a803fa87fe981bd51d4cee245f1de57977.incomplete'

File "F:\ComfyUI_windows_portable\ComfyUI\execution.py", line 151, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\ComfyUI_windows_portable\ComfyUI\execution.py", line 81, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\ComfyUI_windows_portable\ComfyUI\execution.py", line 74, in map_node_over_list results.append(getattr(obj, func)(slice_dict(input_data_all, i))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux__init__.py", line 117, in execute return getattr(aux_class(), aux_class.FUNCTION)(params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\node_wrappers\depth_anything.py", line 39, in execute model = ZoeDepthAnythingDetector.from_pretrained(filename=ckpt_name).to(model_management.get_torch_device()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\src\controlnet_aux\zoe__init__.py", line 71, in from_pretrained model_path = custom_hf_download(pretrained_model_or_path, filename, subfolder="checkpoints_metric_depth", repo_type="space") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\src\controlnet_aux\util.py", line 324, in custom_hf_download model_path = hf_hub_download(repo_id=pretrained_model_or_path, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\huggingface_hub\utils_validators.py", line 114, in _inner_fn return fn(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^ File "F:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\huggingface_hub\file_download.py", line 1202, in hf_hub_download return _hf_hub_download_to_local_dir( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\huggingface_hub\file_download.py", line 1487, in _hf_hub_download_to_local_dir _download_to_tmp_and_move( File "F:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\huggingface_hub\file_download.py", line 1872, in _download_to_tmp_and_move with incomplete_path.open("ab") as f: ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "pathlib.py", line 1044, in open

And log file on startup like this:

VAE dtype: torch.bfloat16 Using pytorch cross attention Adding F:\ComfyUI_windows_portable\ComfyUI\custom_nodes to sys.path Could not find efficiency nodes [comfyui_controlnet_aux] | INFO -> Using ckpts path: F:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\ckpts [comfyui_controlnet_aux] | INFO -> Using symlinks: False [comfyui_controlnet_aux] | INFO -> Using ort providers: ['CUDAExecutionProvider', 'DirectMLExecutionProvider', 'OpenVINOExecutionProvider', 'ROCMExecutionProvider', 'CPUExecutionProvider', 'CoreMLExecutionProvider'] Loaded ControlNetPreprocessors nodes from F:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux Loaded AdvancedControlNet nodes from F:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Advanced-ControlNet Could not find AnimateDiff nodes Loaded IPAdapter nodes from F:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_IPAdapter_plus Could not find VideoHelperSuite nodes

Loading: ComfyUI-Impact-Pack (V5.10)

Loading: ComfyUI-Impact-Pack (Subpack: V0.5)

Loading: ComfyUI-Impact-Pack (V5.10)

Loaded ImpactPack nodes from F:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Impact-Pack [Impact Pack] Wildcards loading done. [Impact Pack] Wildcards loading done.

Loading: ComfyUI-Impact-Pack (V5.10)

[Impact Pack] Wildcards loading done.

Loading: ComfyUI-Manager (V2.36)

ComfyUI Revision: 2216 [91542d4f] | Released on '2024-05-28'

fix sys.stdout.isatty

pip install llama-cpp-python

[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/github-stats.json [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json

install error

ffmpeg could not be found. Using ffmpeg from imageio-ffmpeg.

Mixlab Nodes: Loaded

LaMaInpainting.available True ClipInterrogator.available True PromptGenerate.available True ChinesePrompt.available True RembgNode_.available True

WAS Node Suite: OpenCV Python FFMPEG support is enabled WAS Node Suite Warning: ffmpeg_bin_path is not set in F:\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui\was_suite_config.json config file. Will attempt to use system ffmpeg binaries if available. WAS Node Suite: Finished. Loaded 213 nodes successfully.

    "Success is not about being better than someone else. It's about being better than you used to be." - Unknown

Import times for custom nodes: 0.0 seconds: F:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_IPAdapter_plus 0.0 seconds: F:\ComfyUI_windows_portable\ComfyUI\custom_nodes\websocket_image_save.py 0.0 seconds: F:\ComfyUI_windows_portable\ComfyUI\custom_nodes\sdxl_prompt_styler 0.0 seconds: F:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux 0.0 seconds: F:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Eagle-PNGInfo 0.0 seconds: F:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Impact-Pack 0.0 seconds: F:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_TiledKSampler 0.0 seconds: F:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_essentials 0.0 seconds: F:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Advanced-ControlNet 0.0 seconds: F:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_segment_anything 0.2 seconds: F:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager 0.5 seconds: F:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-art-venture 0.9 seconds: F:\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui 6.6 seconds: F:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-mixlab-nodes

https_key OK: F:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-mixlab-nodes\https\certificate.crt F:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-mixlab-nodes\https\private.key

Starting server To see the GUI go to: http://127.0.0.1:8188 To see the GUI go to: https://127.0.0.1:8189 FETCH DATA from: F:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager\extension-node-map.json [DONE] start_local_llm error

read_workflow_json_files_all F:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-mixlab-nodes\app\

Can you help for i can fix ?

image

image