[GH-ISSUE #2144] Failed to execute startup-script: F:\comfyui3\ComfyUI\custom_nodes\ComfyUI-Manager\prestartup_script.py / Failed to initialize: list index out of range #879

Open
opened 2026-10-27 21:23:27 +00:00 by bsakaguchi · 1 comment
Owner

Originally created by @MusStudio on GitHub (Sep 10, 2025).
Original GitHub issue: https://github.com/Comfy-Org/ComfyUI-Manager/issues/2144

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

Originally created by @MusStudio on GitHub (Sep 10, 2025). Original GitHub issue: https://github.com/Comfy-Org/ComfyUI-Manager/issues/2144 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 <module> 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 "<frozen importlib._bootstrap_external>", line 883, in exec_module File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "F:\comfyui3\ComfyUI\custom_nodes\antrobots-comfyUI-nodepack\__init__.py", line 1, in <module> 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 <module> 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 <module> from git import Optional File "F:\comfyui3\python\lib\site-packages\git\__init__.py", line 298, in <module> raise ImportError("Failed to initialize: {0}".format(_exc)) from _exc ImportError: Failed to initialize: list index out of range
Author
Owner

@ltdrdata commented on GitHub (Sep 15, 2025):

Execute following command in cmd.

git --version

What messages are displayed?

<!-- gh-comment-id:3294367027 --> @ltdrdata commented on GitHub (Sep 15, 2025): Execute following command in cmd. ``` git --version ``` What messages are displayed?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Comfy-Org/ComfyUI-Manager#879
No description provided.