AUTOMATIC1111 / stable-diffusion-webui

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

[Bug]: #13304

Open HDL34 opened 11 months ago

HDL34 commented 11 months ago

Is there an existing issue for this?

What happened?

J'ai eu ce problème en installant Automatic1111 depuis le launcher:

"Any error happening after 'commit hash : XXXX' is not related to the launcher. Please report them on Automatic1111's github instead :" image

Steps to reproduce the problem

Lancer le launcher et attendre qu'il télécharge l'ensemble des fichiers

What should have happened?

IDK

Sysinfo

.

What browsers do you use to access the UI ?

No response

Console logs

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  Loading A111 WebUI Launcher
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 i   Settings file found, loading
 →   Updating Settings File  ✓
 i   Launcher Version 1.7.0
 i   No Launcher launch options
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 →   Checking requirements :
 i   Python 3.10.6150.1013 found in registry:  C:\Users\Harald De Luca\AppData\Local\Programs\Python\Python310\
 i   Clearing PATH of any mention of Python
 →   Adding python 3.10 to path  ✓
 i   Git found and already in PATH:  D:\Program Files\Git\cmd\git.exe
 i   Automatic1111 SD WebUI found:  D:\Stable Difusion_A1111 WebUI\stable-diffusion-webui
 i   One or more checkpoint models were found
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  Loading Complete, opening launcher
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 i   Arguments are now: --xformers
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 ↺   Updating Webui
 ✓   Done
 i   There is no extension in the extensions folder
 i   Arguments are now: --xformers
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  WEBUI LAUNCHING VIA EMS LAUNCHER, EXIT THIS WINDOW TO STOP THE WEBUI
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 !   Any error happening after 'commit hash : XXXX' is not related to the launcher. Please report them on Automatic1111's github instead :
 ☁   https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/new/choose
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Cancel
venv "D:\Stable Difusion_A1111 WebUI\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug  1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Version: v1.6.0
Commit hash: 5ef669de080814067961f28357256e8fe27544f4
Cloning Stable Diffusion into D:\Stable Difusion_A1111 WebUI\stable-diffusion-webui\repositories\stable-diffusion-stability-ai...
'"git"' n’est pas reconnu en tant que commande interne
ou externe, un programme exécutable ou un fichier de commandes.
Traceback (most recent call last):
  File "D:\Stable Difusion_A1111 WebUI\stable-diffusion-webui\launch.py", line 48, in <module>
    main()
  File "D:\Stable Difusion_A1111 WebUI\stable-diffusion-webui\launch.py", line 39, in main
    prepare_environment()
  File "D:\Stable Difusion_A1111 WebUI\stable-diffusion-webui\modules\launch_utils.py", line 380, in prepare_environment
    git_clone(stable_diffusion_repo, repo_dir('stable-diffusion-stability-ai'), "Stable Diffusion", stable_diffusion_commit_hash)
  File "D:\Stable Difusion_A1111 WebUI\stable-diffusion-webui\modules\launch_utils.py", line 186, in git_clone
    run(f'"{git}" clone "{url}" "{dir}"', f"Cloning {name} into {dir}...", f"Couldn't clone {name}", live=True)
  File "D:\Stable Difusion_A1111 WebUI\stable-diffusion-webui\modules\launch_utils.py", line 115, in run
    raise RuntimeError("\n".join(error_bits))
RuntimeError: Couldn't clone Stable Diffusion.
Command: "git" clone "https://github.com/Stability-AI/stablediffusion.git" "D:\Stable Difusion_A1111 WebUI\stable-diffusion-webui\repositories\stable-diffusion-stability-ai"
Error code: 1
Appuyez sur une touche pour continuer...

Additional information

No response

missionfloyd commented 11 months ago

'"git"' n’est pas reconnu en tant que commande interne ou externe, un programme exécutable ou un fichier de commandes.

It can't find git. Try setting GIT in webui-user.bat to D:\Program Files\Git\cmd\git.exe (that's where it's installed, right?)

You might also try not using that launcher (it's unnecessary), and run webui-user.bat instead.

HDL34 commented 11 months ago

Yes. I've installed Git on my D drive, so it's at "D:\Program Files\Git\cmd\git.exe".

HDL34 commented 11 months ago

I have defined the location of my D drive. image But is this line normal? Here underlined in red image otherwise, in the command prompt, it found the Git now image

HDL34 commented 11 months ago

Obviously still not working image

FilipeF12 commented 11 months ago

I have defined the location of my D drive.

there's a period after that definition.

missionfloyd commented 11 months ago

But is this line normal? Here underlined in red

That's the third-party launcher instructing you to report bugs here, and not their repo.

Run webui-user.bat instead of the launcher (after removing the period mentioned above.)

HDL34 commented 11 months ago

Anyway, I've come up with a radical solution to the problem. I installed Stability Matrix and was thus able to install Automatic1111 and even import my 2 other folders ComfyUI and Fooocus. And everything works perfectly. The model folder is perfectly synchronized for the 3 folders in the Package folder. image image image image