AUTOMATIC1111 / stable-diffusion-webui

Stable Diffusion web UI
GNU Affero General Public License v3.0
139.52k stars 26.45k forks source link

[Bug]: stderr: fatal: reference is not a tree: 24268930bf1dce879235a7fddd0b2355b84d7ea6 #8495

Open xinmans opened 1 year ago

xinmans commented 1 year ago

Is there an existing issue for this?

What happened?

Use --skip-python-version-check to suppress this warning.

Python 3.9.7 (default, Sep 16 2021, 16:59:28) [MSC v.1916 64 bit (AMD64)] Commit hash: 0cc0ee1bcb4c24a8c9715f66cede06601bfc00c8 Fetching updates for Taming Transformers... Checking out commit for Taming Transformers with hash: 24268930bf1dce879235a7fddd0b2355b84d7ea6... Traceback (most recent call last): File "D:\ai\stable-diffusion-webui\launch.py", line 360, in prepare_environment() File "D:\ai\stable-diffusion-webui\launch.py", line 301, in prepare_environment git_clone(taming_transformers_repo, repo_dir('taming-transformers'), "Taming Transformers", taming_transformers_commit_hash) File "D:\ai\stable-diffusion-webui\launch.py", line 156, in git_clone run(f'"{git}" -C "{dir}" checkout {commithash}', f"Checking out commit for {name} with hash: {commithash}...", f"Couldn't checkout commit {commithash} for {name}") File "D:\ai\stable-diffusion-webui\launch.py", line 105, in run raise RuntimeError(message) RuntimeError: Couldn't checkout commit 24268930bf1dce879235a7fddd0b2355b84d7ea6 for Taming Transformers. Command: "git" -C "repositories\taming-transformers" checkout 24268930bf1dce879235a7fddd0b2355b84d7ea6 Error code: 128 stdout: stderr: fatal: reference is not a tree: 24268930bf1dce879235a7fddd0b2355b84d7ea6

Steps to reproduce the problem

run webui-user.bat on windows10

What should have happened?

install sucess

Commit where the problem happens

24268930bf1dce879235a7fddd0b2355b84d7ea6

What platforms do you use to access the UI ?

No response

What browsers do you use to access the UI ?

No response

Command Line Arguments

run webui-user.bat on windows10

List of extensions

run webui-user.bat on windows10

Console logs

run webui-user.bat on windows10

Additional information

run webui-user.bat on windows10

xinmans commented 1 year ago

just clone repo to local to fix it

TCmatj commented 1 year ago

the specific repo path?

stuluo commented 1 year ago

https://github.com/CompVis/taming-transformers.git

TheRealAaronPrince commented 1 year ago

if you delete the taming transformers folder from sd.webui\webui\repositories, then it will attempt to clone the repo again. I got this error when interrupting the clone process.