lllyasviel / lllyasviel/sd-forge-layerdiffuse

ModuleNotFoundError: No module named 'modules_forge.forge_canvas'

Open
#116 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
4.1k
Forks
352
PR merge metrics
No merged PRs in 30d

Description

[-] ADetailer initialized. version: 24.6.0, num models: 10
*** Error loading script: forge_layerdiffusion.py
Traceback (most recent call last):
File "C:\Users\ronsa\Downloads\stable-diffusion-webui-reForge\modules\scripts.py", line 525, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "C:\Users\ronsa\Downloads\stable-diffusion-webui-reForge\modules\script_loading.py", line 13, in load_module
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "C:\Users\ronsa\Downloads\stable-diffusion-webui-reForge\extensions\sd-forge-layerdiffuse\scripts\forge_layerdiffusion.py", line 21, in
from modules_forge.forge_canvas.canvas import ForgeCanvas
ModuleNotFoundError: No module named 'modules_forge.forge_canvas'


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

Reproduce the startup failure and begin with extensions/sd-forge-layerdiffuse/scripts/forge_layerdiffusion.py at the import on line 21. Read modules/scripts.py and modules/script_loading.py to understand how the extension is loaded, then trace whether modules_forge.forge_canvas is available in this Forge installation. Done means the extension loads without this ModuleNotFoundError.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.