corbin-hayden13 / corbin-hayden13/SD-Prompt-Enhancer

Broken with Autmatic1111 v1.6.0

Open
#29 2 comments 3 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
38
Forks
2
PR merge metrics
No merged PRs in 30d

Description

Here is the error from console which breaks this extension from working, when used with latest version of Automatic1111.

*** Error executing callback ui_tabs_callback for C:\Softwares\Graphics\stable-diffusion\stable-diffusion-webui\extensions\SD-Prompt-Enhancer\scripts\sd_prompt_enhancer.py
Traceback (most recent call last):
File "C:\Softwares\Graphics\stable-diffusion\stable-diffusion-webui\modules\script_callbacks.py", line 166, in ui_tabs_callback
res += c.callback() or []
File "C:\Softwares\Graphics\stable-diffusion\stable-diffusion-webui\extensions\SD-Prompt-Enhancer\scripts\sd_prompt_enhancer.py", line 194, in on_ui_tabs
extra_networks_ui = ui_extra_networks.create_ui(extra_networks_formrow, extra_networks_button,
File "C:\Softwares\Graphics\stable-diffusion\stable-diffusion-webui\modules\ui_extra_networks.py", line 384, in create_ui
for tab in unrelated_tabs:
TypeError: 'ToolButton' object is not iterable

---

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in scripts/sd_prompt_enhancer.py at line 194 and compare its call into modules/ui_extra_networks.py, where line 384 raises the reported TypeError under Automatic1111 v1.6.0. Reproduce the extension startup with that version and inspect the create_ui arguments; done means the extension loads without the ui_tabs_callback error.

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
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.