cute-comfy icon indicating copy to clipboard operation
cute-comfy copied to clipboard

Import Failed

Open UnclePsymon opened this issue 1 year ago • 0 comments

Hi! After the installation with Comfy Manager the import of Cute fails. The config.yaml won't be generated either.

** ComfyUI startup time: 2024-02-05 19:54:02.664000
** Platform: Linux
** Python version: 3.9.18 (main, Sep 11 2023, 13:41:44) 
[GCC 11.2.0]
** Python executable: /opt/conda/envs/py_3.9/bin/python
** Log path: /dockerx/comfyui.log
[Maras IT] Initialization

Prestartup times for custom nodes:
   0.0 seconds: /dockerx/ComfyUI/custom_nodes/rgthree-comfy
   0.0 seconds: /dockerx/ComfyUI/custom_nodes/ComfyUI-MarasIT-Nodes
   0.0 seconds: /dockerx/ComfyUI/custom_nodes/ComfyUI-Manager

Total VRAM 12272 MB, total RAM 32005 MB
Set vram state to: NORMAL_VRAM
Device: cuda:0 AMD Radeon RX 6700 XT : native
VAE dtype: torch.float32
Using sub quadratic optimization for cross attention, if you have memory or speed issues try using: --
use-split-cross-attention
Adding extra search path checkpoints /dockerx/ComfyUI/models/checkpoints
Adding extra search path gligen /dockerx/ComfyUI/models/gligen
Adding extra search path checkpoints /LinuxExtra/StableDiffusionKram/models/Stable-diffusion
Adding extra search path gligen /LinuxExtra/StableDiffusionKram/models/gligen
Adding extra search path loras /LinuxExtra/StableDiffusionKram/models/Lora/
Adding extra search path embeddings /LinuxExtra/StableDiffusionKram/embeddings
Adding extra search path upscale_models /LinuxExtra/StableDiffusionKram/models
Adding extra search path controlnet /LinuxExtra/StableDiffusionKram/models/ControlNet
Adding extra search path vae /LinuxExtra/StableDiffusionKram/models/VAE
WAS Node Suite: OpenCV Python FFMPEG support is enabled
WAS Node Suite Warning: `ffmpeg_bin_path` is not set in `/dockerx/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 211 nodes successfully.

        "Don't let yesterday take up too much of today." - Will Rogers

FaceDetailer: Model directory already exists
FaceDetailer: Model already exists
Total VRAM 12272 MB, total RAM 32005 MB
Set vram state to: NORMAL_VRAM
Device: cuda:0 AMD Radeon RX 6700 XT : native
VAE dtype: torch.float32
### Loading: ComfyUI-Manager (V2.7.1)
### ComfyUI Revision: 1967 [658b9b25] | Released on '2024-02-05'
### Loading: ComfyUI-Impact-Pack (V4.74)
### Loading: ComfyUI-Impact-Pack (Subpack: V0.4)
[Impact Pack] Wildcards loading done.
### Loading: ComfyUI-Inspire-Pack (V0.63)
Efficiency Nodes: Attempting to add Control Net options to the 'HiRes-Fix Script' Node (comfyui_contro
lnet_aux add-on)...Success!
Efficiency Nodes Warning: Failed to import python package 'simpleeval'; related nodes disabled.

------------------------------------------
Comfyroll Studio v1.76 :  175 Nodes Loaded
------------------------------------------
** For changes, please see patch notes at https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/blob
/main/Patch_Notes.md
** For help, please see the wiki at https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/wiki
------------------------------------------


Full error log from comfyui_controlnet_aux: 
Traceback (most recent call last):
  File "/dockerx/ComfyUI/custom_nodes/comfyui_controlnet_aux/__init__.py", line 32, in load_nodes
    module = importlib.import_module(
  File "/opt/conda/envs/py_3.9/lib/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 850, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/dockerx/ComfyUI/custom_nodes/comfyui_controlnet_aux/node_wrappers/dwpose.py", line 5, in <mod
ule>
    from controlnet_aux.dwpose import DwposeDetector, AnimalposeDetector
  File "/LinuxExtra/StableDiffusionKram/Comfy Ordner/custom_nodes/comfyui_controlnet_aux/src/controlne
t_aux/dwpose/__init__.py", line 8, in <module>
    import torch.utils.benchmark as benchmark
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/benchmark/__init__.py", line 2,
 in <module>
    from torch.utils.benchmark.utils.timer import *  # noqa: F403
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/benchmark/utils/timer.py", line
 8, in <module>
    from torch.utils.benchmark.utils import common, cpp_jit
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/benchmark/utils/cpp_jit.py", li
ne 13, in <module>
    from torch.utils import cpp_extension
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/cpp_extension.py", line 8, in <
module>
    import setuptools
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/setuptools/__init__.py", line 7, in <module
>
    import _distutils_hack.override  # noqa: F401
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/_distutils_hack/override.py", line 1, in <m
odule>
    __import__('_distutils_hack').do_override()
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/_distutils_hack/__init__.py", line 77, in d
o_override
    ensure_local_distutils()
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/_distutils_hack/__init__.py", line 64, in e
nsure_local_distutils
    assert '_distutils' in core.__file__, core.__file__
AssertionError: /opt/conda/envs/py_3.9/lib/python3.9/distutils/core.py



[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/ma
in/alter-list.json

[rgthree] Loaded 33 magnificent nodes.
[rgthree] Will use rgthree's optimized recursive execution.

[Maras IT] Loaded
Traceback (most recent call last):
  File "/dockerx/ComfyUI/nodes.py", line 1893, in load_custom_node
    module_spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 850, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/dockerx/ComfyUI/custom_nodes/cute-comfy/__init__.py", line 5, in <module>
    from .watcher import init_watcher
  File "/dockerx/ComfyUI/custom_nodes/cute-comfy/watcher.py", line 197, in <module>
    def get_metadata_clip_text(nodelist, title, skip_reformat = False) -> str | None:
TypeError: unsupported operand type(s) for |: 'type' and 'NoneType'

Cannot import /dockerx/ComfyUI/custom_nodes/cute-comfy module for custom nodes: unsupported operand ty
pe(s) for |: 'type' and 'NoneType'

Import times for custom nodes:
   0.0 seconds: /dockerx/ComfyUI/custom_nodes/canvas_tab
   0.0 seconds: /dockerx/ComfyUI/custom_nodes/comfyui-floodgate
   0.0 seconds: /dockerx/ComfyUI/custom_nodes/cd-tuner_negpip-ComfyUI
   0.0 seconds: /dockerx/ComfyUI/custom_nodes/cg-use-everywhere
   0.0 seconds: /dockerx/ComfyUI/custom_nodes/ComfyUI_TiledKSampler
   0.0 seconds: /dockerx/ComfyUI/custom_nodes/ComfyUI_fabric
   0.0 seconds: /dockerx/ComfyUI/custom_nodes/ComfyUI-MarasIT-Nodes
   0.0 seconds: /dockerx/ComfyUI/custom_nodes/ymc-node-suite-comfyui
   0.0 seconds: /dockerx/ComfyUI/custom_nodes/ComfyUI-Custom-Scripts
   0.0 seconds: /dockerx/ComfyUI/custom_nodes/ComfyUI_UltimateSDUpscale
   0.0 seconds: /dockerx/ComfyUI/custom_nodes/ComfyUI-AnimateDiff-Evolved
   0.0 seconds: /dockerx/ComfyUI/custom_nodes/rgthree-comfy
   0.0 seconds: /dockerx/ComfyUI/custom_nodes/comfyui_controlnet_aux
   0.0 seconds (IMPORT FAILED): /dockerx/ComfyUI/custom_nodes/cute-comfy
   0.0 seconds: /dockerx/ComfyUI/custom_nodes/ComfyUI_Comfyroll_CustomNodes
   0.0 seconds: /dockerx/ComfyUI/custom_nodes/ComfyUI-TiledDiffusion
   0.0 seconds: /dockerx/ComfyUI/custom_nodes/efficiency-nodes-comfyui
   0.0 seconds: /dockerx/ComfyUI/custom_nodes/ComfyUI-Inspire-Pack
   0.1 seconds: /dockerx/ComfyUI/custom_nodes/ComfyUI-Impact-Pack
   0.2 seconds: /dockerx/ComfyUI/custom_nodes/ComfyUI-Manager
   0.6 seconds: /dockerx/ComfyUI/custom_nodes/was-node-suite-comfyui
   0.7 seconds: /dockerx/ComfyUI/custom_nodes/facedetailer

Starting server

To see the GUI go to: http://127.0.0.1:8188
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/ma
in/model-list.json
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/ma
in/extension-node-map.json
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/ma
in/custom-node-list.json

Thx!

UnclePsymon avatar Feb 05 '24 20:02 UnclePsymon