无法拉去 #142
t2664430050-eng
started this conversation in
General
无法拉去
#142
Replies: 1 comment
|
这个报错不是 SAM3 代码本身的问题,ComfyUI Manager 在执行 git update 时读不到当前分支:
也就是说 最稳的处理方式是重装这个 custom node:
cd ComfyUI/custom_nodes
git clone https://github.com/PozzettiAndrea/ComfyUI-SAM3.git
cd ComfyUI-SAM3
pip install -r requirements.txt --upgrade
python install.py如果你想先尝试修复现有目录,也可以在 git symbolic-ref HEAD refs/heads/main
git fetch origin
git checkout main
git pull但如果 |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
�[2K
Updating: comfyui-sam3
Traceback (most recent call last):
File "C:\Users\Administrator\AppData\Local\Comfy-Desktop\ComfyUI-Installs\ComfyUI\ComfyUI.venv\Lib\site-packages\comfyui_manager\glob\manager_server.py", line 887, in do_update
res = core.unified_manager.unified_update(node_name, node_ver)
File "C:\Users\Administrator\AppData\Local\Comfy-Desktop\ComfyUI-Installs\ComfyUI\ComfyUI.venv\Lib\site-packages\comfyui_manager\glob\manager_core.py", line 1455, in unified_update
return self.repo_update(self.active_nodes[node_id][1], instant_execution=instant_execution, no_deps=no_deps, return_postinstall=return_postinstall).with_target('nightly').with_ver('nightly')
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrator\AppData\Local\Comfy-Desktop\ComfyUI-Installs\ComfyUI\ComfyUI.venv\Lib\site-packages\comfyui_manager\glob\manager_core.py", line 1390, in repo_update
branch_name = repo.active_branch_name
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrator\AppData\Local\Comfy-Desktop\ComfyUI-Installs\ComfyUI\ComfyUI.venv\Lib\site-packages\comfyui_manager\common\git_compat.py", line 332, in active_branch_name
return self._repo.active_branch.name
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrator\AppData\Local\Comfy-Desktop\ComfyUI-Installs\ComfyUI\ComfyUI.venv\Lib\site-packages\git\repo\base.py", line 1076, in active_branch
raise ValueError(
"HEAD points to 'refs/heads/.invalid', which Git uses to mark refs as incompatible with older clients"
)
ValueError: HEAD points to 'refs/heads/.invalid', which Git uses to mark refs as
All reactions