Comfy-Org / Comfy-Org/ComfyUI_frontend
After newest pull (10.29), comfy core nodes fail to show up
- Dominant language
- TypeScript
- Stars
- 2k
- Forks
- 702
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 512
Description
### Expected Behavior
Core nodes should work.
### Actual Behavior
```WARNING- invalid prompt: {'type': 'invalid_prompt', 'message': 'Cannot execute because a node is missing the class_type property.', 'details': "Node ID '#6'", 'extra_info': {}}```
This is appearing for most core nodes, clipTextEncode, saveImage etc.,
### Steps to Reproduce
```git pull origin master```
restart comfyui
### Debug Logs
```powershell
root:632- WARNING- invalid prompt: {'type': 'invalid_prompt', 'message': 'Cannot execute because a node is missing the class_type property.', 'details': "Node ID '#6'", 'extra_info': {}}
```
```
### Other
_No response_
---
*This issue is transferred from: https://github.com/comfyanonymous/ComfyUI/issues/5409*
Original issue was created by @jnc-nj at 2024-10-29T14:04:02.000Z
**Original Comments:**
@jnc-nj:

@jnc-nj:
Update, after checking out commit ```5f502630883450e1605518c46b486040239b628d``` the result resolves itself.So I'm assuming that between August21 to today one of the updates is causing this problem.
@ltdrdata:
Please, post your full terminal log.
@wangqun888:
I have the same problem too
@jnc-nj:
> Please, post your full terminal log.```
#######################################
Starting ComfyUI...
########################################
WARNING: Skipping /home/runner/.local/lib/python3.11/site-packages/triton-2.0.0.dist-info due to invalid metadata entry 'name'
[START] Security scan
[DONE] Security scan
## ComfyUI-Manager: installing dependencies done.
** ComfyUI startup time: 2024-11-20 06:27:38.154610
** Platform: Linux
** Python version: 3.11.6 (main, Nov 15 2023, 09:22:27) [GCC]
** Python executable: /usr/bin/python3
** ComfyUI Path: /home/runner/ComfyUI
** Log path: /home/runner/ComfyUI/comfyui.logPrestartup times for custom nodes:
0.0 seconds: /home/runner/ComfyUI/custom_nodes/rgthree-comfy
0.0 seconds: /home/runner/ComfyUI/custom_nodes/ComfyUI-Stable-Video-Diffusion
2.9 seconds: /home/runner/ComfyUI/custom_nodes/ComfyUI-ManagerTotal VRAM 81038 MB, total RAM 64008 MB
pytorch version: 2.1.2+cu121
xformers version: 0.0.23.post1
Set vram state to: NORMAL_VRAM
Device: cuda:0 NVIDIA A100-SXM4-80GB : cudaMallocAsync
Using xformers cross attention
[Prompt Server] web root: /home/runner/ComfyUI/web
[Power Noise Suite]: 🦚🦚🦚 Squeaa-squee!!! 🦚🦚🦚
[Power Noise Suite]: Tamed 11 wild nodes.
/home/runner/.local/lib/python3.11/site-packages/transformers/models/segformer/image_processing_segformer.py:103: FutureWarning: The `reduce_labels` parameter is deprecated and will be removed in a future version. Please use `do_reduce_labels` instead.
warnings.warn(
Note: NumExpr detected 32 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8.
NumExpr defaulting to 8 threads.
FizzleDorf Custom Nodes: Loaded
(pysssss:WD14Tagger) [DEBUG] Available ORT providers: TensorrtExecutionProvider, CUDAExecutionProvider, CPUExecutionProvider
(pysssss:WD14Tagger) [DEBUG] Using ORT providers: CUDAExecutionProvider, CPUExecutionProvider
Unable to import guidedFilter, make sure you have only opencv-contrib-python or run the import_error_install.bat script
['/home/runner/ComfyUI/custom_nodes/ComfyUI-MuseV/controlnet_aux/src', '/home/runner/ComfyUI/custom_nodes/ComfyUI-MuseV/diffusers/src', '/home/runner/ComfyUI/custom_nodes/ComfyUI-MuseV/MMCM', '/home/runner/ComfyUI/custom_nodes/ComfyUI-MuseV', '/home/runner/ComfyUI/custom_nodes/ComfyUI-WD14-Tagger/comfy', '/home/runner/ComfyUI/custom_nodes/ComfyUI-BiRefNet', '/home/runner/ComfyUI/custom_nodes/ComfyUI-Frame-Interpolation-main', '/home/runner/ComfyUI/comfy', '/home/runner/ComfyUI', '/home/runner/.local/lib/python3.11/site-packages/git/ext/gitdb', '/usr/lib64/python311.zip', '/usr/lib64/python3.11', '/usr/lib64/python3.11/lib-dynload', '/home/runner/.local/lib/python3.11/site-packages', '/usr/lib64/python3.11/site-packages', '/usr/lib64/python3.11/_import_failed', '/usr/lib/python3.11/site-packages', '/home/runner/ComfyUI/custom_nodes/ComfyUI-Manager/glob', '/home/runner/ComfyUI/custom_nodes/ComfyUI_Seg_VITON', '/home/runner/ComfyUI/custom_nodes/ComfyUI_Seg_VITON/ldm/models']
/home/runner/ComfyUI/custom_nodes/comfyui_controlnet_aux/ckpts
/home/runner/ComfyUI/custom_nodes/comfyui_controlnet_aux/ckpts/hr16/ControlNet-HandRefiner-pruned
/home/runner/ComfyUI/custom_nodes/comfyui_controlnet_aux/ckpts/hr16/ControlNet-HandRefiner-pruned/hrnetv2_w64_imagenet_pretrained.pth
model_path is /home/runner/ComfyUI/custom_nodes/comfyui_controlnet_aux/ckpts/hr16/ControlNet-HandRefiner-pruned/hrnetv2_w64_imagenet_pretrained.pth
### Loading: ComfyUI-Manager (V2.51.8)
### ComfyUI Revision: 1024 [89861512] *DETACHED | Released on '2024-11-19'
2024-11-20 06:28:59,521- root:145- INFO- Total VRAM 81038 MB, total RAM 64008 MB
2024-11-20 06:28:59,522- root:148- INFO- pytorch version: 2.1.2+cu121
2024-11-20 06:28:59,522- root:172- INFO- xformers version: 0.0.23.post1
2024-11-20 06:28:59,522- root:250- INFO- Set vram state to: NORMAL_VRAM
2024-11-20 06:28:59,523- root:273- INFO- Device: cuda:0 NVIDIA A100-SXM4-80GB : cudaMallocAsync
### Loading: ComfyUI-Impact-Pack (V4.61)
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json
### Loading: ComfyUI-Impact-Pack (Subpack: V0.6)
[Impact Pack] Wildcards loading done.
### Loading: ComfyUI-Inspire-Pack (V0.65)
2024-11-20 06:29:00,763- py.warnings:109- WARNING- /home/runner/.local/lib/python3.11/site-packages/colossalai/shardformer/layer/normalization.py:45: UserWarning: Please install apex from source (https://github.com/NVIDIA/apex) to use the fused layernorm kernel
warnings.warn("Please install apex from source (https://github.com/NVIDIA/apex) to use the fused layernorm kernel")[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json
[comfyui_controlnet_aux] | INFO -> Using ckpts path: /home/runner/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']
2024-11-20 06:29:01,260- py.warnings:109- WARNING- /home/runner/ComfyUI/custom_nodes/comfyui_controlnet_aux/src/custom_controlnet_aux/util.py:56: UserWarning: custom temp dir is too long. Using default
warnings.warn(f"custom temp dir is too long. Using default")DWPose: Onnxruntime with acceleration providers detected
WAS Node Suite: OpenCV Python FFMPEG support is enabled
WAS Node Suite Warning: `ffmpeg_bin_path` is not set in `/home/runner/ComfyUI/custom_nodes/was-node-suite-comfyui/was_suite_config.json` config file. Will attempt to use system ffmpeg binaries if available.
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json
WAS Node Suite: Finished. Loaded 211 nodes successfully."Don't be afraid to give up the good to go for the great." - John D. Rockefeller
[Crystools INFO] Crystools version: 1.12.0
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/github-stats.json
[Crystools INFO] CPU: Intel(R) Xeon(R) Silver 4208 CPU @ 2.10GHz - Arch: x86_64 - OS: Linux 6.2.0-39-generic
[Crystools INFO] GPU/s:
[Crystools INFO] 0) NVIDIA A100-SXM4-80GB
[Crystools INFO] NVIDIA Driver: 550.54.14
cuda:0[rgthree] Loaded 34 exciting nodes.
[rgthree] NOTE: Will NOT use rgthree's optimized recursive execution as ComfyUI has changed.[ReActor] - STATUS - Running v0.5.1-a6 in ComfyUI
Torch version: 2.1.2+cu121
Efficiency Nodes: Attempting to add Control Net options to the 'HiRes-Fix Script' Node (comfyui_controlnet_aux add-on)...Success!
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json
FETCH DATA from: /home/runner/ComfyUI/custom_nodes/ComfyUI-Manager/extension-node-map.json [DONE]
FETCH DATA from: /home/runner/ComfyUI/custom_nodes/ComfyUI-Manager/extension-node-map.json [DONE]
2024-11-20 06:30:55,904- root:632- WARNING- invalid prompt: {'type': 'invalid_prompt', 'message': 'Cannot execute because a node is missing the class_type property.', 'details': "Node ID '#6'", 'extra_info': {}}
```Can confirm with latest commit the issue persists.
@ltdrdata:
Disable all custom nodes and try again.
┆Issue is synchronized with this [Notion page](https://www.notion.so/Issue-6442-After-newest-pull-10-29-comfy-core-nodes-fail-to-show-up-29c6d73d365081a18aeef31659f90679) by [Unito](https://www.unito.io)
Contributor guide
Research direction
Start by reproducing after `git pull origin master` and restarting ComfyUI, then disable all custom nodes as requested in the thread. Compare the latest revision with commit `5f502630883450e1605518c46b486040239b628d`; done means core nodes such as clipTextEncode and saveImage appear and execute without the missing `class_type` error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100