lllyasviel / stable-diffusion-webui-forge

GNU Affero General Public License v3.0
5.28k stars 519 forks source link

[Bug]: Unable to disable Extensions #795

Open askAvoid opened 3 weeks ago

askAvoid commented 3 weeks ago

Checklist

What happened?

I am trying to disable certain extensions/features to improve performance.

Steps to reproduce the problem

Disable sd_forge_z123 for example and select Apply and restart UI.

What should have happened?

z123 is no longer active

What browsers do you use to access the UI ?

Mozilla Firefox

Sysinfo

The only bits which looks relevant is:

    "Platform": "Linux-6.8.0-35-generic-x86_64-with-glibc2.39",
    "Python": "3.10.14",
    "Version": "f0.0.17v1.8.0rc-latest-276-g29be1da7",
    "Commit": "29be1da7cf2b5dccfc70fbdd33eb35c56a31ffb7",

    "Commandline": [
        "launch.py",
        "--api",
        "--listen",
        "--gradio-auth",
        "<hidden>"
    ],

Console logs

stable-diffusion-webui-forge/modules/ui_extensions.py", line 23, in check_access
    assert not shared.cmd_opts.disable_extension_access, "extension access disabled because of command line flags"
AssertionError: extension access disabled because of command line flags

appears on reload of the UI.



### Additional information

_No response_