You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All my extensions suddenly stopped working one or two weeks ago. I don't know if it's related, but I also installed the "text-generation-webui" (oobabooga) around the same time. Maybe it broke something?... I would appreciate some help.
I can still run A1111, but no extensions get loaded, even though they are enabled. This is from the console output:
Launching Web UI with arguments: --api --xformers --update-all-extensions --update-check
*** Error loading script: model_keyword_support.py
Traceback (most recent call last):
File "D:\Programme\Git\stable-diffusion-webui\modules\scripts.py", line 515, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "D:\Programme\Git\stable-diffusion-webui\modules\script_loading.py", line 13, in load_module
module_spec.loader.exec_module(module)
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "D:\Programme\Git\stable-diffusion-webui\extensions\a1111-sd-webui-tagcomplete\scripts\model_keyword_support.py", line 7, in <module>
from scripts.shared_paths import EXT_PATH, STATIC_TEMP_PATH, TEMP_PATH
ModuleNotFoundError: No module named 'scripts.shared_paths'
---
*** Error loading script: tag_autocomplete_helper.py
Traceback (most recent call last):
File "D:\Programme\Git\stable-diffusion-webui\modules\scripts.py", line 515, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "D:\Programme\Git\stable-diffusion-webui\modules\script_loading.py", line 13, in load_module
module_spec.loader.exec_module(module)
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "D:\Programme\Git\stable-diffusion-webui\extensions\a1111-sd-webui-tagcomplete\scripts\tag_autocomplete_helper.py", line 20, in <module>
from scripts.model_keyword_support import (get_lora_simple_hash,
ModuleNotFoundError: No module named 'scripts.model_keyword_support'
---
*** Error loading script: tag_frequency_db.py
Traceback (most recent call last):
File "D:\Programme\Git\stable-diffusion-webui\modules\scripts.py", line 515, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "D:\Programme\Git\stable-diffusion-webui\modules\script_loading.py", line 13, in load_module
module_spec.loader.exec_module(module)
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "D:\Programme\Git\stable-diffusion-webui\extensions\a1111-sd-webui-tagcomplete\scripts\tag_frequency_db.py", line 4, in <module>
from scripts.shared_paths import TAGS_PATH
ModuleNotFoundError: No module named 'scripts.shared_paths'
---
*** Error loading script: api.py
Traceback (most recent call last):
File "D:\Programme\Git\stable-diffusion-webui\modules\scripts.py", line 515, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "D:\Programme\Git\stable-diffusion-webui\modules\script_loading.py", line 13, in load_module
module_spec.loader.exec_module(module)
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "D:\Programme\Git\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\api.py", line 17, in <module>
from scripts import external_code, global_state
ImportError: cannot import name 'external_code' from 'scripts' (D:\Programme\Python310\lib\site-packages\scripts\__init__.py)
---
*** Error loading script: batch_hijack.py
Traceback (most recent call last):
File "D:\Programme\Git\stable-diffusion-webui\modules\scripts.py", line 515, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "D:\Programme\Git\stable-diffusion-webui\modules\script_loading.py", line 13, in load_module
module_spec.loader.exec_module(module)
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "D:\Programme\Git\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\batch_hijack.py", line 5, in <module>
from scripts import external_code
ImportError: cannot import name 'external_code' from 'scripts' (D:\Programme\Python310\lib\site-packages\scripts\__init__.py)
---
*** Error loading script: cldm.py
Traceback (most recent call last):
File "D:\Programme\Git\stable-diffusion-webui\modules\scripts.py", line 515, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "D:\Programme\Git\stable-diffusion-webui\modules\script_loading.py", line 13, in load_module
module_spec.loader.exec_module(module)
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "D:\Programme\Git\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\cldm.py", line 6, in <module>
from scripts.controlnet_core.controlnet_union import ControlAddEmbedding, ResBlockUnionControlnet
ModuleNotFoundError: No module named 'scripts.controlnet_core'
---
*** Error loading script: controlnet.py
Traceback (most recent call last):
File "D:\Programme\Git\stable-diffusion-webui\modules\scripts.py", line 515, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "D:\Programme\Git\stable-diffusion-webui\modules\script_loading.py", line 13, in load_module
module_spec.loader.exec_module(module)
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "D:\Programme\Git\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\controlnet.py", line 16, in <module>
import scripts.preprocessor as preprocessor_init # noqa
ModuleNotFoundError: No module named 'scripts.preprocessor'
---
*** Error loading script: controlnet_model_guess.py
Traceback (most recent call last):
File "D:\Programme\Git\stable-diffusion-webui\modules\scripts.py", line 515, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "D:\Programme\Git\stable-diffusion-webui\modules\script_loading.py", line 13, in load_module
module_spec.loader.exec_module(module)
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "D:\Programme\Git\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\controlnet_model_guess.py", line 8, in <module>
from scripts.adapter import PlugableAdapter, Adapter, StyleAdapter, Adapter_light
ModuleNotFoundError: No module named 'scripts.adapter'
---
*** Error loading script: controlnet_sparsectrl.py
Traceback (most recent call last):
File "D:\Programme\Git\stable-diffusion-webui\modules\scripts.py", line 515, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "D:\Programme\Git\stable-diffusion-webui\modules\script_loading.py", line 13, in load_module
module_spec.loader.exec_module(module)
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "D:\Programme\Git\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\controlnet_sparsectrl.py", line 7, in <module>
from scripts.cldm import PlugableControlModel, ControlNet, zero_module, conv_nd, TimestepEmbedSequential
ModuleNotFoundError: No module named 'scripts.cldm'
---
*** Error loading script: external_code.py
Traceback (most recent call last):
File "D:\Programme\Git\stable-diffusion-webui\modules\scripts.py", line 515, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "D:\Programme\Git\stable-diffusion-webui\modules\script_loading.py", line 13, in load_module
module_spec.loader.exec_module(module)
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "D:\Programme\Git\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\external_code.py", line 1, in <module>
from internal_controlnet.external_code import * # noqa: F403
File "D:\Programme\Git\stable-diffusion-webui\extensions\sd-webui-controlnet\internal_controlnet\external_code.py", line 7, in <module>
from .args import ControlNetUnit
File "D:\Programme\Git\stable-diffusion-webui\extensions\sd-webui-controlnet\internal_controlnet\args.py", line 12, in <module>
from scripts.enums import (
ModuleNotFoundError: No module named 'scripts.enums'
---
*** Error loading script: global_state.py
Traceback (most recent call last):
File "D:\Programme\Git\stable-diffusion-webui\modules\scripts.py", line 515, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "D:\Programme\Git\stable-diffusion-webui\modules\script_loading.py", line 13, in load_module
module_spec.loader.exec_module(module)
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "D:\Programme\Git\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\global_state.py", line 8, in <module>
from scripts.enums import StableDiffusionVersion
ModuleNotFoundError: No module named 'scripts.enums'
---
*** Error loading script: hook.py
Traceback (most recent call last):
File "D:\Programme\Git\stable-diffusion-webui\modules\scripts.py", line 515, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "D:\Programme\Git\stable-diffusion-webui\modules\script_loading.py", line 13, in load_module
module_spec.loader.exec_module(module)
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "D:\Programme\Git\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\hook.py", line 8, in <module>
from scripts.logging import logger
ModuleNotFoundError: No module named 'scripts.logging'
---
*** Error loading script: infotext.py
Traceback (most recent call last):
File "D:\Programme\Git\stable-diffusion-webui\modules\scripts.py", line 515, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "D:\Programme\Git\stable-diffusion-webui\modules\script_loading.py", line 13, in load_module
module_spec.loader.exec_module(module)
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "D:\Programme\Git\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\infotext.py", line 7, in <module>
from internal_controlnet.external_code import ControlNetUnit
File "D:\Programme\Git\stable-diffusion-webui\extensions\sd-webui-controlnet\internal_controlnet\external_code.py", line 7, in <module>
from .args import ControlNetUnit
File "D:\Programme\Git\stable-diffusion-webui\extensions\sd-webui-controlnet\internal_controlnet\args.py", line 12, in <module>
from scripts.enums import (
ModuleNotFoundError: No module named 'scripts.enums'
---
*** Error loading script: supported_preprocessor.py
Traceback (most recent call last):
File "D:\Programme\Git\stable-diffusion-webui\modules\scripts.py", line 515, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "D:\Programme\Git\stable-diffusion-webui\modules\script_loading.py", line 13, in load_module
module_spec.loader.exec_module(module)
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "D:\Programme\Git\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\supported_preprocessor.py", line 8, in <module>
from scripts.enums import ControlNetUnionControlType
ModuleNotFoundError: No module named 'scripts.enums'
---
*** Error loading script: utils.py
Traceback (most recent call last):
File "D:\Programme\Git\stable-diffusion-webui\modules\scripts.py", line 515, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "D:\Programme\Git\stable-diffusion-webui\modules\script_loading.py", line 13, in load_module
module_spec.loader.exec_module(module)
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "D:\Programme\Git\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\utils.py", line 15, in <module>
from scripts.logging import logger
ModuleNotFoundError: No module named 'scripts.logging'
---
*** Error loading script: iib_setup.py
Traceback (most recent call last):
File "D:\Programme\Git\stable-diffusion-webui\modules\scripts.py", line 515, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "D:\Programme\Git\stable-diffusion-webui\modules\script_loading.py", line 13, in load_module
module_spec.loader.exec_module(module)
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "D:\Programme\Git\stable-diffusion-webui\extensions\sd-webui-infinite-image-browsing\scripts\iib_setup.py", line 1, in <module>
from scripts.iib.api import infinite_image_browsing_api, send_img_path
ModuleNotFoundError: No module named 'scripts.iib'
---
*** Error loading script: latent.py
Traceback (most recent call last):
File "D:\Programme\Git\stable-diffusion-webui\modules\scripts.py", line 515, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "D:\Programme\Git\stable-diffusion-webui\modules\script_loading.py", line 13, in load_module
module_spec.loader.exec_module(module)
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "D:\Programme\Git\stable-diffusion-webui\extensions\sd-webui-regional-prompter\scripts\latent.py", line 11, in <module>
import scripts.attention as att
ModuleNotFoundError: No module named 'scripts.attention'
---
*** Error loading script: rp.py
Traceback (most recent call last):
File "D:\Programme\Git\stable-diffusion-webui\modules\scripts.py", line 515, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "D:\Programme\Git\stable-diffusion-webui\modules\script_loading.py", line 13, in load_module
module_spec.loader.exec_module(module)
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "D:\Programme\Git\stable-diffusion-webui\extensions\sd-webui-regional-prompter\scripts\rp.py", line 15, in <module>
import scripts.attention
ModuleNotFoundError: No module named 'scripts.attention'
---
*** Error loading script: api.py
Traceback (most recent call last):
File "D:\Programme\Git\stable-diffusion-webui\modules\scripts.py", line 515, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "D:\Programme\Git\stable-diffusion-webui\modules\script_loading.py", line 13, in load_module
module_spec.loader.exec_module(module)
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "D:\Programme\Git\stable-diffusion-webui\extensions\sd-webui-segment-anything\scripts\api.py", line 10, in <module>
from scripts.sam import sam_predict, dino_predict, update_mask, cnet_seg, categorical_mask
ModuleNotFoundError: No module named 'scripts.sam'
---
*** Error loading script: sam.py
Traceback (most recent call last):
File "D:\Programme\Git\stable-diffusion-webui\modules\scripts.py", line 515, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "D:\Programme\Git\stable-diffusion-webui\modules\script_loading.py", line 13, in load_module
module_spec.loader.exec_module(module)
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "D:\Programme\Git\stable-diffusion-webui\extensions\sd-webui-segment-anything\scripts\sam.py", line 20, in <module>
from scripts.dino import dino_model_list, dino_predict_internal, show_boxes, clear_dino_cache, dino_install_issue_text
ModuleNotFoundError: No module named 'scripts.dino'
---
Loading weights [82145949f0] from D:\Programme\Git\stable-diffusion-webui\models\Stable-diffusion\_Downloaded\FURRY\yiffymix\yiffymix_v44.safetensors
Creating model from config: D:\Programme\Git\stable-diffusion-webui\models\Stable-diffusion\_Downloaded\FURRY\yiffymix\yiffymix_v44.yaml
Running on local URL: http://127.0.0.1:7860
To create a public link, set `share=True` in `launch()`.
Startup time: 46.3s (prepare environment: 32.7s, import torch: 3.7s, import gradio: 0.8s, setup paths: 3.0s, initialize shared: 0.1s, other imports: 0.7s, list SD models: 0.2s, load scripts: 2.2s, create ui: 1.6s, gradio launch: 0.4s, add APIs: 0.7s).
Loading VAE weights specified in settings: D:\Programme\Git\stable-diffusion-webui\models\VAE\_Downloaded\furception_vae_1-0.safetensors
Applying attention optimization: xformers... done.
Model loaded in 7.4s (load weights from disk: 0.3s, create model: 0.4s, apply weights to model: 6.3s, load VAE: 0.2s, calculate empty prompt: 0.1s).
Traceback (most recent call last):
File "D:\Programme\Python310\lib\site-packages\gradio\routes.py", line 488, in run_predict
output = await app.get_blocks().process_api(
File "D:\Programme\Python310\lib\site-packages\gradio\blocks.py", line 1431, in process_api
result = await self.call_function(
File "D:\Programme\Python310\lib\site-packages\gradio\blocks.py", line 1103, in call_function
prediction = await anyio.to_thread.run_sync(
File "D:\Programme\Python310\lib\site-packages\anyio\to_thread.py", line 33, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "D:\Programme\Python310\lib\site-packages\anyio\_backends\_asyncio.py", line 877, in run_sync_in_worker_thread
return await future
File "D:\Programme\Python310\lib\site-packages\anyio\_backends\_asyncio.py", line 807, in run
result = context.run(func, *args)
File "D:\Programme\Python310\lib\site-packages\gradio\utils.py", line 707, in wrapper
response = f(*args, **kwargs)
File "D:\Programme\Git\stable-diffusion-webui\modules\ui_extensions.py", line 158, in extension_table
ext.read_info_from_repo()
File "D:\Programme\Git\stable-diffusion-webui\modules\extensions.py", line 148, in read_info_from_repo
self.from_dict(d)
File "D:\Programme\Git\stable-diffusion-webui\modules\extensions.py", line 131, in from_dict
setattr(self, field, d[field])
TypeError: 'NoneType' object is not subscriptable
Traceback (most recent call last):
File "D:\Programme\Python310\lib\site-packages\gradio\routes.py", line 488, in run_predict
output = await app.get_blocks().process_api(
File "D:\Programme\Python310\lib\site-packages\gradio\blocks.py", line 1431, in process_api
result = await self.call_function(
File "D:\Programme\Python310\lib\site-packages\gradio\blocks.py", line 1103, in call_function
prediction = await anyio.to_thread.run_sync(
File "D:\Programme\Python310\lib\site-packages\anyio\to_thread.py", line 33, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "D:\Programme\Python310\lib\site-packages\anyio\_backends\_asyncio.py", line 877, in run_sync_in_worker_thread
return await future
File "D:\Programme\Python310\lib\site-packages\anyio\_backends\_asyncio.py", line 807, in run
result = context.run(func, *args)
File "D:\Programme\Python310\lib\site-packages\gradio\utils.py", line 707, in wrapper
response = f(*args, **kwargs)
File "D:\Programme\Git\stable-diffusion-webui\modules\ui_extensions.py", line 196, in update_config_states_table
config_state = config_states.get_config()
File "D:\Programme\Git\stable-diffusion-webui\modules\config_states.py", line 106, in get_config
ext_config = get_extension_config()
File "D:\Programme\Git\stable-diffusion-webui\modules\config_states.py", line 84, in get_extension_config
ext.read_info_from_repo()
File "D:\Programme\Git\stable-diffusion-webui\modules\extensions.py", line 148, in read_info_from_repo
self.from_dict(d)
File "D:\Programme\Git\stable-diffusion-webui\modules\extensions.py", line 131, in from_dict
setattr(self, field, d[field])
TypeError: 'NoneType' object is not subscriptable
Traceback (most recent call last):
File "D:\Programme\Python310\lib\site-packages\gradio\routes.py", line 488, in run_predict
output = await app.get_blocks().process_api(
File "D:\Programme\Python310\lib\site-packages\gradio\blocks.py", line 1431, in process_api
result = await self.call_function(
File "D:\Programme\Python310\lib\site-packages\gradio\blocks.py", line 1103, in call_function
prediction = await anyio.to_thread.run_sync(
File "D:\Programme\Python310\lib\site-packages\anyio\to_thread.py", line 33, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "D:\Programme\Python310\lib\site-packages\anyio\_backends\_asyncio.py", line 877, in run_sync_in_worker_thread
return await future
File "D:\Programme\Python310\lib\site-packages\anyio\_backends\_asyncio.py", line 807, in run
result = context.run(func, *args)
File "D:\Programme\Python310\lib\site-packages\gradio\utils.py", line 707, in wrapper
response = f(*args, **kwargs)
File "D:\Programme\Git\stable-diffusion-webui\modules\ui_extensions.py", line 158, in extension_table
ext.read_info_from_repo()
File "D:\Programme\Git\stable-diffusion-webui\modules\extensions.py", line 148, in read_info_from_repo
self.from_dict(d)
File "D:\Programme\Git\stable-diffusion-webui\modules\extensions.py", line 131, in from_dict
setattr(self, field, d[field])
TypeError: 'NoneType' object is not subscriptable
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
All my extensions suddenly stopped working one or two weeks ago. I don't know if it's related, but I also installed the "text-generation-webui" (oobabooga) around the same time. Maybe it broke something?... I would appreciate some help.
I can still run A1111, but no extensions get loaded, even though they are enabled. This is from the console output:
Beta Was this translation helpful? Give feedback.
All reactions