Comfy-Org / Comfy-Org/ComfyUI

why load the node with relative path

Open
#2,871 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 6h
Merged PRs (30d)
155

Description

here is my case
```
/app/my_plugin/ComfyUI-Custom-Scripts
/app/my_plugin/comfyui_controlnet_aux
/app/ComfyUI/custom_nodes/comfyui_controlnet_aux

ln -snf /app/my_plugin/ComfyUI-Custom-Scripts /app/ComfyUI/custom_nodes/
```

```
Traceback (most recent call last):
File "/app/ComfyUI/execution.py", line 155, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "/app/ComfyUI/execution.py", line 85, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
File "/app/ComfyUI/execution.py", line 78, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "/app/ComfyUI/custom_nodes/ComfyUI-Custom-Scripts/../comfyui_controlnet_aux/node_wrappers/dwpose.py", line 74, in estimate_pose
model = DwposeDetector.from_pretrained(
```

I see the node load from
0.0 seconds: /app/ComfyUI/custom_nodes/comfyui_controlnet_aux
but when the app is running,it will load the node from **relative path**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.