Closed keenerb closed 4 months ago
What is your pydantic version?
Successfully installed annotated-types-0.7.0 pydantic-2.7.4 pydantic-core-2.18.4 typing-extensions-4.12.2
On Fri, Jun 28, 2024 at 3:30 PM Chenlei Hu @.***> wrote:
What is your pydantic version?
— Reply to this email directly, view it on GitHub https://github.com/Mikubill/sd-webui-controlnet/issues/2967#issuecomment-2197506961, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJA7N4NXV3U3SMTYLW5Y5LZJW2TZAVCNFSM6AAAAABKCKZH6WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJXGUYDMOJWGE . You are receiving this because you authored the thread.Message ID: @.***>
Hmmmm. Did A1111 upgraded pydantic recently? The ControlNet code depends on pydantic 1.x.
Previously there was a fix on pydantic version here from A1111 core dev: https://github.com/Mikubill/sd-webui-controlnet/pull/2761
I am not sure if you installed any extension that requires pydantic 2.0+
OK that gives me something to look at. I will investigate.
On Fri, Jun 28, 2024 at 5:01 PM Chenlei Hu @.***> wrote:
Previously there was a fix on pydantic version here from A1111 core dev:
2761 https://github.com/Mikubill/sd-webui-controlnet/pull/2761
I am not sure if you installed any extension that requires pydantic 2.0+
— Reply to this email directly, view it on GitHub https://github.com/Mikubill/sd-webui-controlnet/issues/2967#issuecomment-2197653774, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJA7NZUS3WFMDRDBYBDQHLZJXFJTAVCNFSM6AAAAABKCKZH6WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJXGY2TGNZXGQ . You are receiving this because you authored the thread.Message ID: @.***>
Same issue
Upon installation, the Control-Net icon does not appear under dice icon.
Terminal gives following error.
** Error loading script: external_code.py
Traceback (most recent call last):
File "/[...]stable-diffusion-webui/modules/scripts.py", line 508, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "[...]/stable-diffusion-webui/modules/script_loading.py", line 13, in load_module
module_spec.loader.exec_module(module)
File "allow_reuse=True
Is there an existing issue for this?
What happened?
Controlnet reports errors and does not load
Steps to reproduce the problem
Install Stable Diffusion A1111 WebUI Install Controlnet through Extensions tab Run webui.bat
What should have happened?
No errors and Controlnet options should appear in WebUI
Commit where the problem happens
webui: 1.9.4 controlnet: [8bbbd0e5]
What browsers do you use to access the UI ?
Google Chrome, Microsoft Edge
Command Line Arguments
List of enabled extensions
None
Console logs
Additional information
No response