sddebz / stable-diffusion-krita-plugin

GNU Affero General Public License v3.0
423 stars 34 forks source link

webui.sh fails on first install #32

Open Zincr0 opened 2 years ago

Zincr0 commented 2 years ago

Describe the bug Enviroment variables like K_DIFFUSION_PACKAGE and GFPGAN_PACKAGE are overwrited with empty spaces in webui-user.sh, so when webui.sh calls launch.py, it fails with stderr: ERROR: You must give at least one requirement to install (see "pip help install")

To Reproduce Steps to reproduce the behavior:

  1. Clone repository on linux with python 3.10.6
  2. Put the stable diffusion model and GFPGAN file in root folder.
  3. run webui.sh

Expected behavior Script should install the missing dependencies and run.

Desktop (please complete the following information):

Additional context workaround: delete webui-user.sh

sddebz commented 2 years ago

I think this was fixed yesterday in upstream (AUTOMATIC1111's repo). I pulled the fix, but I don't really have a linux machine to test it properly. It seems to start on WSL on my machine just fine now.

Please try it again with the latest commit. Delete venv to be sure it's a clean install.