stable-diffusion-webui icon indicating copy to clipboard operation
stable-diffusion-webui copied to clipboard

[Bug]: Error code: 3221225477

Open Rurushima opened this issue 2 years ago • 3 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues and checked the recent builds/commits

What happened?

I'm not a programmer. When I run stable diffusion, it constantly appears with error code 3221225477 or complains about the pip version.I have reinstalled stable diffusion many times, even rebooted Windows, but in the end it turns out the same error. I installed it in various ways, but none of them worked. I tried to update pip as indicated in the console, but that didn't help either. When I installed stable diffusion for the VERY FIRST time, everything went well, I installed the portable version, did not download python beforehand, and everything was fine, I worked in it, nothing broke for a long time, but then an error appeared related to some update (I don't remember exactly), and after from the very first removal, I had stable diffusion, which completely stopped working. I install Python correctly, I do everything as indicated, but nothing helps

Steps to reproduce the problem

  1. Go to ....
  2. Press ....
  3. ...

What should have happened?

should start stable diffusion

Sysinfo

dfsddf.txt

What browsers do you use to access the UI ?

Other

Console logs

From https://github.com/AUTOMATIC1111/stable-diffusion-webui
 * branch              master     -> FETCH_HEAD
Already up to date.
venv "venv\Scripts\Python.exe"
fatal: No names found, cannot describe anything.
Python 3.10.9 (tags/v3.10.9:1dd9be6, Dec  6 2022, 20:01:21) [MSC v.1934 64 bit (AMD64)]
Version: 1.6.1
Commit hash: 4afaaf8a020c1df457bcf7250cb1c7f609699fa7
Fetching updates for Stable Diffusion XL...
Traceback (most recent call last):
  File "C:\stable-diffusion-portable-main\launch.py", line 48, in <module>
    main()
  File "C:\stable-diffusion-portable-main\launch.py", line 39, in main
    prepare_environment()
  File "C:\stable-diffusion-portable-main\modules\launch_utils.py", line 381, in prepare_environment
    git_clone(stable_diffusion_xl_repo, repo_dir('generative-models'), "Stable Diffusion XL", stable_diffusion_xl_commit_hash)
  File "C:\stable-diffusion-portable-main\modules\launch_utils.py", line 179, in git_clone
    run_git(dir, name, 'fetch', f"Fetching updates for {name}...", f"Couldn't fetch {name}", autofix=False)
  File "C:\stable-diffusion-portable-main\modules\launch_utils.py", line 154, in run_git
    return run(f'"{git}" -C "{dir}" {command}', desc=desc, errdesc=errdesc, custom_env=custom_env, live=live)
  File "C:\stable-diffusion-portable-main\modules\launch_utils.py", line 115, in run
    raise RuntimeError("\n".join(error_bits))
RuntimeError: Couldn't fetch Stable Diffusion XL.
Command: "git\cmd\git.exe" -C "C:\stable-diffusion-portable-main\repositories\generative-models" fetch
Error code: 3221225477

Additional information

No response

Rurushima avatar Nov 05 '23 00:11 Rurushima

It's almost certainly one of two things:

  • your git client is installed in a directory with spaces
  • your path includes C:\Program Files\Git\cmd rather than C:\Program Files\Git\bin

mirh avatar Apr 13 '24 21:04 mirh

and how do I check what exactly is wrong?and how do I change this path?

Olegary9 avatar May 17 '24 12:05 Olegary9

  1. is literally just the path to the directory the program is running from
  2. is PATH as in the environment variable

mirh avatar May 17 '24 21:05 mirh