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

there is a commit hash hapenning during the lauching reported: "Commit hash: a9fed7c364061ae6efb37f797b6b522cb3cf7aa2"

Open TimLiu12 opened this issue 2 years ago • 1 comments

Is there an existing issue for this?

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

What happened?

there is a commit hash happening during the lauching reported: "Commit hash: a9fed7c364061ae6efb37f797b6b522cb3cf7aa2"

Steps to reproduce the problem

venv "C:\Users\Admin\Documents\A1111 Web UI Autoinstaller\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)] Commit hash: a9fed7c364061ae6efb37f797b6b522cb3cf7aa2

What should have happened?

Should complete the lauch

Commit where the problem happens

After updating webui, during the installing process

What platforms do you use to access the UI ?

Windows

What browsers do you use to access the UI ?

Google Chrome

Command Line Arguments

no

List of extensions

no

Console logs

Cancel
venv "C:\Users\Admin\Documents\A1111 Web UI Autoinstaller\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)]
Commit hash: a9fed7c364061ae6efb37f797b6b522cb3cf7aa2
Installing open_clip
Traceback (most recent call last):
  File "C:\Users\Admin\Documents\A1111 Web UI Autoinstaller\stable-diffusion-webui\launch.py", line 380, in <module>
    prepare_environment()
  File "C:\Users\Admin\Documents\A1111 Web UI Autoinstaller\stable-diffusion-webui\launch.py", line 296, in prepare_environment
    run_pip(f"install {openclip_package}", "open_clip")
  File "C:\Users\Admin\Documents\A1111 Web UI Autoinstaller\stable-diffusion-webui\launch.py", line 145, in run_pip
    return run(f'"{python}" -m pip {args} --prefer-binary{index_url_line}', desc=f"Installing {desc}", errdesc=f"Couldn't install {desc}")
  File "C:\Users\Admin\Documents\A1111 Web UI Autoinstaller\stable-diffusion-webui\launch.py", line 113, in run
    raise RuntimeError(message)
RuntimeError: Couldn't install open_clip.
Command: "C:\Users\Admin\Documents\A1111 Web UI Autoinstaller\stable-diffusion-webui\venv\Scripts\python.exe" -m pip install git+https://github.com/mlfoundations/open_clip.git@bb6e834e9c70d9c27d0dc3ecedeebeaeb1ffad6b --prefer-binary
Error code: 1
stdout: Collecting git+https://github.com/mlfoundations/open_clip.git@bb6e834e9c70d9c27d0dc3ecedeebeaeb1ffad6b
  Cloning https://github.com/mlfoundations/open_clip.git (to revision bb6e834e9c70d9c27d0dc3ecedeebeaeb1ffad6b) to c:\users\admin\appdata\local\temp\pip-req-build-aivmkian

stderr:   Running command git clone --filter=blob:none --quiet https://github.com/mlfoundations/open_clip.git 'C:\Users\Admin\AppData\Local\Temp\pip-req-build-aivmkian'
  error: could not write config file C:/Users/Admin/AppData/Local/Temp/pip-req-build-aivmkian/.git/config: Permission denied
  fatal: could not set 'core.repositoryformatversion' to '0'
  error: subprocess-exited-with-error

  git clone --filter=blob:none --quiet https://github.com/mlfoundations/open_clip.git 'C:\Users\Admin\AppData\Local\Temp\pip-req-build-aivmkian' did not run successfully.
  exit code: 128

  See above for output.

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

git clone --filter=blob:none --quiet https://github.com/mlfoundations/open_clip.git 'C:\Users\Admin\AppData\Local\Temp\pip-req-build-aivmkian' did not run successfully.
exit code: 128

See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

[notice] A new release of pip available: 22.2.1 -> 23.0.1
[notice] To update, run: C:\Users\Admin\Documents\A1111 Web UI Autoinstaller\stable-diffusion-webui\venv\Scripts\python.exe -m pip install --upgrade pip

Additional information

no

TimLiu12 avatar Mar 20 '23 01:03 TimLiu12

windows temp folder was modified while installation was running. maybe a disk cleanup task emptied temp folder or something like that.

commit hash error you noted is irrelevant, what is relevant is this message:

error: could not write config file C:/Users/Admin/AppData/Local/Temp/pip-req-build-aivmkian/.git/config: Permission denied

vladmandic avatar Mar 20 '23 14:03 vladmandic

Closing as stale.

catboxanon avatar Aug 25 '23 03:08 catboxanon