stable-diffusion-webui
stable-diffusion-webui copied to clipboard
[Bug]: Can't uncheck dreambooth extension
Is there an existing issue for this?
- [X] I have searched the existing issues and checked the recent builds/commits
What happened?
I have activated the extension Dreambooth, but since I only have 10GB VRAM I can't get it running I want to deactivate it so it doesn't load when it doesn't have to. I uncheck the checkbox and "Apply and restart UI", but I get this error in the command prompt and then the page reloads with the activated Dreambooth 🤔
Traceback (most recent call last): File "D:\stable-diffusion-webui\venv\lib\site-packages\gradio\routes.py", line 284, in run_predict output = await app.blocks.process_api( File "D:\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 982, in process_api result = await self.call_function(fn_index, inputs, iterator) File "D:\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 824, in call_function prediction = await anyio.to_thread.run_sync( File "D:\stable-diffusion-webui\venv\lib\site-packages\anyio\to_thread.py", line 31, in run_sync return await get_asynclib().run_sync_in_worker_thread( File "D:\stable-diffusion-webui\venv\lib\site-packages\anyio_backends_asyncio.py", line 937, in run_sync_in_worker_thread return await future File "D:\stable-diffusion-webui\venv\lib\site-packages\anyio_backends_asyncio.py", line 867, in run result = context.run(func, *args) File "D:\stable-diffusion-webui\modules\ui_extensions.py", line 24, in apply_and_restart check_access() File "D:\stable-diffusion-webui\modules\ui_extensions.py", line 20, in check_access assert not shared.cmd_opts.disable_extension_access, "extension access disabed because of commandline flags" AssertionError: extension access disabed because of commandline flags
PS. The ERROR is from me trying the "Check for updates"-button
Steps to reproduce the problem
- Go to extensions
- Remove the mark in the check box "sd_dreambooth_extension"
- Reload the UI
What should have happened?
Normally I guess there would be no errors in the command prompt and the UI should reload with the check box unchecked
Commit where the problem happens
828438b4a190759807f9054932cae3a8b880ddf1
What platforms do you use to access UI ?
Windows
What browsers do you use to access the UI ?
Brave
Command Line Arguments
--listen --deepdanbooru --xformers --disable-safe-unpickle --vae-path models\VAE\vae-ft-mse-840000-ema-pruned.pt --api --port 7860 --cors-allow-origins=https://www.painthua.com
Additional information, context and logs
No response
I got same message few days ago and solved by --enable-insecure-extension-access option. And now I tried to reproduce problem with disabling this flag and I got same error.
It's not secure, so use with caution.
or just remove the listen flag :) both works, but it's more secure that way
@Kallamamran did the proposed solutions work for you or is this issue still relevant? If you no longer have the problem please close the issue to allow devs and maintainers to more easily see what needs attention.
or just remove the listen flag :) both works, but it's more secure that way
Without listen I can't run the GUI over the internet, so that's not a solution :)
or just remove the listen flag :) both works, but it's more secure that way
Without listen I can't run the GUI over the internet, so that's not a solution :)
--enable-insecure-extension-access
should work.
You will have to pick your poison. Either explicitly allowing the change of extension configuration on a server with --listen enabled or not using --listen and opting for something like an ssh tunnel instead.