Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

m2m_ui.py error #104

Open
wyyzxml2120 opened this issue Oct 8, 2023 · 8 comments
Open

m2m_ui.py error #104

wyyzxml2120 opened this issue Oct 8, 2023 · 8 comments

Comments

@wyyzxml2120
Copy link

Load script m2m for extension sd-webii-mov2mov_ Ui.py failed.

@DavG25
Copy link
Collaborator

DavG25 commented Oct 11, 2023

Which version of the A1111 stable diffusion web UI are you using?

You can see it at the bottom of the page:
Screenshot

@javarike
Copy link

`AddNet] Updating model hashes...
Error loading script: m2m_ui.py
Traceback (most recent call last):
File "D:\sd-webui-aki-v4\modules\scripts.py", line 256, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "D:\sd-webui-aki-v4\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 "D:\sd-webui-aki-v4\extensions\sd-webui-mov2mov\scripts\m2m_ui.py", line 12, in
from modules import (
ImportError: cannot import name 'ui_prompt_styles' from 'modules' (unknown location)
提示:Python 运行时抛出了一个异常。请检查疑难解答页面。

Error loading script: module_ui_extensions.py
Traceback (most recent call last):
File "D:\sd-webui-aki-v4\modules\scripts.py", line 256, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "D:\sd-webui-aki-v4\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 "D:\sd-webui-aki-v4\extensions\sd-webui-mov2mov\scripts\module_ui_extensions.py", line 53, in
obj=ui_components.InputAccordion,
AttributeError: module 'modules.ui_components' has no attribute 'InputAccordion'
提示:Python 运行时抛出了一个异常。请检查疑难解答页面。

Error loading script: movie_editor.py
Traceback (most recent call last):
File "D:\sd-webui-aki-v4\modules\scripts.py", line 256, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "D:\sd-webui-aki-v4\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 "D:\sd-webui-aki-v4\extensions\sd-webui-mov2mov\scripts\movie_editor.py", line 9, in
from modules.ui_components import InputAccordion, ToolButton
ImportError: cannot import name 'InputAccordion' from 'modules.ui_components' (D:\sd-webui-aki-v4\modules\ui_components.py)�`

webui:v1.6.0

@bankkomin
Copy link

I have the same problem using v1.5.1 but Mov2Mov tab wont show up

Version: v1.5.1
Commit hash: 68f336bd994bed5442ad95bad6b6ad5564a5409a
Installing requirements for Mov2mov
Installing requirements for imageio-ffmpeg

Launching Web UI with arguments:
no module 'xformers'. Processing without...
no module 'xformers'. Processing without...
No module 'xformers'. Proceeding without it.
*** Error loading script: m2m_ui.py
Traceback (most recent call last):
File "C:\Users\bankk\Stable Diffusion\stable-diffusion-webui\modules\scripts.py", line 319, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "C:\Users\bankk\Stable Diffusion\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 "C:\Users\bankk\Stable Diffusion\stable-diffusion-webui\extensions\sd-webui-mov2mov\scripts\m2m_ui.py", line 12, in
from modules import (
ImportError: cannot import name 'ui_prompt_styles' from 'modules' (unknown location)


*** Error loading script: module_ui_extensions.py
Traceback (most recent call last):
File "C:\Users\bankk\Stable Diffusion\stable-diffusion-webui\modules\scripts.py", line 319, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "C:\Users\bankk\Stable Diffusion\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 "C:\Users\bankk\Stable Diffusion\stable-diffusion-webui\extensions\sd-webui-mov2mov\scripts\module_ui_extensions.py", line 53, in
obj=ui_components.InputAccordion,
AttributeError: module 'modules.ui_components' has no attribute 'InputAccordion'


*** Error loading script: movie_editor.py
Traceback (most recent call last):
File "C:\Users\bankk\Stable Diffusion\stable-diffusion-webui\modules\scripts.py", line 319, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "C:\Users\bankk\Stable Diffusion\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 "C:\Users\bankk\Stable Diffusion\stable-diffusion-webui\extensions\sd-webui-mov2mov\scripts\movie_editor.py", line 9, in
from modules.ui_components import InputAccordion, ToolButton
ImportError: cannot import name 'InputAccordion' from 'modules.ui_components' (C:\Users\bankk\Stable Diffusion\stable-diffusion-webui\modules\ui_components.py)

@shenmingik
Copy link

解决了吗?我用的colab,失败了

@ENTPRESTIGIOUS
Copy link

Same on v1.5.2

@scooller
Copy link

same error on v1.9.0

@AiEzra
Copy link

AiEzra commented Apr 16, 2024

Yeah same here, the Mov2Mov page isn't showing up within Automatic1111 user interface, no matter what. I've tried different versions of Mov2Mov from a fork I found online, but that wont install properly.. totally stuck, any suggestions anyone?

@theSplund
Copy link

theSplund commented May 4, 2024

Hit the same problem in 1.9.3 - looks like a solution may be over here: #146

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants