Open somosa77 opened 11 months ago
This has helped some people:
https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/3261#issuecomment-1869133650
Just had the same error code at this stage on Linux (NixOS):
❯ ./webui.sh
################################################################
Install script for stable-diffusion + Web UI
Tested on Debian 11 (Bullseye), Fedora 34+ and openSUSE Leap 15.4 or newer.
################################################################
################################################################
Running on ben user
################################################################
################################################################
Repo already cloned, using it as install directory
################################################################
################################################################
Create and activate python venv
################################################################
################################################################
Launching launch.py...
################################################################
ldconfig: Can't open cache file /nix/store/qn3ggz5sf3hkjs2c797xf7nan3amdxmp-glibc-2.38-27/etc/ld.so.cache
: No such file or directory
Cannot locate TCMalloc (improves CPU memory usage)
Python 3.11.6 (main, Oct 2 2023, 13:45:54) [GCC 12.3.0]
Version: v1.7.0
Commit hash: cf2772fab0af5573da775e7437e6acdca424f26e
Cloning Stable Diffusion into /home/ben/Documents/stable-diffusion-webui/repositories/stable-diffusion-stability-ai...
Cloning into '/home/ben/Documents/stable-diffusion-webui/repositories/stable-diffusion-stability-ai'...
fatal: unable to access 'https://github.com/Stability-AI/stablediffusion.git/': OpenSSL/3.0.12: error:16000069:STORE routines::unregistered scheme
Traceback (most recent call last):
File "/home/ben/Documents/stable-diffusion-webui/launch.py", line 48, in <module>
main()
File "/home/ben/Documents/stable-diffusion-webui/launch.py", line 39, in main
prepare_environment()
File "/home/ben/Documents/stable-diffusion-webui/modules/launch_utils.py", line 408, in prepare_environment
git_clone(stable_diffusion_repo, repo_dir('stable-diffusion-stability-ai'), "Stable Diffusion", stable_diffusion_commit_hash)
File "/home/ben/Documents/stable-diffusion-webui/modules/launch_utils.py", line 192, in git_clone
run(f'"{git}" clone "{url}" "{dir}"', f"Cloning {name} into {dir}...", f"Couldn't clone {name}", live=True)
File "/home/ben/Documents/stable-diffusion-webui/modules/launch_utils.py", line 116, in run
raise RuntimeError("\n".join(error_bits))
RuntimeError: Couldn't clone Stable Diffusion.
Command: "git" clone "https://github.com/Stability-AI/stablediffusion.git" "/home/ben/Documents/stable-diffusion-webui/repositories/stable-diffusion-stability-ai"
Error code: 128
Tried @AlUlkesh's suggestion but unfortunately to no avail.
For me, just being sure the folder stable-diffusion-stability-ai
is deleted and re-run the script solved the problem.
Because, as stated by the error:
remote: Compressing objects: 100% (94/94), done.
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
error: 7134 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
Seems to be just a connection problem 🤔
Checklist
- [x] The issue exists after disabling all extensions
- [x] The issue exists on a clean installation of webui
- [x] The issue is caused by an extension, but I believe it is caused by a bug in the webui
- [x] The issue exists in the current version of the webui
- [x] The issue has not been reported before recently
- [x] The issue has been reported before but has not been fixed yet
What happened?
Trying to start webui-user.bat
Steps to reproduce the problem
- Download
- Download GIT and Python
- Download models
- Trying to start webui-user.bat
What should have happened?
Work
What browsers do you use to access the UI ?
Mozilla Firefox
Sysinfo
Console logs
Текущая кодовая страница: 1251 venv "C:\Users\Константин\Desktop\stable-diffusion-webui-master\venv\Scripts\Python.exe" fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)] Version: 1.7.0 Commit hash: <none> Cloning Stable Diffusion into C:\Users\Константин\Desktop\stable-diffusion-webui-master\repositories\stable-diffusion-stability-ai... Cloning into 'C:\Users\Константин\Desktop\stable-diffusion-webui-master\repositories\stable-diffusion-stability-ai'... remote: Enumerating objects: 580, done. remote: Counting objects: 100% (310/310), done. remote: Compressing objects: 100% (94/94), done. error: RPC failed; curl 18 transfer closed with outstanding read data remaining error: 7134 bytes of body are still expected fetch-pack: unexpected disconnect while reading sideband packet fatal: early EOF fatal: fetch-pack: invalid index-pack output Traceback (most recent call last): File "C:\Users\Константин\Desktop\stable-diffusion-webui-master\launch.py", line 48, in <module> main() File "C:\Users\Константин\Desktop\stable-diffusion-webui-master\launch.py", line 39, in main prepare_environment() File "C:\Users\Константин\Desktop\stable-diffusion-webui-master\modules\launch_utils.py", line 408, in prepare_environment git_clone(stable_diffusion_repo, repo_dir('stable-diffusion-stability-ai'), "Stable Diffusion", stable_diffusion_commit_hash) File "C:\Users\Константин\Desktop\stable-diffusion-webui-master\modules\launch_utils.py", line 192, in git_clone run(f'"{git}" clone "{url}" "{dir}"', f"Cloning {name} into {dir}...", f"Couldn't clone {name}", live=True) File "C:\Users\Константин\Desktop\stable-diffusion-webui-master\modules\launch_utils.py", line 116, in run raise RuntimeError("\n".join(error_bits)) RuntimeError: Couldn't clone Stable Diffusion. Command: "git" clone "https://github.com/Stability-AI/stablediffusion.git" "C:\Users\Константин\Desktop\stable-diffusion-webui-master\repositories\stable-diffusion-stability-ai" Error code: 128
Additional information
No response
It's not a bug in the program, it's caused by unstable network. Just re execute webui.bat! The problem is solved
как решить эту проблему при установке?
error: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly: CANCEL (err 8) error: 4410 bytes of body are still expected fetch-pack: unexpected disconnect while reading sideband packet fatal: early EOF fatal: fetch-pack: invalid index-pack output
Here is the solution:
Find your git installation path first, locate the bin folder, and copy the path in the bin folder
Open Computer Settings "About">>"Advanced System Settings">>"Environment Variables"
Find "path", click "edit", create a new path, paste the just GIT path, and click OK
Rerun webui-user.bat
I was using my mobile hotspot for running webui-user.bat and each time I was getting the error " fatal: unable to access 'https://github.com/AUTOMATIC1111/stable-diffusion-webui.git/': Send failure: Connection was reset ". After researching the solution, I tried to switch my data connection from sim1 to sim2 and Boom it worked for me. Conclusion. It's mostly connection problem. Try to change your wifi connection and retry
git config --global http.proxy http:127.0.0.1:{your proxy port} git config --global https.proxy https:127.0.0.1:{your proxy port}
Checklist
What happened?
Trying to start webui-user.bat
Steps to reproduce the problem
What should have happened?
Work
What browsers do you use to access the UI ?
Mozilla Firefox
Sysinfo
-
Console logs
Additional information
No response