Closed ImmortalPie closed 1 year ago
Try making a fresh reinstall of webui (of course, backup your models, outputs, etc, but not the venv and any configuration files). In my experience, it's an environment issue
That's what I ended up doing, could not figure it out. A fresh install and then adding all my extensions, models and settings back from scratch was the only way I could get it working again. I'll mark as closed, as you said likely a one off issue with my env, not necessarily an issue with the extension.
I had a similar issue with a fresh installation of A1111 1.3.2
Error loading script: api_t2v.py
Traceback (most recent call last):
File "/home/sapien/m2/ai-vid/a1111-vid/modules/scripts.py", line 263, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "/home/sapien/m2/ai-vid/a1111-vid/modules/script_loading.py", line 10, in load_module
module_spec.loader.exec_module(module)
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/home/sapien/m2/ai-vid/a1111-vid/extensions/text2video/scripts/api_t2v.py", line 33, in <module>
from t2v_helpers.video_audio_utils import find_ffmpeg_binary
ModuleNotFoundError: No module named 't2v_helpers'
I fixed it by reinstalling the extension without a custom directory name Edit: I think it could also be fixed by changing line 10 in extensions/txt2vid extension dir/scripts/api_t2v.py to match the extension dir
Is there an existing issue for this?
Are you using the latest version of the extension?
What happened?
When I launch auto1111 webui I get this error message:
Error loading script: text2vid.py Traceback (most recent call last): File "C:\SD\stable-diffusion-webui\modules\scripts.py", line 256, in load_scripts script_module = script_loading.load_module(scriptfile.path) File "C:\SD\stable-diffusion-webui\modules\script_loading.py", line 11, 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:\SD\stable-diffusion-webui\extensions\sd-webui-text2video\scripts\text2vid.py", line 33, in
from modelscope.t2v_pipeline import TextToVideoSynthesis, tensor2vid
ModuleNotFoundError: No module named 'modelscope.t2v_pipeline'
The tab for the extension does not show up. Reinstalling the extension does not change anything.
Steps to reproduce the problem
What should have happened?
No error and the extension just works.
WebUI and Deforum extension Commit IDs
webui commit id - 22bcc7be428c94e9408f589966c2040187245d81 txt2vid commit id - 1e32b561786f8763a2f87fcd122bc18804e4a7ab
What GPU were you using for launching?
3090 24GB
On which platform are you launching the webui backend with the extension?
Local PC setup (Windows)
Settings
Launch options: --opt-sdp-attention --port 7861
Console logs
Additional information
Works fine with a fresh install webui and just the extension added, no idea why it wont work with my current setup.