Scholar01 / sd-webui-mov2mov

This is the Mov2mov plugin for Automatic1111/stable-diffusion-webui.
MIT License
2.16k stars 332 forks source link

mov2mov tab is missing on WebUI #92

Closed ktee95 closed 1 year ago

ktee95 commented 1 year ago

Glad that you back to work T_T i use lastest Vlad''s fork WebUI and manage it via Stability Matrix. I just installed the lastest update of mov2mov, but mov2mov tab still not show on UI something is missing or conflict with Vlad WebUI?

18:47:04-737910 ERROR Module load:
extensions\sd-webui-mov2mov\scripts\m2m_modnet.py:
FileNotFoundError
┌───────────────────── Traceback (most recent call last) ─────────────────────┐ │ Z:\StabilityMatrix\Data\Packages\automatic\modules\script_loading.py:18 in │ │ load_module │ │ │ │ 17 │ │ with contextlib.redirect_stdout(io.StringIO()) as stdout: │ │ > 18 │ │ │ module_spec.loader.exec_module(module) │ │ 19 │ │ setup_logging() # reset since scripts can hijaack logging │ │ in exec_module:883 │ │ in _call_with_frames_removed:241 │ │ │ │ Z:\StabilityMatrix\Data\Packages\automatic\extensions\sd-webui-mov2mov\scri │ │ pts\m2m_modnet.py:21 in │ │ │ │ 20 models_path = os.path.join(script_path, "models") │ │ > 21 modnet_models = ['none'] + [model for model in os.listdir(models_path │ │ 22 │ └─────────────────────────────────────────────────────────────────────────────┘ FileNotFoundError: [WinError 3] The system cannot find the path specified: 'extensions\sd-webui-mov2mov\models' 18:47:04-802870 ERROR Module load:
extensions\sd-webui-mov2mov\scripts\m2m_ui.py:
ImportError
┌───────────────────── Traceback (most recent call last) ─────────────────────┐ │ Z:\StabilityMatrix\Data\Packages\automatic\modules\script_loading.py:18 in │ │ load_module │ │ │ │ 17 │ │ with contextlib.redirect_stdout(io.StringIO()) as stdout: │ │ > 18 │ │ │ module_spec.loader.exec_module(module) │ │ 19 │ │ setup_logging() # reset since scripts can hijaack logging │ │ in exec_module:883 │ │ in _call_with_frames_removed:241 │ │ │ │ Z:\StabilityMatrix\Data\Packages\automatic\extensions\sd-webui-mov2mov\scri │ │ pts\m2m_ui.py:14 in │ │ │ │ 13 import subprocess as sp │ │ > 14 from modules.ui import Toprow, ordered_ui_categories, createsampler │ │ 15 │ create_override_settings_dropdown, detect_image_size_symbol, resi │ └─────────────────────────────────────────────────────────────────────────────┘ ImportError: cannot import name 'Toprow' from 'modules.ui' (Z:\StabilityMatrix\Data\Packages\automatic\modules\ui.py) 18:47:04-877702 ERROR Module load:
extensions\sd-webui-mov2mov\scripts\module_ui_extensio ns.py: ImportError
┌───────────────────── Traceback (most recent call last) ─────────────────────┐ │ Z:\StabilityMatrix\Data\Packages\automatic\modules\script_loading.py:18 in │ │ load_module │ │ │ │ 17 │ │ with contextlib.redirect_stdout(io.StringIO()) as stdout: │ │ > 18 │ │ │ module_spec.loader.exec_module(module) │ │ 19 │ │ setup_logging() # reset since scripts can hijaack logging │ │ in exec_module:883 │ │ in _call_with_frames_removed:241 │ │ │ │ Z:\StabilityMatrix\Data\Packages\automatic\extensions\sd-webui-mov2mov\scri │ │ pts\module_ui_extensions.py:2 in │ │ │ │ 1 # Fix ui library to support custom tabs │ │ > 2 from modules import patches, shared, ui_prompt_styles │ │ 3 import modules

C4l1b3r commented 1 year ago

Screenshot_20230923_065754_RVNC Viewer

Same issue

Scholar01 commented 1 year ago

Screenshot_20230923_065754_RVNC Viewer

Same issue

I just pushed a version

yic17 commented 1 year ago

Hi, I am using Vlad's SD Next and the Mov2mov tab is not showing up as well. I guess it's not compatible with SD Next? Can you please make them work in the next update?

Scholar01 commented 1 year ago

@yic17 Can you provide me with the error message?

yic17 commented 1 year ago

@Scholar01 I think this?

Y:\YIC Projects - SD Next 2\automatic\extensions\sd-webui-mov2mov\scripts\m2m_ui.py:14 in │ │ │ │ 13 import subprocess as sp │ │ > 14 from modules.ui import Toprow, ordered_ui_categories, create_sampler_and_steps_selection │ │ 15 │ create_override_settings_dropdown, detect_image_size_symbol, resize_from_to_html, pl │ └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘ ImportError: cannot import name 'Toprow' from 'modules.ui' (Y:\YIC Projects - SD Next 2\automatic\modules\ui.py) 20:14:23-560305 ERROR Module load: extensions\sd-webui-mov2mov\scripts\module_ui_extensions.py: ImportError ┌───────────────────────────────────────── Traceback (most recent call last) ─────────────────────────────────────────┐ │ Y:\YIC Projects - SD Next 2\automatic\modules\script_loading.py:18 in load_module │ │ │ │ 17 │ │ with contextlib.redirect_stdout(io.StringIO()) as stdout: │ │ > 18 │ │ │ module_spec.loader.exec_module(module) │ │ 19 │ │ setup_logging() # reset since scripts can hijaack logging │ │ in exec_module:883 │ │ in _call_with_frames_removed:241 │ │ │ │ Y:\YIC Projects - SD Next 2\automatic\extensions\sd-webui-mov2mov\scripts\module_ui_extensions.py:2 in │ │ │ │ 1 # Fix ui library to support custom tabs │ │ > 2 from modules import patches, shared, ui_prompt_styles │ │ 3 import modules

Scholar01 commented 1 year ago

@yic17 I just updated it, can you try it?

SamPse commented 1 year ago

@yic17 I just updated it, can you try it?

Same problem tab is missing on WebUI

C4l1b3r commented 1 year ago

@yic17 what version of Stable diffusion are you using?

SamPse commented 1 year ago

@yic17 what version of Stable diffusion are you using? The last version this one work great : https://github.com/DavG25/sd-webui-mov2mov

C4l1b3r commented 1 year ago

Screenshot_20230924_043945_RVNC Viewer

So 1.6?

After the first push update it stops working on anything less than 1.6

I had same issue. I was running 1.5.2 deleted venv, deleted mov2mov nothing worked. When I finally updated to 1.6 it appeared with no error.

yic17 commented 1 year ago

@Scholar01 Hi, I updated but Mov2mov is still not showing up on the tabs. Here's the new error code:

02:51:09-243129 ERROR Module load: extensions\sd-webui-mov2mov\scripts\m2m_ui.py: ImportError ┌───────────────────────────────────────── Traceback (most recent call last) ─────────────────────────────────────────┐ │ Y:\YIC Projects - SD Next 2\automatic\modules\script_loading.py:18 in load_module │ │ │ │ 17 │ │ with contextlib.redirect_stdout(io.StringIO()) as stdout: │ │ > 18 │ │ │ module_spec.loader.exec_module(module) │ │ 19 │ │ setup_logging() # reset since scripts can hijaack logging │ │ in exec_module:883 │ │ in _call_with_frames_removed:241 │ │ │ │ Y:\YIC Projects - SD Next 2\automatic\extensions\sd-webui-mov2mov\scripts\m2m_ui.py:10 in │ │ │ │ 9 import gradio as gr │ │ > 10 import platform │ │ 11 import modules.scripts as scripts │ └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘ ImportError: cannot import name 'patches' from 'modules' (unknown location)

@C4l1b3r I just re-installed Vlad SD Next so it should be the latest version.

palvarez19 commented 1 year ago

I am having the same issue. I tried deleting the extension folder and reinstall but that didn't work. Here's the error message I get:

*** Error loading script: m2m_util.py Traceback (most recent call last): File "/home/test/sd3/stable-diffusion-webui/modules/scripts.py", line 382, in load_scripts script_module = script_loading.load_module(scriptfile.path) File "/home/test/sd3/stable-diffusion-webui/modules/script_loading.py", line 10, in load_module module_spec.loader.exec_module(module) File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "/home/test/sd3/stable-diffusion-webui/extensions/sd-webui-mov2mov/scripts/m2m_util.py", line 2, in from rich import print ModuleNotFoundError: No module named 'rich'

Scholar01 commented 1 year ago

@yic17 @palvarez19 i think i fixed them

lg2294001146 commented 1 year ago

I'm having the same issue with the latest version image

yic17 commented 1 year ago

Yeah, still not working unfortunately. This is the SD version I am using btw @ https://github.com/vladmandic/automatic

For now I'll just stick with Temporal Kit for animations.

C4l1b3r commented 1 year ago

Yeah, still not working unfortunately. This is the SD version I am using btw @ https://github.com/vladmandic/automatic

For now I'll just stick with Temporal Kit for animations.

Have you tried the non-forked version of SD

zboing commented 1 year ago

I'm having the same issue with the latest version image

I have the same issue. It's because we're using an old sd web ui version and many methods and files are missing, in my case I have version 1.3.2 and the extension has a minimum version 1.5,2 I guess..

MrVladH commented 1 year ago

Since the update on September 25, the mov2mov tab disappeared and despite subsequent updates it still does not work. I miss the extension, I hope it can be solved soon. Issue mov2mov

C4l1b3r commented 1 year ago

Just a fyi it works on the non-forked automatic1111 1.6. It actually works better than it did