Open juh9870 opened 1 year ago
getting the same error
Nodes do not get added due to module import error Error log: https://pastebin.com/EMe1sUa3 Comfy UI version: comfyanonymous/ComfyUI@492db2d
i meet this error because my filename is wrong with the "./custom_nodes/Derfuu_ComfyUI_ModdedNodes_master", i delate "_master", then everything goes well.
getting the same error
I don't have _master
in the name. I have repo placed in custom_nodes/Derfuu_ComfyUI_ModdedNodes/
Should be fixed now. Maybe there was errors with the absolute import paths.
Should be fixed now. Maybe there was errors with the absolute import paths.
im getting the error all installed, from git clone. but
getting the same error
im getting the error all installed, from git clone. but
getting the same error
Are there any details or logs about what did you do to get this error?
im getting the error all installed, from git clone. but
getting the same error
Are there any details or logs about what did you do to get this error?
at startup the node loaded
Import times for custom nodes: [2024-04-28 00:05] 0.0 seconds: E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\websocket_image_save.py [2024-04-28 00:05] 0.0 seconds: E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\sdxl_prompt_styler [2024-04-28 00:05] 0.0 seconds: E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\cg-use-everywhere [2024-04-28 00:05] 0.0 seconds: E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\wlsh_nodes [2024-04-28 00:05] 0.0 seconds: E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_IPAdapter_plus [2024-04-28 00:05] 0.0 seconds: E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\hd_node [2024-04-28 00:05] 0.0 seconds: E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfy-image-saver [2024-04-28 00:05] 0.0 seconds: E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Advanced-ControlNet [2024-04-28 00:05] 0.0 seconds: E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\Derfuu_ComfyUI_ModdedNodes [2024-04-28 00:05] 0.0 seconds: E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Custom-Scripts [2024-04-28 00:05] 0.0 seconds: E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-KJNodes [2024-04-28 00:05] 0.0 seconds: E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\rgthree-comfy [2024-04-28 00:05] 0.0 seconds: E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_essentials [2024-04-28 00:05] 0.0 seconds: E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_Comfyroll_CustomNodes [2024-04-28 00:05] 0.0 seconds: E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-SUPIR [2024-04-28 00:05] 0.2 seconds: E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Impact-Pack [2024-04-28 00:05] 0.3 seconds: E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_InstantID [2024-04-28 00:05] 0.3 seconds: E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager [2024-04-28 00:05] 0.8 seconds: E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\bilbox-comfyui [2024-04-28 00:05] 0.9 seconds: E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-CCSR [2024-04-28 00:05] 1.1 seconds: E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Hangover-Moondream [2024-04-28 00:05] 1.5 seconds: E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui [2024-04-28 00:05] 1.6 seconds: E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-mixlab-nodes [2024-04-28 00:05] 2.9 seconds: E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Crystools [2024-04-28 00:05]
After force the queue prompt
[2024-04-28 00:05] got prompt [2024-04-28 00:05] Error handling request Traceback (most recent call last): File "E:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohttp\web_protocol.py", line 452, in _handle_request resp = await request_handler(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "E:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohttp\web_app.py", line 543, in _handle resp = await handler(request) ^^^^^^^^^^^^^^^^^^^^^^ File "E:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohttp\web_middlewares.py", line 114, in impl return await handler(request) ^^^^^^^^^^^^^^^^^^^^^^ File "E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\server.py", line 41, in cache_control response: web.Response = await handler(request) ^^^^^^^^^^^^^^^^^^^^^^ File "E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\server.py", line 53, in cors_middleware response = await handler(request) ^^^^^^^^^^^^^^^^^^^^^^ File "E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\server.py", line 468, in post_prompt valid = execution.validate_prompt(prompt) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\execution.py", line 625, in validateprompt class = nodes.NODE_CLASS_MAPPINGS[prompt[x]['class_type']]
KeyError: 'class_type'
![Screenshot 2024-04-28 001442](https://github.com/Derfuu/Derfuu_ComfyUI_ModdedNodes/assets/150654897/95ae6a86-1ddf-4c73-bf1c-11ef8f5714a8)
Here's my, "Me, too."
I did the install in manager with install from git and also tried cloning and manually unzipping the files in-place.
Throwing my "me too" in the ring as well.
Currently, I don't understand what could cause these import errors. As i can see from @eriicfreez log - is that this error rasies from default ComfyUI package. Tried to install them on portable version of ComfyUI through ComfyUI-Manager and it works normally. Same about local version.
All i can suggest for now is:
Maybe one of these steps will help you.
我也遇到了相同的问题
我从 git clone 得到全部安装的错误。
得到同样的错误
是否有任何详细信息或日志说明您做了什么才出现此错误?
启动时加载节点
自定义节点的导入时间: [2024-04-28 00:05] 0.0 秒:E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\websocket_image_save.py [2024-04-28 00:05] 0.0 秒:E:\ ComfyUI \ComfyUI_windows_portable\ComfyUI\custom_nodes\sdxl_prompt_styler [2024-04-28 00:05] 0.0 秒: E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\cg-use-everywhere [2024-04-28 00:05] 0.0秒: E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\wlsh_nodes [2024-04-28 00:05] 0.0 秒: E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_IPAdapter_plus [2024-04-28 00:05] 0.0秒: E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\hd_node [2024-04-28 00:05] 0.0 秒: E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfy-image-saver [2024-04-28 00: 05 ] ] 0.0 秒:E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Advanced-ControlNet [2024-04-28 00:05] 0.0 秒:E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\Derfuu_ComfyUI_ModdedNode s [2024- 04- 28 00:05] 0.0 秒:E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Custom-Scripts [2024-04-28 00:05] 0.0 秒:E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ ComfyUI- KJNodes [2024-04-28 00:05] 0.0秒:E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\rg 三舒适 [2024-04-28 00:05] 0.0秒:E:\ComfyUI\ComfyUI_windows_portable \ComfyUI\ custom_nodes\ComfyUI_essentials [2024-04-28 00:05] 0.0 秒: E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_Comfyroll_CustomNodes [2024-04-28 00:05] 0.0 秒: E:\ComfyUI\Comf yUI_windows_端口能够\ComfyUI\ custom_nodes\ComfyUI-SUPIR [2024-04-28 00:05] 0.2秒:E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Impact-Pack [2024-04-28 00:05] 0.3秒:E:\ ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_InstantID [2024-04-28 00:05] 0.3秒:E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager [2024-04-28 00:05] 0.8秒:E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\bilbox-comfyui [2024-04-28 00:05] 0.9秒:E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-CCSR [2024-04-28 00:05] 1.1秒:E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Hangover-Moondream [2024-04-28 00:05] 1.5秒:E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node -suite-comfyui [2024-04-28 00:05] 1.6秒:E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-mixlab-nodes [2024-04-28 00:05] 2.9秒:E:\ComfyUI \ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Crystools [2024-04-28 00:05]
强制队列提示后
[2024-04-28 00:05] 得到提示 [2024-04-28 00:05] 处理请求 回溯时出错(最近一次调用最后一次): 文件“E:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site- packages\ aiohttp\web_protocol.py",第452行,在 _handle_request resp = wait request_handler(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ 文件中“E:\ ComfyUI \ ComfyUI_windows_portable \ python_embeded \ Lib \ site-packages \ aiohttp \ web_app.py”,第543行,_句柄中 =等待处理程序(请求) ^^^^^^^ ^^^^^^^^^ ^^^^^^^^ 文件“E:\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohttp\web_middlewares.py”,第114行,隐式 返回等待处理程序(请求) ^^^^^^^^^ ^^^^^^^^^^^^^^^^ 文件“E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\server.py”,第41行,cache_control 响应中: web.Response = wait handler(request) ^^^^ ^^^^^^^^^^^^^^^^^^^^ 文件“E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\server.py”,第 53 条行,在 cors_middleware 响应 = 等待处理程序(请求) ^^^^ ^^^^^^^^^^^^^^^^^^^^ 文件“E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\server.py” ,第468行,在post_prompt valid =execution.validate_prompt(prompt) ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 文件“E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\execution.py”,第625行,位于validateprompt class =nodes.NODE_CLASS_MAPPINGS[prompt[x]['class_type']]
~~~~~^^^ ^^^^^^^^^^^^^ KeyError:'class_type'
问题解决了吗
I do not have the problem after latest update, thank you. There are some old BoXES that do not load. but as derfuu is now visible there, I can substitute that text box with a new derfuu text box and everything works.
I do not have the problem after latest update, thank you. There are some old BoXES that do not load. but as derfuu is now visible there, I can substitute that text box with a new derfuu text box and everything works.
That is exactly the problem a lot of nodes do not load and become red boxes. It seems there is no solution at the moment. I thought this is a new issue. it is 8 months old
I got the same problem. I think because I'm on Mac.
Same problem, windows 11.
same error,windows11
Same problem, windows 11.
同样的问题,Windows 11。
Nodes do not get added due to module import error Error log: https://pastebin.com/EMe1sUa3 Comfy UI version: https://github.com/comfyanonymous/ComfyUI/commit/492db2de8db7e082addf131b40adb4a1b7535821