lllyasviel / lllyasviel/stable-diffusion-webui-forge

[Bug]: Unable to disable Extensions

Open
#795 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
13k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

### Checklist

- [ ] The issue exists after disabling all extensions
- [ ] The issue exists on a clean installation of webui
- [ ] The issue is caused by an extension, but I believe it is caused by a bug in the webui
- [X] The issue exists in the current version of the webui
- [ ] The issue has not been reported before recently
- [ ] The issue has been reported before but has not been fixed yet

### 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",
""
],
```

### Console logs

```Shell
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_

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in modules/ui_extensions.py at check_access and reproduce the issue by disabling sd_forge_z123, applying the change, and restarting the UI with the command-line flags shown. Trace how extension access is checked during reload; done means the selected extension is no longer active without the assertion appearing.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.