sd-webui-incantations icon indicating copy to clipboard operation
sd-webui-incantations copied to clipboard

The extension throws an error on startup.

Open Nrgte opened this issue 9 months ago • 0 comments

Hello

I just installed the extension and it throws an error on startup:


*** Error loading script: incantation_base.py Traceback (most recent call last): File "F:\Projects\Stable Diffusion\stable-diffusion-webui\modules\scripts.py", line 319, in load_scripts script_module = script_loading.load_module(scriptfile.path) File "F:\Projects\Stable Diffusion\stable-diffusion-webui\modules\script_loading.py", line 10, in load_module module_spec.loader.exec_module(module) File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "F:\Projects\Stable Diffusion\stable-diffusion-webui\extensions\sd-webui-incantations\scripts\incantation_base.py", line 11, in from scripts.incant import IncantExtensionScript File "F:\Projects\Stable Diffusion\stable-diffusion-webui\extensions\sd-webui-incantations\scripts\incant.py", line 14, in from modules.sd_samplers_cfg_denoiser import pad_cond ModuleNotFoundError: No module named 'modules.sd_samplers_cfg_denoiser'

*** Error loading script: pag.py Traceback (most recent call last): File "F:\Projects\Stable Diffusion\stable-diffusion-webui\modules\scripts.py", line 319, in load_scripts script_module = script_loading.load_module(scriptfile.path) File "F:\Projects\Stable Diffusion\stable-diffusion-webui\modules\script_loading.py", line 10, in load_module module_spec.loader.exec_module(module) File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "F:\Projects\Stable Diffusion\stable-diffusion-webui\extensions\sd-webui-incantations\scripts\pag.py", line 8, in from modules import script_callbacks, patches ImportError: cannot import name 'patches' from 'modules' (unknown location)

Sounds like a dependency is missing. Anyone know how to fix this?

Thanks!

Nrgte avatar May 07 '24 16:05 Nrgte