mirror of
https://github.com/DominikDoom/a1111-sd-webui-tagcomplete.git
synced 2026-11-05 00:17:25 +00:00
[GH-ISSUE #300] Extention Not Working At All | Not loading modules #210
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
low priority
low priority
pull-request
question
waiting for feedback
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
DominikDoom/a1111-sd-webui-tagcomplete#210
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @andy8992 on GitHub (Aug 18, 2024).
Original GitHub issue: https://github.com/DominikDoom/a1111-sd-webui-tagcomplete/issues/300
During startup
*** Error loading script: model_keyword_support.py
Traceback (most recent call last):
File "E:\Data\Packages\Stable Diffusion WebUI Forge\modules\scripts.py", line 525, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "E:\Data\Packages\Stable Diffusion WebUI Forge\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 "E:\Data\Packages\Stable Diffusion WebUI Forge\extensions\a1111-sd-webui-tagcomplete\scripts\model_keyword_support.py", line 7, in
from scripts.shared_paths import EXT_PATH, STATIC_TEMP_PATH, TEMP_PATH
ModuleNotFoundError: No module named 'scripts.shared_paths'
*** Error loading script: tag_autocomplete_helper.py
Traceback (most recent call last):
File "E:\Data\Packages\Stable Diffusion WebUI Forge\modules\scripts.py", line 525, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "E:\Data\Packages\Stable Diffusion WebUI Forge\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 "E:\Data\Packages\Stable Diffusion WebUI Forge\extensions\a1111-sd-webui-tagcomplete\scripts\tag_autocomplete_helper.py", line 19, in
from scripts.model_keyword_support import (get_lora_simple_hash,
ModuleNotFoundError: No module named 'scripts.model_keyword_support'
*** Error loading script: tag_frequency_db.py
Traceback (most recent call last):
File "E:\Data\Packages\Stable Diffusion WebUI Forge\modules\scripts.py", line 525, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "E:\Data\Packages\Stable Diffusion WebUI Forge\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 "E:\Data\Packages\Stable Diffusion WebUI Forge\extensions\a1111-sd-webui-tagcomplete\scripts\tag_frequency_db.py", line 4, in
from scripts.shared_paths import TAGS_PATH
ModuleNotFoundError: No module named 'scripts.shared_paths'
@DominikDoom commented on GitHub (Aug 18, 2024):
Update your forge version, this is a bug introduced on their side that's been fixed for a while.
Duplicate of #299
@andy8992 commented on GitHub (Aug 18, 2024):
Okay, I updated it today and still am getting this error. I've tried reinstalling manually and in the UI.
@DominikDoom commented on GitHub (Aug 19, 2024):
Does the proposed fix from the linked issue work for you? Try creating an empty file named
__init__.py(two underscores on both sides) in TAC's scripts directory.Otherwise, I think just updating forge might not be enough, since the root cause was a broken gguf dependency. You might need to fix or recreate your venv to properly clean the error.
From the forge issue:
@andy8992 commented on GitHub (Aug 19, 2024):
Didn't fix the error unfortunately
However, I'm only seeing this error now
*** Error loading script: tag_autocomplete_helper.py
Traceback (most recent call last):
File "E:\Data\Packages\Stable Diffusion WebUI Forge\modules\scripts.py", line 525, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "E:\Data\Packages\Stable Diffusion WebUI Forge\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 "E:\Data\Packages\Stable Diffusion WebUI Forge\extensions\a1111-sd-webui-tagcomplete\scripts\tag_autocomplete_helper.py", line 19, in
from scripts.model_keyword_support import (get_lora_simple_hash,
ModuleNotFoundError: No module named 'scripts.model_keyword_support'
@DominikDoom commented on GitHub (Aug 19, 2024):
That's still the same issue just for a different import, these are all local scripts in the same folder that should be found no matter what. So I guess fixing the venv as quoted in my last comment is the only thing left to try.
@andy8992 commented on GitHub (Aug 19, 2024):
Giving that a shot now. Dang things 7gb I guess. Dumb rural internet heh.
Thanks, I'll let you know
@andy8992 commented on GitHub (Aug 19, 2024):
Unfortunately that didn't seem to help. Bummer
@andy8992 commented on GitHub (Aug 19, 2024):
WAIT! I think I got it, I downloaded the older commit, the one from the releases from Feb and I think maybe i didn't put init.py in the scripts folder rather than the main one. Thanks for your help.
@DominikDoom commented on GitHub (Aug 20, 2024):
Wait, so just for clarification, it only works with an older release of TAC? That would not be ideal, as there've been a lot of additions (and also forge-specific fixes) since then.