lllyasviel / lllyasviel/stable-diffusion-webui-forge

Gradio problem whenever i try to install extension it deosnt work ?

Open
#1,023 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
13k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

Traceback (most recent call last):
File "D:\AI\webui_forge_cu124_torch24\webui\launch.py", line 51, in
main()
File "D:\AI\webui_forge_cu124_torch24\webui\launch.py", line 47, in main
start()
File "D:\AI\webui_forge_cu124_torch24\webui\modules\launch_utils.py", line 546, in start
import webui
File "D:\AI\webui_forge_cu124_torch24\webui\webui.py", line 14, in
from modules_forge.forge_canvas.canvas import canvas_js_root_path
File "D:\AI\webui_forge_cu124_torch24\webui\modules_forge\forge_canvas\canvas.py", line 6, in
import gradio.component_meta
File "D:\AI\webui_forge_cu124_torch24\system\python\lib\site-packages\gradio\__init__.py", line 3, in
import gradio._simple_templates
File "D:\AI\webui_forge_cu124_torch24\system\python\lib\site-packages\gradio\_simple_templates\__init__.py", line 1, in
from .simpledropdown import SimpleDropdown
File "D:\AI\webui_forge_cu124_torch24\system\python\lib\site-packages\gradio\_simple_templates\simpledropdown.py", line 6, in
from gradio.components.base import Component, FormComponent
File "D:\AI\webui_forge_cu124_torch24\system\python\lib\site-packages\gradio\components\__init__.py", line 1, in
from gradio.components.annotated_image import AnnotatedImage
File "D:\AI\webui_forge_cu124_torch24\system\python\lib\site-packages\gradio\components\annotated_image.py", line 13, in
from gradio import processing_utils, utils
File "D:\AI\webui_forge_cu124_torch24\system\python\lib\site-packages\gradio\processing_utils.py", line 22, in
from gradio import utils, wasm_utils
File "D:\AI\webui_forge_cu124_torch24\system\python\lib\site-packages\gradio\utils.py", line 56, in
from gradio.data_classes import BlocksConfigDict, FileData
File "D:\AI\webui_forge_cu124_torch24\system\python\lib\site-packages\gradio\data_classes.py", line 16, in
from pydantic import BaseModel, RootModel, ValidationError
ImportError: cannot import name 'RootModel' from 'pydantic' (D:\AI\webui_forge_cu124_torch24\system\python\lib\site-packages\pydantic\__init__.cp310-win_amd64.pyd)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the traceback through launch.py, webui.py, and modules_forge/forge_canvas/canvas.py, then inspect the Gradio and pydantic imports in the bundled site-packages directory. Reproduce the startup failure and determine the dependency state that causes RootModel to be unavailable; done means the application launches and extension installation can be tested.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.