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

[Bug]Dev 1.2.0-hotfix: Not launching correctly or showing incorrect commit_hash/version

Open Soulreaver90 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?

After pulling the latest DEV update from 1.2.0 to 1.2.0-hotfix, I can no longer load up SD. Both commit hash and version are shown as None incorrectly, and nothing else is shown in terminal. Upon reinstalling, I get as far as installing some packages after Torch, but then it hangs and nothing happens. I copied the launch.py from 1.2.0 and tried again, this corrected the hash and version and it immeidately started installing gfpgan.

Steps to reproduce the problem

Launch latest DEV build

What should have happened?

Proceeded with install and launch. Show correct commit and version

Commit where the problem happens

e8eea1bb7a8454c5b2453695fff23d4afb88f2b1

What platforms do you use to access the UI ?

Linux

What browsers do you use to access the UI ?

Mozilla Firefox

Command Line Arguments

None

List of extensions

None

Console logs

**Fresh Install:**
`################################################################
Launching launch.py...
################################################################
Using TCMalloc: libtcmalloc.so.4
Python 3.10.6 (main, Mar 10 2023, 10:55:28) [GCC 11.3.0]
Version: <none>
Commit hash: <none>
Installing torch and torchvision`
**.. blah blah blah**
`Installing collected packages: urllib3, typing-extensions, pillow, numpy, idna, charset-normalizer, certifi, torch, requests, torchvision
Successfully installed certifi-2022.12.7 charset-normalizer-2.1.1 idna-3.4 numpy-1.24.1 pillow-9.3.0 requests-2.28.1 torch-1.13.1+rocm5.2 torchvision-0.14.1+rocm5.2 typing-extensions-4.4.0 urllib3-1.26.13`
**Hangs here**

**Relaunch:**
`################################################################
Launching launch.py...
################################################################
Using TCMalloc: libtcmalloc.so.4
Python 3.10.6 (main, Mar 10 2023, 10:55:28) [GCC 11.3.0]
Version: <none>
Commit hash: <none>`
**Hangs here**

**Using previous launch.py:**
`Python 3.10.6 (main, Mar 10 2023, 10:55:28) [GCC 11.3.0]
Version: v1.2.0-74-ge8eea1bb
Commit hash: e8eea1bb7a8454c5b2453695fff23d4afb88f2b1
Installing gfpgan
Installing clip
Installing open_clip`
**Continues as normal and launches**

Additional information

No response

Soulreaver90 avatar May 14 '23 01:05 Soulreaver90

After revert of 451d255b5859580c4adf99d67760330d58d76446 it works for me (Ubuntu 22.04.2 LTS / python: 3.10.6) See also: https://github.com/AUTOMATIC1111/stable-diffusion-webui/commit/451d255b5859580c4adf99d67760330d58d76446#comments

pessimal avatar May 14 '23 05:05 pessimal

a hash shows that a file or installation of a file is not tampered with this might be to do with something on your side

s-b-repo avatar May 15 '23 18:05 s-b-repo

a hash shows that a file or installation of a file is not tampered with this might be to do with something on your side

It was resolved in the latest dev build, there was an error in launch.py impacting some environments.

Soulreaver90 avatar May 15 '23 18:05 Soulreaver90

dont know what can do that prob some code related to gpg keys or something else

s-b-repo avatar May 15 '23 19:05 s-b-repo

This is fixed on the dev branch.

akx avatar May 25 '23 10:05 akx