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

Can't add specific custom nodes to workflow (getnode and setnode) #6402

Open
TheDendro opened this issue Jan 8, 2025 · 4 comments
Open

Can't add specific custom nodes to workflow (getnode and setnode) #6402

TheDendro opened this issue Jan 8, 2025 · 4 comments
Labels
User Support A user needs help with something, probably not a bug.

Comments

@TheDendro
Copy link

TheDendro commented Jan 8, 2025

Your question

Hey everyone, I've also opened as an issue to the creater of custom nodes []kijai/ComfyUI-KJNodes#166 but, they are fine installed (reinstalled, checked the folders etc.) but still cannot add to workflow. So I thought that would be a general issue in my ComfyUI.

Any1 had smth like this? What to do?
Thank you!

Logs

https://github.com/user-attachments/files/18351378/logs.txt

Other

No response

@TheDendro TheDendro added the User Support A user needs help with something, probably not a bug. label Jan 8, 2025
@LukeG89
Copy link

LukeG89 commented Jan 8, 2025

That's strange, I can add the nodes:

Set-Get.mp4

Can you post the full logs and if you have console errors in the browser (press F12), especially after you tried adding the nodes?

@TheDendro
Copy link
Author

That's strange, I can add the nodes:

Set-Get.mp4
Can you post the full logs and if you have console errors in the browser (press F12), especially after you tried adding the nodes?

hey, thanks for reply. here are the logs, i have tried to add them again before get those logs:

logs.txt

@TheDendro
Copy link
Author

also this is how it looks when i load another workflow with those nodes:

image

@LukeG89
Copy link

LukeG89 commented Jan 8, 2025

hey, thanks for reply. here are the logs, i have tried to add them again before get those logs:

logs.txt

I repost your logs for semplicity:

[START] Security scan
[DONE] Security scan
## ComfyUI-Manager: installing dependencies done.
** ComfyUI startup time: 2025-01-08 21:16:06.156812
** Platform: Windows
** Python version: 3.12.8 | packaged by Anaconda, Inc. | (main, Dec 11 2024, 16:48:34) [MSC v.1929 64 bit (AMD64)]
** Python executable: C:\Users\User\anaconda3\envs\myenv\python.exe
** ComfyUI Path: C:\ComfyUI_windows_portable\ComfyUI
** Log path: C:\ComfyUI_windows_portable\ComfyUI\user\comfyui.log

Prestartup times for custom nodes:
   0.0 seconds: C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-easy-use
   0.0 seconds: C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\rgthree-comfy
   2.4 seconds: C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-manager

Total VRAM 8188 MB, total RAM 32611 MB
pytorch version: 2.5.1
Set vram state to: NORMAL_VRAM
Device: cuda:0 NVIDIA GeForce RTX 4060 : cudaMallocAsync
Using pytorch attention
[Prompt Server] web root: C:\ComfyUI_windows_portable\ComfyUI\web
[AnimateDiffEvo] - ERROR - No motion models found. Please download one and place in: ['C:\\ComfyUI_windows_portable\\ComfyUI\\custom_nodes\\comfyui-animatediff-evolved\\models', 'C:\\ComfyUI_windows_portable\\ComfyUI\\models\\animatediff_models']
Module 'diffusers' load failed. If you don't have it installed, do it:
pip install diffusers
Traceback (most recent call last):
  File "C:\ComfyUI_windows_portable\ComfyUI\nodes.py", line 2106, in load_custom_node
    module_spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-easy-use\__init__.py", line 21, in <module>
    imported_module = importlib.import_module(".py.{}".format(module_name), __name__)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\User\anaconda3\envs\myenv\Lib\importlib\__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-easy-use\py\easyNodes.py", line 26, in <module>
    from .libs.sampler import easySampler, alignYourStepsScheduler, gitsScheduler
  File "C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-easy-use\py\libs\sampler.py", line 10, in <module>
    from ..brushnet.model_patch import add_model_patch
  File "C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-easy-use\py\brushnet\__init__.py", line 8, in <module>
    from accelerate import init_empty_weights, load_checkpoint_and_dispatch
ModuleNotFoundError: No module named 'accelerate'

Cannot import C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-easy-use module for custom nodes: No module named 'accelerate'
### Loading: ComfyUI-Impact-Pack (V8.1.6)
[Impact Pack] Wildcards loading done.
### Loading: ComfyUI-Impact-Subpack (V1.2.6)
[Impact Subpack] ultralytics_bbox: C:\ComfyUI_windows_portable\ComfyUI\models\ultralytics\bbox
[Impact Subpack] ultralytics_segm: C:\ComfyUI_windows_portable\ComfyUI\models\ultralytics\segm
Traceback (most recent call last):
  File "C:\ComfyUI_windows_portable\ComfyUI\nodes.py", line 2106, in load_custom_node
    module_spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-inspyrenet-rembg\__init__.py", line 1, in <module>
    from .Inspyrenet_Rembg import InspyrenetRembg, InspyrenetRembgAdvanced
  File "C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-inspyrenet-rembg\Inspyrenet_Rembg.py", line 4, in <module>
    from transparent_background import Remover
ModuleNotFoundError: No module named 'transparent_background'

Cannot import C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-inspyrenet-rembg module for custom nodes: No module named 'transparent_background'
Total VRAM 8188 MB, total RAM 32611 MB
pytorch version: 2.5.1
Set vram state to: NORMAL_VRAM
Device: cuda:0 NVIDIA GeForce RTX 4060 : cudaMallocAsync
Traceback (most recent call last):
  File "C:\ComfyUI_windows_portable\ComfyUI\nodes.py", line 2106, in load_custom_node
    module_spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-layerdiffuse\__init__.py", line 1, in <module>
    from .layered_diffusion import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
  File "C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-layerdiffuse\layered_diffusion.py", line 22, in <module>
    from .lib_layerdiffusion.models import TransparentVAEDecoder
  File "C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-layerdiffuse\lib_layerdiffusion\models.py", line 8, in <module>
    from diffusers.configuration_utils import ConfigMixin, register_to_config
  File "C:\Users\User\anaconda3\envs\myenv\Lib\site-packages\diffusers\__init__.py", line 5, in <module>
    from .utils import (
  File "C:\Users\User\anaconda3\envs\myenv\Lib\site-packages\diffusers\utils\__init__.py", line 38, in <module>
    from .dynamic_modules_utils import get_class_from_dynamic_module
  File "C:\Users\User\anaconda3\envs\myenv\Lib\site-packages\diffusers\utils\dynamic_modules_utils.py", line 28, in <module>
    from huggingface_hub import cached_download, hf_hub_download, model_info
ImportError: cannot import name 'cached_download' from 'huggingface_hub' (C:\Users\User\anaconda3\envs\myenv\Lib\site-packages\huggingface_hub\__init__.py). Did you mean: 'hf_hub_download'?

Cannot import C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-layerdiffuse module for custom nodes: cannot import name 'cached_download' from 'huggingface_hub' (C:\Users\User\anaconda3\envs\myenv\Lib\site-packages\huggingface_hub\__init__.py)
Traceback (most recent call last):
  File "C:\ComfyUI_windows_portable\ComfyUI\nodes.py", line 2106, in load_custom_node
    module_spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-liveportraitkj\__init__.py", line 1, in <module>
    from .nodes import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
  File "C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-liveportraitkj\nodes.py", line 18, in <module>
    from .liveportrait.live_portrait_pipeline import LivePortraitPipeline
  File "C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-liveportraitkj\liveportrait\live_portrait_pipeline.py", line 16, in <module>
    from .utils.filter import smooth
  File "C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-liveportraitkj\liveportrait\utils\filter.py", line 3, in <module>
    from pykalman import KalmanFilter
ModuleNotFoundError: No module named 'pykalman'

Cannot import C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-liveportraitkj module for custom nodes: No module named 'pykalman'
### Loading: ComfyUI-Manager (V3.3.13)
### ComfyUI Version: v0.3.10-40-gd0f3752e | Released on '2025-01-07'
[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/github-stats.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/custom-node-list.json
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json
C:\Users\User\anaconda3\envs\myenv\Lib\site-packages\timm\models\layers\__init__.py:48: FutureWarning: Importing from timm.models.layers is deprecated, please import via timm.layers
  warnings.warn(f"Importing from {__name__} is deprecated, please import via timm.layers", FutureWarning)
Please 'pip install xformers'
Nvidia APEX normalization not installed, using PyTorch LayerNorm
Workspace manager - Openning file hash dict
🦄🦄Loading: Workspace Manager (V2.1.0)
[comfyui_controlnet_aux] | INFO -> Using ckpts path: C:\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']
C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\node_wrappers\dwpose.py:26: UserWarning: DWPose: Onnxruntime not found or doesn't come with acceleration providers, switch to OpenCV with CPU device. DWPose might run very slowly
  warnings.warn("DWPose: Onnxruntime not found or doesn't come with acceleration providers, switch to OpenCV with CPU device. DWPose might run very slowly")

[rgthree-comfy] Loaded 42 epic nodes. 🎉


Import times for custom nodes:
   0.0 seconds: C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\websocket_image_save.py
   0.0 seconds: C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\aigodlike-comfyui-translation
   0.0 seconds: C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\cg-use-everywhere
   0.0 seconds: C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\masquerade-nodes-comfyui
   0.0 seconds (IMPORT FAILED): C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-inspyrenet-rembg
   0.0 seconds: C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_ipadapter_plus
   0.0 seconds: C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfy-image-saver
   0.0 seconds: C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-impact-subpack
   0.0 seconds: C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_ultimatesdupscale
   0.0 seconds: C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-custom-scripts
   0.0 seconds (IMPORT FAILED): C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-liveportraitkj
   0.0 seconds: C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\derfuu_comfyui_moddednodes
   0.0 seconds: C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-advanced-controlnet
   0.0 seconds: C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-workspace-manager
   0.0 seconds: C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-GGUF
   0.0 seconds (IMPORT FAILED): C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-layerdiffuse
   0.0 seconds: C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\rgthree-comfy
   0.0 seconds: C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_essentials
   0.0 seconds: C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-kjnodes
   0.0 seconds: C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-animatediff-evolved
   0.0 seconds: C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux
   0.0 seconds: C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_ExtraModels
   0.0 seconds: C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-impact-pack
   0.3 seconds: C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-manager
   0.4 seconds (IMPORT FAILED): C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-easy-use
   0.5 seconds: C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-advancedliveportrait
   1.2 seconds: C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-PuLID-Flux-Enhanced

Starting server

To see the GUI go to: http://127.0.0.1:8188
FETCH DATA from: C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-manager\extension-node-map.json [DONE]
FETCH DATA from: https://api.comfy.org/nodes?page=1&limit=1000 [DONE]
[ComfyUI-Manager] default cache updated: https://api.comfy.org/nodes?page=1&limit=1000
nightly_channel: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/cache
FETCH DATA from: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json [DONE]

As I can see, you are using anaconda with ComfyUI portable? Is there a reason for that?
Also I see you installed pytorch without Cuda and some dependencies are missing.

But I think all of those problems are not the cause of this one (maybe). I would try disabling one by one your custom nodes to see if you can import Set and Get nodes, maybe there is a strange conflict with one of them

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
User Support A user needs help with something, probably not a bug.
Projects
None yet
Development

No branches or pull requests

2 participants