AUTOMATIC1111 / stable-diffusion-webui

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

[Bug]: UI must be reloaded #11516

Open HarrisTerry opened 1 year ago

HarrisTerry commented 1 year ago

Is there an existing issue for this?

What happened?

Basically, anytime I load SD, I need to wait till its fully loaded and ready, wait about 20 seconds, then hit reload on the browser. If I do not do this, half the buttons are non-functional. You click, nothing.

Hires fix is a great example. I need to turn it off, reload browser, then when its reloaded I can click it on and the options appear. If not, you click the box and nothing.

Another example - extensions. Load SD, none appear, says loading forever. Reload UI, magically they are all there.

Steps to reproduce the problem

Load SD Check and see if all the buttons work - for me they dont

  1. ...

What should have happened?

Things should function on first load

Version or Commit where the problem happens

Version: v1.4.0, Commit hash: 394ffa7b0a7fff3ec484bcd084e673a8b301ccc8

What Python version are you running on ?

Python 3.10.x

What platforms do you use to access the UI ?

Windows

What device are you running WebUI on?

Nvidia GPUs (RTX 20 above)

Cross attention optimization

Automatic

What browsers do you use to access the UI ?

Microsoft Edge

Command Line Arguments

--apt --autolaunch

List of extensions

PromptGallery-stable-diffusion-webui | https://github.com/dr413677671/PromptGallery-stable-diffusion-webui.git | main | 5dc830c7 | Sun Mar 12 14:47:48 2023 | unknown

TemporalKit | https://github.com/CiaraStrawberry/TemporalKit | main | 504774d9 | Sun May 7 21:37:21 2023 | unknown

a1111-mini-paint | https://github.com/0Tick/a1111-mini-paint | main | 8545c9cd | Mon Jun 12 14:04:04 2023 | unknown

a1111-sd-webui-haku-img | https://github.com/KohakuBlueleaf/a1111-sd-webui-haku-img.git | main | 1b3dee07 | Tue Jun 27 09:52:59 2023 | unknown

a1111-sd-webui-lycoris | https://github.com/KohakuBlueleaf/a1111-sd-webui-lycoris.git | main | 025dea96 | Wed Jun 14 13:56:41 2023 | unknown

a1111-sd-webui-tagcomplete | https://github.com/DominikDoom/a1111-sd-webui-tagcomplete.git | main | 7f188563 | Sun Jun 25 10:34:57 2023 | unknown

adetailer | https://github.com/Bing-su/adetailer.git | main | 0f3b6b0e | Wed Jun 28 00:46:55 2023 | unknown

clip-interrogator-ext | https://github.com/pharmapsychotic/clip-interrogator-ext | main | c0bf9005 | Tue Jun 27 19:06:31 2023 | unknown

custom-diffusion-webui | https://github.com/guaneec/custom-diffusion-webui.git | master | 017757d2 | Sun Feb 5 07:08:07 2023 | unknown

deforum-for-automatic1111-webui | https://github.com/deforum-art/deforum-for-automatic1111-webui.git | automatic1111-webui | b58056f9 | Tue Jun 6 21:47:35 2023 | unknown

depth-image-io-for-SDWebui | https://github.com/AnonymousCervine/depth-image-io-for-SDWebui.git | main | eb22863d | Sat Feb 4 06:52:38 2023 | unknown

multidiffusion-upscaler-for-automatic1111 | https://github.com/pkuliyi2015/multidiffusion-upscaler-for-automatic1111.git | main | de488810 | Sun Jun 18 21:39:44 2023 | unknown

sd-dynamic-prompts | https://github.com/adieyal/sd-dynamic-prompts.git | main | 525ee62a | Mon Jun 19 09:23:10 2023 | unknown

sd-extension-aesthetic-scorer | https://github.com/vladmandic/sd-extension-aesthetic-scorer.git | main | 896b6aa0 | Sat Apr 22 15:30:47 2023 | unknown

sd-extension-steps-animation | https://github.com/vladmandic/sd-extension-steps-animation.git | main | 79de908d | Mon May 8 13:00:22 2023 | unknown

sd-extension-system-info | https://github.com/vladmandic/sd-extension-system-info.git | main | b30e3245 | Fri Jun 23 16:17:07 2023 | unknown

sd-webui-3d-open-pose-editor | https://github.com/nonnonstop/sd-webui-3d-open-pose-editor.git | main | f2d5aac5 | Sat Apr 15 13:21:06 2023 | unknown

sd-webui-additional-networks | https://github.com/kohya-ss/sd-webui-additional-networks.git | main | e9f3d622 | Tue May 23 12:31:15 2023 | unknown

sd-webui-agent-scheduler | https://github.com/ArtVentureX/sd-webui-agent-scheduler | main | 8198489f | Thu Jun 29 03:24:05 2023 | unknown

sd-webui-ar | https://github.com/alemelis/sd-webui-ar.git | main | 9df49dc2 | Wed Apr 12 09:23:17 2023 | unknown

sd-webui-aspect-ratio-helper | https://github.com/thomasasfk/sd-webui-aspect-ratio-helper.git | main | 99fcf9b0 | Sun Jun 4 15:39:07 2023 | unknown

sd-webui-controlnet | https://github.com/Mikubill/sd-webui-controlnet.git | main | 8e143d35 | Sun Jun 25 04:45:53 2023 | unknown

sd-webui-cutoff | https://github.com/hnmr293/sd-webui-cutoff | main | 3a073e9c | Wed May 3 07:14:40 2023 | unknown

sd-webui-model-converter | https://github.com/Akegarasu/sd-webui-model-converter.git | main | 2a3834d7 | Wed Jun 28 13:41:44 2023 | unknown

sd-webui-panorama-viewer | https://github.com/GeorgLegato/sd-webui-panorama-viewer | main | bc656320 | Sat Apr 15 02:27:04 2023 | unknown

sd-webui-stablesr | https://github.com/pkuliyi2015/sd-webui-stablesr.git | master | 17b75e98 | Tue May 23 10:12:17 2023 | unknown

sd-webui-stopmotion | https://github.com/gogodr/sd-webui-stopmotion | master | 71894a4d | Mon Apr 3 16:41:06 2023 | unknown

sd_dreambooth_extension | https://github.com/d8ahazard/sd_dreambooth_extension.git | main | 926ae204 | Fri Mar 31 15:12:45 2023 | unknown

sd_webui_SAG | https://github.com/ashen-sensored/sd_webui_SAG | main | 83d66a6c | Sat Apr 22 21:45:28 2023 | unknown

seed_travel | https://github.com/yownas/seed_travel.git | main | 4bc8b2f1 | Thu Apr 27 20:26:07 2023 | unknown

stable-diffusion-webui-images-browser | https://github.com/AlUlkesh/stable-diffusion-webui-images-browser.git | main | b2f6e4cb | Thu Jun 8 08:11:43 2023 | unknown

stable-diffusion-webui-instruct-pix2pix | https://github.com/Klace/stable-diffusion-webui-instruct-pix2pix.git | main | a5a4c6b8 | Sun Feb 5 22:19:05 2023 | unknown

stable-diffusion-webui-rembg | https://github.com/AUTOMATIC1111/stable-diffusion-webui-rembg.git | master | 3d9eedbb | Sun Jun 4 13:35:24 2023 | unknown

stable-diffusion-webui-state | https://github.com/ilian6806/stable-diffusion-webui-state.git | main | 85d8ef19 | Sat Jun 10 12:39:50 2023 | unknown

ultimate-upscale-for-automatic1111 | https://github.com/Coyote-A/ultimate-upscale-for-automatic1111.git | master | c99f382b | Tue Jun 13 04:29:35 2023 | unknown

unprompted | https://github.com/ThereforeGames/unprompted | main | 79515b5a | Mon Mar 13 09:51:43 2023 | unknown

LDSR | built-in | None |   | Thu Jun 29 11:24:39 2023 |  

Lora | built-in | None |   | Thu Jun 29 11:24:39 2023 |  

ScuNET | built-in | None |   | Thu Jun 29 11:24:39 2023 |  

SwinIR | built-in | None |   | Thu Jun 29 11:24:39 2023 |  

canvas-zoom-and-pan | built-in | None |   | Thu Jun 29 11:24:39 2023 |   extra-options-section | built-in | None |   | Thu Jun 29 11:24:39 2023 |   prompt-bracket-checker | built-in

Console logs

No idea how.

Additional information

No response

dhwz commented 1 year ago

Disable all extensions and re-enable them one by one till your problem returns, that extension then needs to be fixed.

Miro-Collas commented 1 year ago

I ran into this as well. I haven't had time to properly disable extensions one by one, however the problem for me triggers if I hide the Settings tab.

jensdraht1999 commented 1 year ago

@Miro-Collas You don't need to disable all one by one. Just disable the first half of all extensions -> If Issue is still there, then activate all the half back and disable the next half. Then issue should be gone. Then enable the half of the second half of extensions and do this again and again until you find the extension, that will cause the issue. After you know, which extension causes this issue, you can write to the dev. I think you can close this issue?