Open JerryOver opened 1 year ago
It seems the update.py script is trying to use git to do the update, but there is no git repository initiated in the ..\ComfyUI\ folder.
Maybe the following could help: run git init
in the ComfyUI folder. It picks up the info in the .git folder in the ComfyUI folder. Now try update.py again.
Although I don't have an update.py, nor an update folder, so I can't test it. But if all fails you can now run git pull
in the ComfyUI folder and you would have the latest version as well.
I tried those two things, and this is the the output I got:
Microsoft Windows [Version 10.0.22621.2428] (c) Microsoft Corporation. All rights reserved.
C:\Users\hinso\OneDrive\Desktop\ComfyUI_windows_portable\ComfyUI>git init Initialized empty Git repository in C:/Users/hinso/OneDrive/Desktop/ComfyUI_windows_portable/ComfyUI/.git/
C:\Users\hinso\OneDrive\Desktop\ComfyUI_windows_portable\ComfyUI>git pull There is no tracking information for the current branch. Please specify which branch you want to merge with. See git-pull(1) for details.
git pull <remote> <branch>
If you wish to set tracking information for this branch you can do so with:
git branch --set-upstream-to=<remote>/<branch> master
I'll do whatever you suggest.
The weird thing is, I did a git init on my ComfyUI portable folder and it automatically set the remote, which is why I didn't include setting this. Please try git remote add https://github.com/comfyanonymous/ComfyUI.git
from your ComfyUI folder.
Sorry it took me a week to do your suggestion, but THANK YOU. it works now. I was expecting it to not work because I had tried so many things. What I did was start over. I reinstalled COMFYUI. I did your suggestion first, then updated and then installed MANAGER. It all works now, so thank you.
Just a little problem is that like most instruction the don't take into account all those who are running the stand alone version. The instruction above do not work in windows stand alone version since there is no promp to type the instructions... My guess is that I would have to edit the bat and execute it that way.... I don't know.... Hum...
I haven't been really been able to get started using Comfyui. I was trying to open up this animatediff workflow, but I get all these red boxes. Kosinkadink says I need to update my Comfyui, but I keep getting this message in my CMD window after clicking the update_comfyui.bat file:
File "C:\Users\hinso\OneDrive\Desktop\ComfyUI_windows_portable\update\update.py", line 45, in
repo = pygit2.Repository(str(sys.argv[1]))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\hinso\OneDrive\Desktop\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pygit2\repository.py", line 1759, in init
path_backend = init_file_backend(path, flags)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_pygit2.GitError: Repository not found at ..\ComfyUI\
C:\Users\hinso\OneDrive\Desktop\ComfyUI_windows_portable\update>pause Press any key to continue . . .
Not sure what to do.