stable-diffusion-webui
stable-diffusion-webui copied to clipboard
[Bug]: RuntimeError: Couldn't clone Stable Diffusion.
Is there an existing issue for this?
- [X] I have searched the existing issues and checked the recent builds/commits
What happened?
After unpacking the sd.webui.zip archive and running run.bat for the first time...
Steps to reproduce the problem
- Go to D:\AI\SD\stable-diffusion-webui
- Press run.bat
- ...
What should have happened?
must be cloning
Sysinfo
Ferst launch ...
What browsers do you use to access the UI ?
Google Chrome
Console logs
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Commit hash: 48a15821de768fea76e66f26df83df3fddf18f4b
Cloning Stable Diffusion into repositories\stable-diffusion-stability-ai...
Traceback (most recent call last):
File "D:\AI\SD\stable-diffusion-webui\webui\launch.py", line 324, in <module>
prepare_environment()
File "D:\AI\SD\stable-diffusion-webui\webui\launch.py", line 264, in prepare_environment
git_clone(stable_diffusion_repo, repo_dir('stable-diffusion-stability-ai'), "Stable Diffusion", stable_diffusion_commit_hash)
File "D:\AI\SD\stable-diffusion-webui\webui\launch.py", line 128, in git_clone
run(f'"{git}" clone "{url}" "{dir}"', f"Cloning {name} into {dir}...", f"Couldn't clone {name}")
File "D:\AI\SD\stable-diffusion-webui\webui\launch.py", line 74, in run
raise RuntimeError(message)
RuntimeError: Couldn't clone Stable Diffusion.
Command: "git" clone "https://github.com/Stability-AI/stablediffusion.git" "repositories\stable-diffusion-stability-ai"
Error code: 128
stdout: <empty>
stderr: Cloning into 'repositories\stable-diffusion-stability-ai'...
error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: CANCEL (err 8)
error: 3216 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
Additional information
???
unexpected disconnect while reading sideband packet
most likely you're experiencing some sort of network issue on your end it is not a bug of webui
furthermore you clearly haven't read the wiki or the instructions on read me which would tell you to update sd.webui.zip
not that updating would help if the networking issue still persist
Same issue here on M1 MacBook Air. I have no network issues. I had the same issue cloning the stable-diffusion-webui
repo.
This helped me: https://stackoverflow.com/questions/21277806/fatal-early-eof-fatal-index-pack-failed
Therefore I ran:
git clone --depth 1 https://github.com/Stability-AI/stablediffusion.git <path to stable-diffusion-webui repo>/repositories/stable-diffusion-stability-ai
then it worked
It's not a bug in the program, it's caused by unstable network. Just re execute webui.bat! The problem is solved
Hello, sorry, can anyone guide me to fix this error during the installation of stable diffusion, the error that came to me. RuntimeError: Couldn't clone Stable Diffusion. How can I solve this? I would be grateful if someone could guide me. Thanks.