[GH-ISSUE #1444] Comfyui Manager Folder_paths issue #601

Closed
opened 2026-10-27 21:19:43 +00:00 by bsakaguchi · 5 comments
Owner

Originally created by @Quickforce on GitHub (Jan 12, 2025).
Original GitHub issue: https://github.com/Comfy-Org/ComfyUI-Manager/issues/1444

Tried updating to latest version of comfy then this happened after i relaunched, tried reinstalling latest version of manager but still getting this error when trying to load up.

ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager\prestartup_script.py / module 'folder_paths' has no attribute 'get_user_directory'

Originally created by @Quickforce on GitHub (Jan 12, 2025). Original GitHub issue: https://github.com/Comfy-Org/ComfyUI-Manager/issues/1444 Tried updating to latest version of comfy then this happened after i relaunched, tried reinstalling latest version of manager but still getting this error when trying to load up. ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager\prestartup_script.py / module 'folder_paths' has no attribute 'get_user_directory'
Author
Owner

@ltdrdata commented on GitHub (Jan 12, 2025):

image

What is the ComfyUI version?

<!-- gh-comment-id:2585927326 --> @ltdrdata commented on GitHub (Jan 12, 2025): ![image](https://github.com/user-attachments/assets/1feb3d51-50cd-46a0-83ac-a6b0110549e1) What is the ComfyUI version?
Author
Owner

@ghost commented on GitHub (Jan 13, 2025):

I have the latest comfy. I think a recent Manager change has broken something. None of my custom nodes are able to update now. They all give this error:

ValueError: [ComfyUI-Manager] Not a valid git repository: C:\ComfyUI\ComfyUI\custom_nodes\comfyui-tooling-nodes
Updating: C:\ComfyUI\ComfyUI\custom_nodes\comfyui_controlnet_auxTraceback (most recent call last):
File "C:\ComfyUI\ComfyUI\custom_nodes\ComfyUI-Manager\glob\manager_core.py", line 536, in check_update
is_updated, success = git_repo_update_check_with(fullpath, do_update=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\ComfyUI\ComfyUI\custom_nodes\ComfyUI-Manager\glob\manager_core.py", line 1816, in git_repo_update_check_with
raise ValueError(f'[ComfyUI-Manager] Not a valid git repository: {path}')

<!-- gh-comment-id:2587704830 --> @ghost commented on GitHub (Jan 13, 2025): I have the latest comfy. I think a recent Manager change has broken something. None of my custom nodes are able to update now. They all give this error: ValueError: [ComfyUI-Manager] Not a valid git repository: C:\ComfyUI\ComfyUI\custom_nodes\comfyui-tooling-nodes Updating: C:\ComfyUI\ComfyUI\custom_nodes\comfyui_controlnet_auxTraceback (most recent call last): File "C:\ComfyUI\ComfyUI\custom_nodes\ComfyUI-Manager\glob\manager_core.py", line 536, in check_update is_updated, success = git_repo_update_check_with(fullpath, do_update=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\ComfyUI\ComfyUI\custom_nodes\ComfyUI-Manager\glob\manager_core.py", line 1816, in git_repo_update_check_with raise ValueError(f'[ComfyUI-Manager] Not a valid git repository: {path}')
Author
Owner

@encoded-evolution commented on GitHub (Jan 15, 2025):

I am also getting this same issue

"ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager\prestartup_script.py / module 'folder_paths' has no attribute 'get_user_directory'"

in a completely new install of comfyui portable on Win 10 that I am attempting today. But I got manager working because I had an older version of manager on another ComfyUI install from approx. a week and half ago. When I copied that old version into the new custom-nodes folder, both comfyUI and the manager started up and worked.

Per the old manager that works, the combo I can get working is:
ComfyUI: v0.0.1-19-g374e093
(2024-07-17)
Manager: V2.55.5

image

<!-- gh-comment-id:2591481679 --> @encoded-evolution commented on GitHub (Jan 15, 2025): I am also getting this same issue "ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager\prestartup_script.py / module 'folder_paths' has no attribute 'get_user_directory'" in a completely new install of comfyui portable on Win 10 that I am attempting today. But I got manager working because I had an older version of manager on another ComfyUI install from approx. a week and half ago. When I copied that old version into the new custom-nodes folder, both comfyUI and the manager started up and worked. Per the old manager that works, the combo I can get working is: ComfyUI: v0.0.1-19-g374e093 (2024-07-17) Manager: V2.55.5 ![image](https://github.com/user-attachments/assets/851e410b-18fe-4c5a-ae25-feae60e32d4b)
Author
Owner

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

I am also getting this same issue

"ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager\prestartup_script.py / module 'folder_paths' has no attribute 'get_user_directory'"

in a completely new install of comfyui portable on Win 10 that I am attempting today. But I got manager working because I had an older version of manager on another ComfyUI install from approx. a week and half ago. When I copied that old version into the new custom-nodes folder, both comfyUI and the manager started up and worked.

Per the old manager that works, the combo I can get working is:
ComfyUI: v0.0.1-19-g374e093
(2024-07-17)
Manager: V2.55.5

image

Your ComfyUI is too outdated. Please update to the latest version.

<!-- gh-comment-id:2591942541 --> @ltdrdata commented on GitHub (Jan 15, 2025): > I am also getting this same issue > > "ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager\prestartup_script.py / module 'folder_paths' has no attribute 'get_user_directory'" > > in a completely new install of comfyui portable on Win 10 that I am attempting today. But I got manager working because I had an older version of manager on another ComfyUI install from approx. a week and half ago. When I copied that old version into the new custom-nodes folder, both comfyUI and the manager started up and worked. > > Per the old manager that works, the combo I can get working is: > ComfyUI: v0.0.1-19-g374e093 > (2024-07-17) > Manager: V2.55.5 > > ![image](https://github.com/user-attachments/assets/851e410b-18fe-4c5a-ae25-feae60e32d4b) > > > Your ComfyUI is too outdated. Please update to the latest version.
Author
Owner

@encoded-evolution commented on GitHub (Jan 18, 2025):

you were correct, of course. Thanks

<!-- gh-comment-id:2599965200 --> @encoded-evolution commented on GitHub (Jan 18, 2025): you were correct, of course. Thanks
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#601
No description provided.