Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The extension throws an error on startup. #33

Open
Nrgte opened this issue May 7, 2024 · 0 comments
Open

The extension throws an error on startup. #33

Nrgte opened this issue May 7, 2024 · 0 comments

Comments

@Nrgte
Copy link

Nrgte commented May 7, 2024

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant