Comfy-Org / Comfy-Org/ComfyUI-Manager

Failed to execute startup-script: F:\comfyui3\ComfyUI\custom_nodes\ComfyUI-Manager\prestartup_script.py / Failed to initialize: list index out of range

Open
#2,144 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
16.1k
Forks
2.5k
Avg merge
5d 4h
Merged PRs (30d)
13

Description

Failed to execute startup-script: F:\comfyui3\ComfyUI\custom_nodes\ComfyUI-Manager\prestartup_script.py / Failed to initialize: list index out of range

Prestartup times for custom nodes:
0.0 seconds: F:\comfyui3\ComfyUI\custom_nodes\rgthree-comfy
0.0 seconds: F:\comfyui3\ComfyUI\custom_nodes\ComfyUI-Easy-Use
0.0 seconds: F:\comfyui3\ComfyUI\custom_nodes\ComfyUI-Marigold
0.0 seconds: F:\comfyui3\ComfyUI\custom_nodes\comfyui-lumi-batcher
0.5 seconds: F:\comfyui3\ComfyUI\custom_nodes\ComfyUI-PMRF
7.7 seconds (PRESTARTUP FAILED): F:\comfyui3\ComfyUI\custom_nodes\ComfyUI-Manager

Checkpoint files will always be loaded safely.
Total VRAM 32607 MB, total RAM 64916 MB
pytorch version: 2.7.0+cu128
xformers version: 0.0.30
Enabled fp16 accumulation.
Set vram state to: NORMAL_VRAM
Device: cuda:0 NVIDIA GeForce RTX 5090 D : cudaMallocAsync
Using sage attention
Python version: 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)]
ComfyUI version: 0.3.57
comfyui-frontend-package not found in requirements.txt
Failed to check frontend version: 'NoneType' object has no attribute 'split'
[Prompt Server] web root: F:\comfyui3\python\lib\site-packages\comfyui_frontend_package\static
W0910 16:21:22.309000 26112 site-packages\torch\distributed\elastic\multiprocessing\redirects.py:29] NOTE: Redirects are currently not supported in Windows or MacOs.
Note: NumExpr detected 24 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8.
NumExpr defaulting to 8 threads.
Traceback (most recent call last):
File "F:\comfyui3\python\lib\site-packages\git\__init__.py", line 296, in
refresh()
File "F:\comfyui3\python\lib\site-packages\git\__init__.py", line 289, in refresh
if not FetchInfo.refresh(): # noqa: F405
File "F:\comfyui3\python\lib\site-packages\git\remote.py", line 344, in refresh
if Git().version_info[:2] >= (2, 10):
File "F:\comfyui3\python\lib\site-packages\git\cmd.py", line 992, in __getattribute__
return super().__getattribute__(name)
File "F:\comfyui3\python\lib\site-packages\git\cmd.py", line 1041, in version_info
version_string = process_version.split(" ")[2]
IndexError: list index out of range

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "F:\comfyui3\ComfyUI\nodes.py", line 2129, in load_custom_node
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "F:\comfyui3\ComfyUI\custom_nodes\antrobots-comfyUI-nodepack\__init__.py", line 1, in
from .utils.globals import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
File "F:\comfyui3\ComfyUI\custom_nodes\antrobots-comfyUI-nodepack\utils\globals.py", line 18, in
from ..image_nodes import NODE_CLASS_MAPPINGS as image_nodes
File "F:\comfyui3\ComfyUI\custom_nodes\antrobots-comfyUI-nodepack\image_nodes.py", line 1, in
from git import Optional
File "F:\comfyui3\python\lib\site-packages\git\__init__.py", line 298, in
raise ImportError("Failed to initialize: {0}".format(_exc)) from _exc
ImportError: Failed to initialize: list index out of range

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the Windows startup failure and inspect prestartup_script.py, ComfyUI/nodes.py, and the GitPython files shown in the traceback, especially git/__init__.py, git/remote.py, and git/cmd.py. Determine whether the failure belongs to ComfyUI-Manager or the antrobots-comfyUI-nodepack import path. Done means startup completes without the reported IndexError and ImportError.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, python
Domain
devtools, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.