8000 Cannot execute because a node is missing the class_type property.: Node ID '#17' · Issue #8031 · comfyanonymous/ComfyUI · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Cannot execute because a node is missing the class_type property.: Node ID '#17' #8031

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

Open
Wallace-lee-ui opened this issue May 9, 2025 · 7 comments
Labels
Potential Bug User is reporting a bug. This should be tested.

Comments

@Wallace-lee-ui
Copy link

Expected Behavior

how to deal with that, i am so confused

Actual Behavior

2

Steps to Reproduce

2

Debug Logs

E:\ComfyUI\ComfyUI_windows_portable>.\python_embeded\python.exe -s ComfyUI\main.py --windows-standalone-build
[START] Security scan
[DONE] Security scan
## ComfyUI-Manager: installing dependencies done.
** ComfyUI startup time: 2025-05-10 01:57:41.551
** Platform: Windows
** Python version: 3.12.10 (tags/v3.12.10:0cc8128, Apr  8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)]
** Python executable: E:\ComfyUI\ComfyUI_windows_portable\python_embeded\python.exe
** ComfyUI Path: E:\ComfyUI\ComfyUI_windows_portable\ComfyUI
** ComfyUI Base Folder Path: E:\ComfyUI\ComfyUI_windows_portable\ComfyUI
** User directory: E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\user
** ComfyUI-Manager config path: E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\user\default\ComfyUI-Manager\config.ini
** Log path: E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\user\comfyui.log

Prestartup times for custom nodes:
   3.0 seconds: E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager

Checkpoint files will always be loaded safely.
Total VRAM 16379 MB, total RAM 16333 MB
pytorch version: 2.7.0+cu128
Set vram state to: NORMAL_VRAM
Device: cuda:0 NVIDIA GeForce RTX 4060 Ti : cudaMallocAsync
Using pytorch attention
Python version: 3.12.10 (tags/v3.12.10:0cc8128, Apr  8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)]
ComfyUI version: 0.3.32
ComfyUI frontend version: 1.18.9
[Prompt Server] web root: E:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\comfyui_frontend_package\static
ComfyUI-GGUF: Partial torch compile only, consider updating pytorch
### Loading: ComfyUI-Manager (V3.31.13)
[ComfyUI-Manager] network_mode: public
### ComfyUI Revision: 150 [0cf2e46b] *DETACHED | Released on '2025-05-06'
[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/extension-node-map.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
[E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux] | INFO -> Using ckpts path: E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\ckpts
[E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux] | INFO -> Using symlinks: False
[E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux] | INFO -> Using ort providers: ['CUDAExecutionProvider', 'DirectMLExecutionProvider', 'OpenVINOExecutionProvider', 'ROCMExecutionProvider', 'CPUExecutionProvider', 'CoreMLExecution
8000
Provider']
E:\ComfyUI\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")

Import times for custom nodes:
   0.0 seconds: E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\websocket_image_save.py
   0.0 seconds: E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-GGUF
   0.2 seconds: E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager
   0.4 seconds: E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-segment-anything-2
   0.7 seconds: E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux
   0.8 seconds: E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-florence2

Starting server

To see the GUI go to: http://127.0.0.1:8188
FETCH ComfyRegistry Data: 5/84
FETCH ComfyRegistry Data: 10/84
FETCH ComfyRegistry Data: 15/84
FETCH ComfyRegistry Data: 20/84
FETCH ComfyRegistry Data: 25/84
FETCH ComfyRegistry Data: 30/84
FETCH ComfyRegistry Data: 35/84
[ComfyUI-Manager] The ComfyRegistry cache update is still in progress, so an outdated cache is being used.
FETCH DATA from: E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\user\default\ComfyUI-Manager\cache\1514988643_custom-node-list.json [DONE]
FETCH DATA from: E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\user\default\ComfyUI-Manager\cache\746607195_github-stats.json [DONE]
FETCH DATA from: E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\user\default\ComfyUI-Manager\cache\832903789_extras.json [DONE]
FETCH DATA from: E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\user\default\ComfyUI-Manager\cache\1742899825_extension-node-map.json [DONE]
FETCH DATA from: E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\user\default\ComfyUI-Manager\cache\1742899825_extension-node-map.json [DONE]
FETCH ComfyRegistry Data: 40/84
[ComfyUI-Manager] The ComfyRegistry cache update is still in progress, so an outdated cache is being used.
FETCH DATA from: E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\user\default\ComfyUI-Manager\cache\1514988643_custom-node-list.json [DONE]
FETCH DATA from: E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\user\default\ComfyUI-Manager\cache\746607195_github-stats.json [DONE]
FETCH DATA from: E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\user\default\ComfyUI-Manager\cache\832903789_extras.json [DONE]
FETCH DATA from: E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\user\default\ComfyUI-Manager\cache\1742899825_extension-node-map.json [DONE]
FETCH ComfyRegistry Data: 45/84
[ComfyUI-Manager] The ComfyRegistry cache update is still in progress, so an outdated cache is being used.
FETCH DATA from: E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\user\default\ComfyUI-Manager\cache\1514988643_custom-node-list.json [DONE]
FETCH DATA from: E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\user\default\ComfyUI-Manager\cache\746607195_github-stats.json [DONE]
FETCH DATA from: E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\user\default\ComfyUI-Manager\cache\832903789_extras.json [DONE]
FETCH DATA from: E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\user\default\ComfyUI-Manager\cache\1742899825_extension-node-map.json [DONE]
FETCH DATA from: E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\user\default\ComfyUI-Manager\cache\1742899825_extension-node-map.json [DONE]
FETCH ComfyRegistry Data: 50/84
FETCH ComfyRegistry Data: 55/84
got prompt
invalid prompt: {'type': 'invalid_prompt', 'message': 'Cannot execute because a node is missing the class_type property.', 'details': "Node ID '#17'", 'extra_info': {}}
FETCH ComfyRegistry Data: 60/84
FETCH ComfyRegistry Data: 65/84
FETCH ComfyRegistry Data: 70/84
FETCH ComfyRegistry Data: 75/84
FETCH ComfyRegistry Data: 80/84
FETCH ComfyRegistry Data [DONE]
[ComfyUI-Manager] default cache updated: https://api.comfy.org/nodes
FETCH DATA from: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json [DONE]
[ComfyUI-Manager] All startup tasks have been completed.
got prompt
invalid prompt: {'type': 'invalid_prompt', 'message': 'Cannot execute because a node is missing the class_type property.', 'details': "Node ID '#17'", 'extra_info': {}}
got prompt
invalid prompt: {'type': 'invalid_prompt', 'message': 'Cannot execute because a node is missing the class_type property.', 'details': "Node ID '#17'", 'extra_info': {}}

Other

No response

@Wallace-lee-ui Wallace-lee-ui added the Potential Bug User is reporting a bug. This should be tested. label May 9, 2025
@giu-x
Copy link
giu-x commented May 10, 2025

same here
Cannot execute because a node is missing the class_type property.: Node ID '#10'

`

ComfyUI Error Report

Error Details

Stack Trace

Error: Prompt execution failed
    at ComfyApi.queuePrompt (http://127.0.0.1:8188/assets/index-DIZ3S7TP.js:95974:13)
    at async b.queuePrompt (http://127.0.0.1:8188/extensions/comfyui-easy-use/assets/extensions-DOjrs_AA.js:1:151302)
    at async PromptService.api.queuePrompt (http://127.0.0.1:8188/rgthree/common/prompt_service.js:88:28)
    at async ComfyApp.queuePrompt (http://127.0.0.1:8188/assets/index-DIZ3S7TP.js:252046:25)
    at async app.queuePrompt (http://127.0.0.1:8188/extensions/rgthree-comfy/rgthree.js:461:17)
    at async function (http://127.0.0.1:8188/assets/GraphView-TeNPG5fw.js:5080:9)
    at async http://127.0.0.1:8188/assets/index-DIZ3S7TP.js:185039:14
    at async Proxy.execute (http://127.0.0.1:8188/assets/index-DIZ3S7TP.js:187003:7)
    at async queuePrompt (http://127.0.0.1:8188/assets/GraphView-TeNPG5fw.js:4228:7)

System Information

  • ComfyUI Version: 0.3.33
  • Arguments: ComfyUI\main.py
  • OS: nt
  • Python Version: 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)]
  • Embedded Python: true
  • PyTorch Version: 2.7.0+cu128

Devices

  • Name: cuda:0 NVIDIA GeForce RTX 5070 Ti : cudaMallocAsync
    • Type: cuda
    • VRAM Total: 17094344704
    • VRAM Free: 15647899648
    • Torch VRAM Total: 0
    • Torch VRAM Free: 0

Logs

2025-05-09T22:47:17.732782 - [START] Security scan2025-05-09T22:47:17.732782 - 
2025-05-09T22:47:18.613817 - [DONE] Security scan2025-05-09T22:47:18.613817 - 
2025-05-09T22:47:18.718959 - ## ComfyUI-Manager: installing dependencies done.2025-05-09T22:47:18.718959 - 
2025-05-09T22:47:18.718959 - ** ComfyUI startup time:2025-05-09T22:47:18.718959 -  2025-05-09T22:47:18.718959 - 2025-05-09 22:47:18.7182025-05-09T22:47:18.718959 - 
2025-05-09T22:47:18.718959 - ** Platform:2025-05-09T22:47:18.718959 -  2025-05-09T22:47:18.718959 - Windows2025-05-09T22:47:18.718959 - 
2025-05-09T22:47:18.718959 - ** Python version:2025-05-09T22:47:18.718959 -  2025-05-09T22:47:18.719960 - 3.12.10 (tags/v3.12.10:0cc8128, Apr  8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)]2025-05-09T22:47:18.719960 - 
2025-05-09T22:47:18.719960 - ** Python executable:2025-05-09T22:47:18.719960 -  2025-05-09T22:47:18.719960 - D:\ComfyUI\ComfyUI_windows_portable\python_embeded\python.exe2025-05-09T22:47:18.719960 - 
2025-05-09T22:47:18.719960 - ** ComfyUI Path:2025-05-09T22:47:18.719960 -  2025-05-09T22:47:18.719960 - D:\ComfyUI\ComfyUI_windows_portable\ComfyUI2025-05-09T22:47:18.719960 - 
2025-05-09T22:47:18.719960 - ** ComfyUI Base Folder Path:2025-05-09T22:47:18.719960 -  2025-05-09T22:47:18.719960 - D:\ComfyUI\ComfyUI_windows_portable\ComfyUI2025-05-09T22:47:18.719960 - 
2025-05-09T22:47:18.719960 - ** User directory:2025-05-09T22:47:18.719960 -  2025-05-09T22:47:18.719960 - D:\ComfyUI\ComfyUI_windows_portable\ComfyUI\user2025-05-09T22:47:18.719960 - 
2025-05-09T22:47:18.722474 - ** ComfyUI-Manager config path:2025-05-09T22:47:18.722474 -  2025-05-09T22:47:18.722474 - D:\ComfyUI\ComfyUI_windows_portable\ComfyUI\user\default\ComfyUI-Manager\config.ini2025-05-09T22:47:18.722474 - 
2025-05-09T22:47:18.722474 - ** Log path:2025-05-09T22:47:18.722474 -  2025-05-09T22:47:18.722474 - D:\ComfyUI\ComfyUI_windows_portable\ComfyUI\user\comfyui.log2025-05-09T22:47:18.722474 - 
2025-05-09T22:47:19.997331 - 
Prestartup times for custom nodes:
2025-05-09T22:47:19.998332 -    0.0 seconds: D:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-easy-use
2025-05-09T22:47:19.998332 -    0.0 seconds: D:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\rgthree-comfy
2025-05-09T22:47:19.998332 -    2.9 seconds: D:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-manager
2025-05-09T22:47:19.998332 - 
2025-05-09T22:47:21.742868 - Checkpoint files will always be loaded safely.
2025-05-09T22:47:21.884308 - Total VRAM 16302 MB, total RAM 32676 MB
2025-05-09T22:47:21.884308 - pytorch version: 2.7.0+cu128
2025-05-09T22:47:21.885309 - Set vram state to: NORMAL_VRAM
2025-05-09T22:47:21.886311 - Device: cuda:0 NVIDIA GeForce RTX 5070 Ti : cudaMallocAsync
2025-05-09T22:47:23.500210 - Using pytorch attention
2025-05-09T22:47:24.993837 - Python version: 3.12.10 (tags/v3.12.10:0cc8128, Apr  8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)]
2025-05-09T22:47:24.993837 - ComfyUI version: 0.3.33
2025-05-09T22:47:25.011620 - ComfyUI frontend version: 1.18.9
2025-05-09T22:47:25.012663 - [Prompt Server] web root: D:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\comfyui_frontend_package\static
2025-05-09T22:47:26.019946 - Adding2025-05-09T22:47:26.019946 -  2025-05-09T22:47:26.019946 - D:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes2025-05-09T22:47:26.020947 -  2025-05-09T22:47:26.020947 - to sys.path2025-05-09T22:47:26.020947 - 
2025-05-09T22:47:26.163038 - Could not find efficiency nodes2025-05-09T22:47:26.163038 - 
2025-05-09T22:47:26.219128 - �[36;20m[comfyui_controlnet_aux] | INFO -> Using ckpts path: D:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\ckpts�[0m
2025-05-09T22:47:26.220129 - �[36;20m[comfyui_controlnet_aux] | INFO -> Using symlinks: False�[0m
2025-05-09T22:47:26.221130 - �[36;20m[comfyui_controlnet_aux] | INFO -> Using ort providers: ['CUDAExecutionProvider', 'DirectMLExecutionProvider', 'OpenVINOExecutionProvider', 'ROCMExecutionProvider', 'CPUExecutionProvider', 'CoreMLExecutionProvider']�[0m
2025-05-09T22:47:26.645768 - Loaded ControlNetPreprocessors nodes from2025-05-09T22:47:26.645768 -  2025-05-09T22:47:26.645768 - D:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux2025-05-09T22:47:26.645768 - 
2025-05-09T22:47:26.646805 - Could not find AdvancedControlNet nodes2025-05-09T22:47:26.646805 - 
2025-05-09T22:47:26.648806 - Could not find AnimateDiff nodes2025-05-09T22:47:26.648806 - 
2025-05-09T22:47:26.648806 - Could not find IPAdapter nodes2025-05-09T22:47:26.648806 - 
2025-05-09T22:47:26.655313 - Could not find VideoHelperSuite nodes2025-05-09T22:47:26.655313 - 
2025-05-09T22:47:26.657315 - Could not load ImpactPack nodes2025-05-09T22:47:26.657315 -  2025-05-09T22:47:26.657315 - Could not find ImpactPack nodes2025-05-09T22:47:26.657315 - 
2025-05-09T22:47:26.695201 - [Crystools �[0;32mINFO�[0m] Crystools version: 1.22.1
2025-05-09T22:47:26.726106 - [Crystools �[0;32mINFO�[0m] CPU: AMD Ryzen 5 5600X 6-Core Processor - Arch: AMD64 - OS: Windows 11
2025-05-09T22:47:26.742334 - [Crystools �[0;32mINFO�[0m] Pynvml (Nvidia) initialized.
2025-05-09T22:47:26.742334 - [Crystools �[0;32mINFO�[0m] GPU/s:
2025-05-09T22:47:26.761761 - [Crystools �[0;32mINFO�[0m] 0) NVIDIA GeForce RTX 5070 Ti
2025-05-09T22:47:26.761761 - [Crystools �[0;32mINFO�[0m] NVIDIA Driver: 576.28
2025-05-09T22:47:27.429215 - �[34m[ComfyUI-Easy-Use] server: �[0mv1.3.0 �[92mLoaded�[0m2025-05-09T22:47:27.429215 - 
2025-05-09T22:47:27.429215 - �[34m[ComfyUI-Easy-Use] web root: �[0mD:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-easy-use\web_version/v2 �[92mLoaded�[0m2025-05-09T22:47:27.429215 - 
2025-05-09T22:47:27.448996 - ComfyUI-GGUF: Partial torch compile only, consider updating pytorch
2025-05-09T22:47:27.709759 - D:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\albumentations\__init__.py:13: UserWarning: A new version of Albumentations is available: 2.0.6 (you have 1.4.15). Upgrade using: pip install -U albumentations. To disable automatic update checks, set the environment variable NO_ALBUMENTATIONS_UPDATE to 1.
  check_for_updates()
2025-05-09T22:47:27.904936 - D:\ComfyUI\ComfyUI_windows_portable\python_embeded\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)
2025-05-09T22:47:28.409244 - Traceback (most recent call last):
  File "D:\ComfyUI\ComfyUI_windows_portable\ComfyUI\nodes.py", line 2131, 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 "D:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-inspyrenet-rembg\__init__.py", line 1, in <module>
    from .Inspyrenet_Rembg import InspyrenetRembg, InspyrenetRembgAdvanced
  File "D:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-inspyrenet-rembg\Inspyrenet_Rembg.py", line 4, in <module>
    from transparent_background import Remover
  File "D:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\transparent_background\__init__.py", line 2, in <module>
    from transparent_background.gui import gui
  File "D:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\transparent_background\gui.py", line 2, in <module>
    from flet import (
ImportError: cannot import name 'icons' from 'flet' (D:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\flet\__init__.py). Did you mean: 'Icons'?

2025-05-09T22:47:28.409244 - Cannot import D:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-inspyrenet-rembg module for custom nodes: cannot import name 'icons' from 'flet' (D:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\flet\__init__.py)
2025-05-09T22:47:28.771236 - ### Loading: ComfyUI-Manager (V3.31.13)
2025-05-09T22:47:28.772236 - [ComfyUI-Manager] network_mode: public
2025-05-09T22:47:28.887071 - ### ComfyUI Version: v0.3.33-6-g1b3bf0a5 | Released on '2025-05-09'
2025-05-09T22:47:28.931125 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json
2025-05-09T22:47:28.950871 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/github-stats.json
2025-05-09T22:47:28.986177 - ------------------------------------------2025-05-09T22:47:28.987178 - 
2025-05-09T22:47:28.987178 - �[34mComfyroll Studio v1.76 : �[92m 175 Nodes Loaded�[0m2025-05-09T22:47:28.987178 - 
2025-05-09T22:47:28.988180 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json
2025-05-09T22:47:28.988180 - ------------------------------------------2025-05-09T22:47:28.988180 - 
2025-05-09T22:47:28.988180 - ** For changes, please see patch notes at https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/blob/main/Patch_Notes.md2025-05-09T22:47:28.988180 - 
2025-05-09T22:47:28.988180 - ** For help, please see the wiki at https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/wiki2025-05-09T22:47:28.988180 - 
2025-05-09T22:47:28.989180 - ------------------------------------------2025-05-09T22:47:28.989180 - 
2025-05-09T22:47:28.995185 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json
2025-05-09T22:47:29.022509 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json
2025-05-09T22:47:29.027514 - �[36;20m[D:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux] | INFO -> Using ckpts path: D:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\ckpts�[0m
2025-05-09T22:47:29.028514 - �[36;20m[D:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux] | INFO -> Using symlinks: False�[0m
2025-05-09T22:47:29.029516 - �[36;20m[D:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux] | INFO -> Using ort providers: ['CUDAExecutionProvider', 'DirectMLExecutionProvider', 'OpenVINOExecutionProvider', 'ROCMExecutionProvider', 'CPUExecutionProvider', 'CoreMLExecutionProvider']�[0m
2025-05-09T22:47:29.410109 - 
�[32mInitializing ControlAltAI Nodes�[0m2025-05-09T22:47:29.410109 - 
2025-05-09T22:47:29.444507 - 
2025-05-09T22:47:29.444507 - �[92m[rgthree-comfy] Loaded 42 exciting nodes. 🎉�[00m2025-05-09T22:47:29.444507 - 
2025-05-09T22:47:29.444507 - 
2025-05-09T22:47:29.624003 - �[34mWAS Node Suite: �[0mImporting styles from `D:\ComfyUI\ComfyUI_windows_portable\ComfyUI\styles.csv`.�[0m2025-05-09T22:47:29.624003 - 
2025-05-09T22:47:29.627005 - �[34mWAS Node Suite: �[0mStyles import complete.�[0m2025-05-09T22:47:29.628006 - 
2025-05-09T22:47:30.220512 - �[34mWAS Node Suite: �[0mOpenCV Python FFMPEG support is enabled�[0m2025-05-09T22:47:30.220512 - 
2025-05-09T22:47:30.220512 - �[34mWAS Node Suite �[93mWarning: �[0m`ffmpeg_bin_path` is not set in `D:\ComfyUI\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.�[0m2025-05-09T22:47:30.220512 - 
2025-05-09T22:47:30.800316 - �[34mWAS Node Suite: �[0mFinished.�[0m �[32mLoaded�[0m �[0m220�[0m �[32mnodes successfully.�[0m2025-05-09T22:47:30.800316 - 
2025-05-09T22:47:30.800316 - 
	�[3m�[93m"Success is not final, failure is not fatal: It is the courage to continue that counts."�[0m�[3m - Winston Churchill�[0m
2025-05-09T22:47:30.800316 - 
2025-05-09T22:47:30.812326 - 
Import times for custom nodes:
2025-05-09T22:47:30.812326 -    0.0 seconds: D:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\websocket_image_save.py
2025-05-09T22:47:30.812326 -    0.0 seconds: D:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-styles_csv_loader
2025-05-09T22:47:30.812326 -    0.0 seconds: D:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-inpaint-cropandstitch
2025-05-09T22:47:30.812326 -    0.0 seconds: D:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-OmniGen
2025-05-09T22:47:30.812326 -    0.0 seconds: D:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-GGUF
2025-05-09T22:47:30.812326 -    0.0 seconds: D:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-florence2
2025-05-09T22:47:30.812326 -    0.0 seconds: D:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-TiledDiffusion
2025-05-09T22:47:30.812326 -    0.0 seconds: D:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\controlaltai-nodes
2025-05-09T22:47:30.812326 -    0.0 seconds: D:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-img2paintingassistant
2025-05-09T22:47:30.812326 -    0.0 seconds: D:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\rgthree-comfy
2025-05-09T22:47:30.812326 -    0.0 seconds: D:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_Searge_LLM
2025-05-09T22:47:30.812326 -    0.1 seconds: D:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Crystools
2025-05-09T22:47:30.813327 -    0.1 seconds: D:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_Comfyroll_CustomNodes
2025-05-09T22:47:30.813327 -    0.1 seconds: D:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-manager
2025-05-09T22:47:30.813327 -    0.4 seconds: D:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux
2025-05-09T22:47:30.813327 -    0.4 seconds: D:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-itools
2025-05-09T22:47:30.813327 -    0.6 seconds: D:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-art-venture
2025-05-09T22:47:30.813327 -    0.7 seconds: D:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-easy-use
2025-05-09T22:47:30.813327 -    0.9 seconds (IMPORT FAILED): D:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-inspyrenet-rembg
2025-05-09T22:47:30.813327 -    1.4 seconds: D:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui
2025-05-09T22:47:30.813327 - 
2025-05-09T22:47:30.846637 - Starting server

2025-05-09T22:47:30.847638 - To see the GUI go to: http://127.0.0.1:8188
2025-05-09T22:47:32.484209 - FETCH ComfyRegistry Data: 5/842025-05-09T22:47:32.484209 - 
2025-05-09T22:47:36.431479 - FETCH ComfyRegistry Data: 10/842025-05-09T22:47:36.431479 - 
2025-05-09T22:47:40.307656 - FETCH ComfyRegistry Data: 15/842025-05-09T22:47:40.307656 - 
2025-05-09T22:47:43.994406 - FETCH ComfyRegistry Data: 20/842025-05-09T22:47:43.994406 - 
2025-05-09T22:47:47.096618 - got prompt
2025-05-09T22:47:47.096618 - invalid prompt: {'type': 'invalid_prompt', 'message': 'Cannot execute because a node is missing the class_type property.', 'details': "Node ID '#10'", 'extra_info': {}}

Attached Workflow

Please make sure that workflow does not contain any sensitive information such as API keys or passwords.

{"id":"5d53d643-7107-4ad0-874f-b37af5913bba","revision":0,"last_node_id":10,"last_link_id":15,"nodes":[{"id":3,"type":"SaveImage","pos":[1002,63],"size":[370.13250732421875,427.10296630859375],"flags":{},"order":2,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":14},{"localized_name":"filename_prefix","name":"filename_prefix","type":"STRING","widget":{"name":"filename_prefix"},"link":null}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.33","Node name for S&R":"SaveImage"},"widgets_values":["img"]},{"id":6,"type":"MaskToImage","pos":[790,490],"size":[184.62362670898438,26],"flags":{},"order":3,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":15}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[11]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.33","Node name for S&R":"MaskToImage"},"widgets_values":[]},{"id":9,"type":"SaveImage","pos":[1003,543],"size":[370.13250732421875,427.10296630859375],"flags":{},"order":4,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":11},{"localized_name":"filename_prefix","name":"filename_prefix","type":"STRING","widget":{"name":"filename_prefix"},"link":null}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.33","Node name for S&R":"SaveImage"},"widgets_values":["mask"]},{"id":1,"type":"LoadImage","pos":[76,388],"size":[316.12176513671875,410.7203369140625],"flags":{},"order":0,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[13]},{"localized_name":"MASK","name":"MASK","type":"MASK","links":null}],"properties":{"cnr_id":"comfy-core","ver":"0.3.33","Node name for S&R":"LoadImage"},"widgets_values":["PortraitWoman.png","image"]},{"id":10,"type":"InspyrenetRembg","pos":[419,386],"size":[315,78],"flags":{},"order":1,"mode":0,"inputs":[{"name":"image","type":"IMAGE","link":13}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[14],"slot_index":0},{"name":"MASK","type":"MASK","links":[15],"slot_index":1}],"properties":{"Node name for S&R":"InspyrenetRembg"},"widgets_values":["default"]}],"links":[[11,6,0,9,0,"IMAGE"],[13,1,0,10,0,"IMAGE"],[14,10,0,3,0,"IMAGE"],[15,10,1,6,0,"MASK"]],"groups":[],"config":{},"extra":{"ds":{"scale":1.0152559799477099,"offset":[177.99823509153305,34.958638035829374]},"frontendVersion":"1.18.9"},"version":0.4}

Additional Context

(Please add any additional context or steps to reproduce the error here)
`

@skyphyr
8000 Copy link
skyphyr commented May 10, 2025

The issue is the transparent_background package has its gui.py import "icons" from flet, however, flet exports Icons, so the import needs to be updated to be capitalized.

In transparent_background\gui.py
the flet imports need to be changed from

import flet as ft
from flet import (
    ElevatedButton,
    FilePicker,
    FilePickerResultEvent,
    Page,
    Row,
    Text,
    icons,
)

to

import flet as ft
from flet import (
    ElevatedButton,
    FilePicker,
    FilePickerResultEvent,
    Page,
    Row,
    Text,
    Icons,
)

(Only change is capitalizing the i. I just provided the whole section to make it easier to find)

Sorry for the lack of a patch or pull request. Today's my first day using ComfyUI, so I have no idea who owns what or where the repos for the various packages involved are.

Cheers,

Alan.

@sargrvb
Copy link
sargrvb commented May 10, 2025

skyphyr Was a big help here! For those wondering, the path for portable was under ...\ComfyUI_windows_portable\python_embeded\Lib\site-packages\transparent_background\gui.py

@wzgrx
Copy link
wzgrx commented May 12, 2025

Traceback (most recent call last):
File "E:\Ai\ComfyUI\nodes.py", line 2131, in load_custom_node
module_spec.loader.exec_module(module)
File "", line 940, in exec_module
File "", line 241, in call_with_frames_removed
File "E:\Ai\ComfyUI\custom_nodes\ComfyUI-Apt_Preset_init
.py", line 23, in
from .NodeBasic.C_imgEffect import *
File "E:\Ai\ComfyUI\custom_nodes\ComfyUI-Apt_Preset\NodeBasic\C_imgEffect.py", line 10, in
from transparent_background import Remover
File "E:\Ai\ComfyUI\venv\Lib\site-packages\transparent_background_init_.py", line 2, in
from transparent_background.gui import gui
File "E:\Ai\ComfyUI\venv\Lib\site-packages\transparent_background\gui.py", line 2, in
from flet import (
ImportError: cannot import name 'icons' from 'flet' (E:\Ai\ComfyUI\venv\Lib\site-packages\flet_init_.py)

Same problem, what node is the problem? How to solve it?

@rmjrea
Copy link
rmjrea commented May 12, 2025

Thanks @skyphyr capital I worked for me. The node I had an issue with was InSPyReNet TransparentBG

@skyphyr
Copy link
skyphyr commented May 15, 2025

Glad it got you going :)

@JackWestAZ
Copy link

That fixed it. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Potential Bug User is reporting a bug. This should be tested.
Projects
None yet
Development

No branches or pull requests

7 participants
0