hako-mikan/sd-webui-negpip

Script error after recent Forge updates

Closed this issue ยท 5 comments

I don't know if this is a "them" problem or if they plan to fix it themselves, but one of the recent Forge updates broke several extension, including this one.

*** Error loading script: negpip.py
Traceback (most recent call last):
File "I:\StabilityMatrix\Packages\Stable Diffusion WebUI Forge b9705c5\modules\scripts.py", line 525, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "I:\StabilityMatrix\Packages\Stable Diffusion WebUI Forge b9705c5\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 "I:\StabilityMatrix\Packages\Stable Diffusion WebUI Forge b9705c5\extensions\sd-webui-negpip\scripts\negpip.py", line 5, in
import ldm.modules.attention as atm
ModuleNotFoundError: No module named 'ldm'

Same here. Found this extension like a month ago and used it all the time for a week until it stopped functioning. Several other extensions are throwing the same error, and I cannot find a solution yet.

Same here. Found this extension like a month ago and used it all the time for a week until it stopped functioning. Several other extensions are throwing the same error, and I cannot find a solution yet.

The idiot in charge of Forge just deleted anything they didn't think was important when they decided they were going to rewrite the whole thing themselves. Some of us have tried fixing it but you replace one thing and something else throws up errors. Your only real solution until they bother fixing what they broke is u sing a different UI or rolling back your forge to an earlier version.

Fixed.
Thanks @inflatebot

Welcome back! You're very welcome. ๐Ÿ˜Š