mirror of
https://github.com/Comfy-Org/desktop.git
synced 2026-11-04 23:47:43 +00:00
[GH-ISSUE #587] [Unable to start] After installation, the startup remains in a spinning state. #177
Labels
No labels
area: desktop-app
Bounty
bug
bug-cop:answered
bug-cop:response-received
component: installer
component: preload
custom node
dependencies
Design
documentation
duplicate
enhancement
expected
frontend
good first issue
installation
Low-Priority
performance
Planned
platform: cross-platform
platform: windows
Potential Bug
Potential Bug
pull-request
question
refactor
Release
stale
User Support
V1
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/desktop#177
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @loveulb on GitHub (Jan 2, 2025).
Original GitHub issue: https://github.com/Comfy-Org/desktop/issues/587
[Unable to start] After installation, the startup remains in a spinning state.

I have tried reinstalling multiple times and have entered this state.
comfyui_8000.log
comfyui_8000.prev.log
┆Issue is synchronized with this Notion page by Unito
@loveulb commented on GitHub (Jan 2, 2025):
ComfyUI-Manager: installing dependencies done.
[2025-01-02 16:33:18.648] ** ComfyUI startup time: 2025-01-02 16:33:18.648639
[2025-01-02 16:33:18.702] ** Platform: Windows
[2025-01-02 16:33:18.702] ** Python version: 3.12.8 (main, Dec 6 2024, 18:10:20) [MSC v.1942 64 bit (AMD64)]
[2025-01-02 16:33:18.702] ** Python executable: D:\ComfyUI_Desktop.venv\Scripts\python.exe
[2025-01-02 16:33:18.702] ** ComfyUI Path: C:\Users\loveu\AppData\Local\Programs@comfyorgcomfyui-electron\resources\ComfyUI
[2025-01-02 16:33:18.702] ** Log path: D:\ComfyUI_Desktop\comfyui.log
Prestartup times for custom nodes:
[2025-01-02 16:33:20.943] 4.8 seconds: C:\Users\loveu\AppData\Local\Programs@comfyorgcomfyui-electron\resources\ComfyUI\custom_nodes\ComfyUI-Manager
[2025-01-02 16:33:20.943]
[2025-01-02 16:33:23.558] Total VRAM 24563 MB, total RAM 65459 MB
[2025-01-02 16:33:23.558] pytorch version: 2.5.1+cu121
[2025-01-02 16:33:23.560] Set vram state to: NORMAL_VRAM
[2025-01-02 16:33:23.561] Device: cuda:0 NVIDIA GeForce RTX 4090 : cudaMallocAsync
[2025-01-02 16:33:25.315] Using pytorch attention
[2025-01-02 16:33:27.444] [Prompt Server] web root: C:\Users\loveu\AppData\Local\Programs@comfyorgcomfyui-electron\resources\ComfyUI\web_custom_versions\desktop_app
[2025-01-02 16:33:28.411] Traceback (most recent call last):
File "C:\Users\loveu\AppData\Local\Programs@comfyorgcomfyui-electron\resources\ComfyUI\nodes.py", line 2089, in load_custom_node
module_spec.loader.exec_module(module)
File "", line 999, in exec_module
File "", line 488, in call_with_frames_removed
File "D:\ComfyUI_Desktop\custom_nodes/comfy-qr_init.py", line 1, in
from .qr_nodes import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
File "D:\ComfyUI_Desktop\custom_nodes/comfy-qr\qr_nodes.py", line 10, in
from qrcode.compat.pil import Image
ModuleNotFoundError: No module named 'qrcode.compat.pil'
[2025-01-02 16:33:28.411] Cannot import D:\ComfyUI_Desktop\custom_nodes/comfy-qr module for custom nodes: No module named 'qrcode.compat.pil'
[2025-01-02 16:33:28.438] Traceback (most recent call last):
File "C:\Users\loveu\AppData\Local\Programs@comfyorgcomfyui-electron\resources\ComfyUI\nodes.py", line 2089, in load_custom_node
module_spec.loader.exec_module(module)
File "", line 999, in exec_module
File "", line 488, in call_with_frames_removed
File "D:\ComfyUI_Desktop\custom_nodes/ComfyUI-3D-MeshTool_init.py", line 36, in
loadCustomNodes()# 调用loadCustomNodes函数,执行加载操作
^^^^^^^^^^^^^^^^^
File "D:\ComfyUI_Desktop\custom_nodes/ComfyUI-3D-MeshTool_init_.py", line 26, in loadCustomNodes
module = importlib.import_module(model_name, name)# 使用importlib.import_module动态导入模块
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ComfyUI_Desktop\uv-cache\cpython-3.12.8-windows-x86_64-none\Lib\importlib_init_.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1387, in _gcd_import
File "", line 1360, in _find_and_load
File "", line 1331, in _find_and_load_unlocked
File "", line 935, in _load_unlocked
File "", line 999, in exec_module
File "", line 488, in _call_with_frames_removed
File "D:\ComfyUI_Desktop\custom_nodes/ComfyUI-3D-MeshTool\nodes\convert.py", line 4, in
from loguru import logger
ModuleNotFoundError: No module named 'loguru'
[2025-01-02 16:33:28.438] Cannot import D:\ComfyUI_Desktop\custom_nodes/ComfyUI-3D-MeshTool module for custom nodes: No module named 'loguru'
[2025-01-02 16:33:31.166] [92m[Allor][0m: 0 nodes were overridden.
[2025-01-02 16:33:31.183] Traceback (most recent call last):
File "C:\Users\loveu\AppData\Local\Programs@comfyorgcomfyui-electron\resources\ComfyUI\nodes.py", line 2089, in load_custom_node
module_spec.loader.exec_module(module)
File "", line 999, in exec_module
File "", line 488, in call_with_frames_removed
File "D:\ComfyUI_Desktop\custom_nodes/ComfyUI-Allor_init.py", line 12, in
NODE_CLASS_MAPPINGS = loader.get_modules()
^^^^^^^^^^^^^^^^^^^^
File "D:\ComfyUI_Desktop\custom_nodes/ComfyUI-Allor\Loader.py", line 328, in get_modules
from .modules import ImageSegmentation
File "D:\ComfyUI_Desktop\custom_nodes/ComfyUI-Allor\modules\ImageSegmentation.py", line 3, in
from rembg import remove, new_session
File "D:\ComfyUI_Desktop.venv\Lib\site-packages\rembg_init_.py", line 5, in
from .bg import remove
File "D:\ComfyUI_Desktop.venv\Lib\site-packages\rembg\bg.py", line 6, in
import onnxruntime as ort
ModuleNotFoundError: No module named 'onnxruntime'
[2025-01-02 16:33:31.184] Cannot import D:\ComfyUI_Desktop\custom_nodes/ComfyUI-Allor module for custom nodes: No module named 'onnxruntime'
[2025-01-02 16:33:32.365] Traceback (most recent call last):
File "C:\Users\loveu\AppData\Local\Programs@comfyorgcomfyui-electron\resources\ComfyUI\nodes.py", line 2089, in load_custom_node
module_spec.loader.exec_module(module)
File "", line 999, in exec_module
File "", line 488, in call_with_frames_removed
File "D:\ComfyUI_Desktop\custom_nodes/ComfyUI-Anyline_init.py", line 1, in
from .anyline import AnyLine
File "D:\ComfyUI_Desktop\custom_nodes/ComfyUI-Anyline\anyline.py", line 8, in
from custom_nodes.comfyui_controlnet_aux.utils import common_annotator_call
ModuleNotFoundError: No module named 'custom_nodes.comfyui_controlnet_aux'
[2025-01-02 16:33:32.365] Cannot import D:\ComfyUI_Desktop\custom_nodes/ComfyUI-Anyline module for custom nodes: No module named 'custom_nodes.comfyui_controlnet_aux'
[2025-01-02 16:33:32.373] ### Loading: ComfyUI-Manager (V2.55.3)
[2025-01-02 16:33:32.378] ### ComfyUI Revision: UNKNOWN (The currently installed ComfyUI is not a Git repository)
[2025-01-02 16:33:32.388]
Import times for custom nodes:
[2025-01-02 16:33:32.388] 0.0 seconds: D:\ComfyUI_Desktop\custom_nodes/AIGODLIKE-ComfyUI-Translation
[2025-01-02 16:33:32.388] 0.0 seconds: C:\Users\loveu\AppData\Local\Programs@comfyorgcomfyui-electron\resources\ComfyUI\custom_nodes\websocket_image_save.py
[2025-01-02 16:33:32.388] 0.0 seconds: D:\ComfyUI_Desktop\custom_nodes/cg-use-everywhere
[2025-01-02 16:33:32.388] 0.0 seconds: D:\ComfyUI_Desktop\custom_nodes/cg-image-picker
[2025-01-02 16:33:32.388] 0.0 seconds: D:\ComfyUI_Desktop\custom_nodes/ComfyLiterals
[2025-01-02 16:33:32.388] 0.0 seconds (IMPORT FAILED): D:\ComfyUI_Desktop\custom_nodes/ComfyUI-3D-MeshTool
[2025-01-02 16:33:32.388] 0.0 seconds: D:\ComfyUI_Desktop\custom_nodes/ComfyMath
[2025-01-02 16:33:32.388] 0.0 seconds: D:\ComfyUI_Desktop\custom_nodes/comfy-image-saver
[2025-01-02 16:33:32.388] 0.0 seconds: C:\Users\loveu\AppData\Local\Programs@comfyorgcomfyui-electron\resources\ComfyUI\custom_nodes\ComfyUI-Manager
[2025-01-02 16:33:32.388] 0.0 seconds (IMPORT FAILED): D:\ComfyUI_Desktop\custom_nodes/ComfyUI-Allor
[2025-01-02 16:33:32.389] 0.0 seconds (IMPORT FAILED): D:\ComfyUI_Desktop\custom_nodes/comfy-qr
[2025-01-02 16:33:32.389] 0.0 seconds: D:\ComfyUI_Desktop\custom_nodes/ComfyUI-Advanced-ControlNet
[2025-01-02 16:33:32.389] 0.1 seconds (IMPORT FAILED): D:\ComfyUI_Desktop\custom_nodes/ComfyUI-Anyline
[2025-01-02 16:33:32.389] 0.1 seconds: D:\ComfyUI_Desktop\custom_nodes/ComfyUI-AnimateDiff-Evolved
[2025-01-02 16:33:32.389] 0.1 seconds: D:\ComfyUI_Desktop\custom_nodes/CharacterFaceSwap
[2025-01-02 16:33:32.390] 1.1 seconds: D:\ComfyUI_Desktop\custom_nodes/ComfyUI-AnimateAnyone-Evolved
[2025-01-02 16:33:32.390] 2.7 seconds: D:\ComfyUI_Desktop\custom_nodes/ComfyUI-AdvancedLivePortrait
[2025-01-02 16:33:32.390]
[2025-01-02 16:33:32.404] Starting server
[2025-01-02 16:33:32.405] To see the GUI go to: http://127.0.0.1:8000
[2025-01-02 16:33:32.408] Exception in thread Thread-5 ():
[2025-01-02 16:33:32.408] Traceback (most recent call last):
[2025-01-02 16:33:32.408] File "D:\ComfyUI_Desktop.venv\Lib\site-packages\aiohttp\connector.py", line 1351, in _create_direct_connection
[2025-01-02 16:33:32.409] hosts = await self._resolve_host(host, port, traces=traces)
[2025-01-02 16:33:32.409] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[2025-01-02 16:33:32.410] File "D:\ComfyUI_Desktop.venv\Lib\site-packages\aiohttp\connector.py", line 995, in _resolve_host
[2025-01-02 16:33:32.410] return await asyncio.shield(resolved_host_task)
[2025-01-02 16:33:32.410] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[2025-01-02 16:33:32.411] File "D:\ComfyUI_Desktop.venv\Lib\site-packages\aiohttp\connector.py", line 1026, in _resolve_host_with_throttle
[2025-01-02 16:33:32.411] addrs = await self._resolver.resolve(host, port, family=self._family)
[2025-01-02 16:33:32.411] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[2025-01-02 16:33:32.412] File "D:\ComfyUI_Desktop.venv\Lib\site-packages\aiohttp\resolver.py", line 36, in resolve
[2025-01-02 16:33:32.413] infos = await self._loop.getaddrinfo(
[2025-01-02 16:33:32.413] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[2025-01-02 16:33:32.413] File "D:\ComfyUI_Desktop\uv-cache\cpython-3.12.8-windows-x86_64-none\Lib\asyncio\base_events.py", line 900, in getaddrinfo
[2025-01-02 16:33:32.414] return await self.run_in_executor(
[2025-01-02 16:33:32.414] ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[2025-01-02 16:33:32.415] File "D:\ComfyUI_Desktop\uv-cache\cpython-3.12.8-windows-x86_64-none\Lib\concurrent\futures\thread.py", line 59, in run
[2025-01-02 16:33:32.415] result = self.fn(*self.args, **self.kwargs)
[2025-01-02 16:33:32.415] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[2025-01-02 16:33:32.416] File "D:\ComfyUI_Desktop\uv-cache\cpython-3.12.8-windows-x86_64-none\Lib\socket.py", line 976, in getaddrinfo
[2025-01-02 16:33:32.416] for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
[2025-01-02 16:33:32.416] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[2025-01-02 16:33:32.417] socket.gaierror: [Errno 11004] getaddrinfo failed
[2025-01-02 16:33:32.418]
[2025-01-02 16:33:32.418] The above exception was the direct cause of the following exception:
[2025-01-02 16:33:32.418]
[2025-01-02 16:33:32.418] Traceback (most recent call last):
[2025-01-02 16:33:32.418] File "D:\ComfyUI_Desktop\uv-cache\cpython-3.12.8-windows-x86_64-none\Lib\threading.py", line 1075, in _bootstrap_inner
[2025-01-02 16:33:32.418] self.run()
[2025-01-02 16:33:32.418] File "D:\ComfyUI_Desktop\uv-cache\cpython-3.12.8-windows-x86_64-none\Lib\threading.py", line 1012, in run
[2025-01-02 16:33:32.419] self._target(*self._args, **self._kwargs)
[2025-01-02 16:33:32.419] File "C:\Users\loveu\AppData\Local\Programs@comfyorgcomfyui-electron\resources\ComfyUI\custom_nodes\ComfyUI-Manager\glob\manager_server.py", line 1384, in
[2025-01-02 16:33:32.419] threading.Thread(target=lambda: asyncio.run(default_cache_update())).start()
[2025-01-02 16:33:32.419] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[2025-01-02 16:33:32.421] File "D:\ComfyUI_Desktop\uv-cache\cpython-3.12.8-windows-x86_64-none\Lib\asyncio\runners.py", line 194, in run
[2025-01-02 16:33:32.421] return runner.run(main)
[2025-01-02 16:33:32.421] ^^^^^^^^^^^^^^^^
[2025-01-02 16:33:32.422] File "D:\ComfyUI_Desktop\uv-cache\cpython-3.12.8-windows-x86_64-none\Lib\asyncio\runners.py", line 118, in run
[2025-01-02 16:33:32.422] return self._loop.run_until_complete(task)
[2025-01-02 16:33:32.422] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[2025-01-02 16:33:32.423] File "D:\ComfyUI_Desktop\uv-cache\cpython-3.12.8-windows-x86_64-none\Lib\asyncio\base_events.py", line 686, in run_until_complete
[2025-01-02 16:33:32.423] return future.result()
[2025-01-02 16:33:32.423] ^^^^^^^^^^^^^^^
[2025-01-02 16:33:32.424] File "C:\Users\loveu\AppData\Local\Programs@comfyorgcomfyui-electron\resources\ComfyUI\custom_nodes\ComfyUI-Manager\glob\manager_server.py", line 1381, in default_cache_update
[2025-01-02 16:33:32.424] await asyncio.gather(a, b, c, d, e)
[2025-01-02 16:33:32.424] File "C:\Users\loveu\AppData\Local\Programs@comfyorgcomfyui-electron\resources\ComfyUI\custom_nodes\ComfyUI-Manager\glob\manager_server.py", line 1368, in get_cache
[2025-01-02 16:33:32.425] json_obj = await core.get_data(uri, True)
[2025-01-02 16:33:32.425] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[2025-01-02 16:33:32.425] File "C:\Users\loveu\AppData\Local\Programs@comfyorgcomfyui-electron\resources\ComfyUI\custom_nodes\ComfyUI-Manager\glob\manager_core.py", line 658, in get_data
[2025-01-02 16:33:32.426] async with session.get(uri) as resp:
[2025-01-02 16:33:32.426] ^^^^^^^^^^^^^^^^
[2025-01-02 16:33:32.426] File "D:\ComfyUI_Desktop.venv\Lib\site-packages\aiohttp\client.py", line 1425, in aenter
[2025-01-02 16:33:32.427] self._resp: _RetType = await self._coro
[2025-01-02 16:33:32.427] ^^^^^^^^^^^^^^^^
[2025-01-02 16:33:32.428] File "D:\ComfyUI_Desktop.venv\Lib\site-packages\aiohttp\client.py", line 703, in _request
[2025-01-02 16:33:32.428] conn = await self._connector.connect(
[2025-01-02 16:33:32.428] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[2025-01-02 16:33:32.429] File "D:\ComfyUI_Desktop.venv\Lib\site-packages\aiohttp\connector.py", line 548, in connect
[2025-01-02 16:33:32.429] proto = await self._create_connection(req, traces, timeout)
[2025-01-02 16:33:32.429] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[2025-01-02 16:33:32.430] File "D:\ComfyUI_Desktop.venv\Lib\site-packages\aiohttp\connector.py", line 1056, in _create_connection
[2025-01-02 16:33:32.431] _, proto = await self._create_direct_connection(req, traces, timeout)
[2025-01-02 16:33:32.431] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[2025-01-02 16:33:32.432] File "D:\ComfyUI_Desktop.venv\Lib\site-packages\aiohttp\connector.py", line 1357, in _create_direct_connection
[2025-01-02 16:33:32.432] raise ClientConnectorDNSError(req.connection_key, exc) from exc
[2025-01-02 16:33:32.432] aiohttp.client_exceptions.ClientConnectorDNSError: Cannot connect to host raw.githubusercontent.com:443 ssl:default [getaddrinfo failed]
[2025-01-02 16:33:33.873] Error handling request
@webfiltered commented on GitHub (Jan 2, 2025):
Duplicate of #586
@loveulb commented on GitHub (Jan 2, 2025):
Okay, I'll just install the content that's not compatible with the original Comfyui and it will start up normally...