[GH-ISSUE #1026] [Bug]:Unable to start ComfyUI Desktop version v0.4.26-win #270

Closed
opened 2026-10-31 22:10:56 +00:00 by bsakaguchi · 1 comment
Owner

Originally created by @zefangfang on GitHub (Mar 6, 2025).
Original GitHub issue: https://github.com/Comfy-Org/desktop/issues/1026

App Version

0.426

Expected Behavior

The installation shows that everything is fine. Nothing is missing

Actual Behavior

[2025-03-05 21:25:17.705] [错误]回溯(最近调用最后):
文件“C:\Users\WZF\AppData\Local\Programs@comfyorgcomfyui-electron\resources\ComfyUI\main.py”,第 97 行,在

[2025-03-05 21:25:17.707] [错误] apply_custom_paths()
文件“C:\Users\WZF\AppData\Local\Programs@comfyorgcomfyui-electron\resources\ComfyUI\main.py”,第 30 行,apply_custom_paths
utils.extra_config.load_extra_path_config(config_path)
文件“C:\Users\WZF\AppData\Local\Programs@comfyorgcomfyui-electron\resources\ComfyUI\utils\extra_config.py”,第 7 行,load_extra_path_config
将 open(yaml_path, 'r', encoding='utf-8') 作为 stream:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError:[错误 2] 没有这样的文件或目录:'C:\Users\WZF\AppData\Roaming\ComfyUI\extra_models_config.yaml'

Steps to Reproduce

/

Debug Logs

[2025-03-05 21:25:17.705] [错误]回溯(最近调用最后):
文件“C:\Users\WZF\AppData\Local\Programs@comfyorgcomfyui-electron\resources\ComfyUI\main.py”,第 97 行,在

[2025-03-05 21:25:17.707] [错误] apply_custom_paths()
文件“C:\Users\WZF\AppData\Local\Programs@comfyorgcomfyui-electron\resources\ComfyUI\main.py”,第 30 行,apply_custom_paths
utils.extra_config.load_extra_path_config(config_path)
文件“C:\Users\WZF\AppData\Local\Programs@comfyorgcomfyui-electron\resources\ComfyUI\utils\extra_config.py”,第 7 行,load_extra_path_config
将 open(yaml_path, 'r', encoding='utf-8') 作为 stream:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError:[错误 2] 没有这样的文件或目录:'C:\Users\WZF\AppData\Roaming\ComfyUI\extra_models_config.yaml'

Browser Logs

Image

Settings JSON

/

Other

No response

┆Issue is synchronized with this Notion page by Unito

Originally created by @zefangfang on GitHub (Mar 6, 2025). Original GitHub issue: https://github.com/Comfy-Org/desktop/issues/1026 ### App Version 0.426 ### Expected Behavior The installation shows that everything is fine. Nothing is missing ### Actual Behavior [2025-03-05 21:25:17.705] [错误]回溯(最近调用最后): 文件“C:\Users\WZF\AppData\Local\Programs@comfyorgcomfyui-electron\resources\ComfyUI\main.py”,第 97 行,在 [2025-03-05 21:25:17.707] [错误] apply_custom_paths() 文件“C:\Users\WZF\AppData\Local\Programs@comfyorgcomfyui-electron\resources\ComfyUI\main.py”,第 30 行,apply_custom_paths utils.extra_config.load_extra_path_config(config_path) 文件“C:\Users\WZF\AppData\Local\Programs@comfyorgcomfyui-electron\resources\ComfyUI\utils\extra_config.py”,第 7 行,load_extra_path_config 将 open(yaml_path, 'r', encoding='utf-8') 作为 stream: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError:[错误 2] 没有这样的文件或目录:'C:\Users\WZF\AppData\Roaming\ComfyUI\extra_models_config.yaml' ### Steps to Reproduce / ### Debug Logs ```powershell [2025-03-05 21:25:17.705] [错误]回溯(最近调用最后): 文件“C:\Users\WZF\AppData\Local\Programs@comfyorgcomfyui-electron\resources\ComfyUI\main.py”,第 97 行,在 [2025-03-05 21:25:17.707] [错误] apply_custom_paths() 文件“C:\Users\WZF\AppData\Local\Programs@comfyorgcomfyui-electron\resources\ComfyUI\main.py”,第 30 行,apply_custom_paths utils.extra_config.load_extra_path_config(config_path) 文件“C:\Users\WZF\AppData\Local\Programs@comfyorgcomfyui-electron\resources\ComfyUI\utils\extra_config.py”,第 7 行,load_extra_path_config 将 open(yaml_path, 'r', encoding='utf-8') 作为 stream: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError:[错误 2] 没有这样的文件或目录:'C:\Users\WZF\AppData\Roaming\ComfyUI\extra_models_config.yaml' ``` ### Browser Logs ![Image](https://github.com/user-attachments/assets/675a4f04-f41c-4c02-926d-8982b215fd8b) ### Settings JSON / ### Other _No response_ ┆Issue is synchronized with this [Notion page](https://www.notion.so/Issue-1026-Bug-Unable-to-start-ComfyUI-Desktop-version-v0-4-26-win-1ae6d73d36508167bd38c54f1b735fe9) by [Unito](https://www.unito.io)
bsakaguchi 2026-10-31 22:10:56 +00:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@dosubot[bot] commented on GitHub (Mar 6, 2025):

To resolve the FileNotFoundError for extra_models_config.yaml in ComfyUI Desktop version 0.4.26 on Windows, ensure that the file exists at the following location:

C:/Users/WZF/AppData/Roaming/ComfyUI

If the file is missing, you can create it manually. Use the ComfyServerConfig.createConfigFile method to generate the file with default configurations. This method will create the file at the required path with the necessary content. Make sure the file is correctly named and placed in the specified directory. Avoid using the extra_model_paths.yaml.example file from the Program Files location for configuring additional model paths. If you encounter further issues, check the application logs for any errors related to file creation or permissions [1][2][3].

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other

<!-- gh-comment-id:2702518922 --> @dosubot[bot] commented on GitHub (Mar 6, 2025): <!-- Answer --> To resolve the `FileNotFoundError` for `extra_models_config.yaml` in ComfyUI Desktop version 0.4.26 on Windows, ensure that the file exists at the following location: ``` C:/Users/WZF/AppData/Roaming/ComfyUI ``` If the file is missing, you can create it manually. Use the `ComfyServerConfig.createConfigFile` method to generate the file with default configurations. This method will create the file at the required path with the necessary content. Make sure the file is correctly named and placed in the specified directory. Avoid using the `extra_model_paths.yaml.example` file from the Program Files location for configuring additional model paths. If you encounter further issues, check the application logs for any errors related to file creation or permissions <sup>[[1]](https://docs.comfy.org/installation/desktop/windows)</sup><sup>[[2]](https://github.com/Comfy-Org/desktop/blob/main/src/config/comfyServerConfig.ts)</sup><sup>[[3]](https://github.com/Comfy-Org/desktop/issues/747)</sup>. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* --- <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/74cbfbd6-9674-4ec1-984f-37cf3158ede4?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/74cbfbd6-9674-4ec1-984f-37cf3158ede4?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/74cbfbd6-9674-4ec1-984f-37cf3158ede4?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/74cbfbd6-9674-4ec1-984f-37cf3158ede4?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/74cbfbd6-9674-4ec1-984f-37cf3158ede4?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/74cbfbd6-9674-4ec1-984f-37cf3158ede4?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/74cbfbd6-9674-4ec1-984f-37cf3158ede4?feedback_type=other)</sup>
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/desktop#270
No description provided.