vladmandic / automatic

SD.Next: Advanced Implementation of Stable Diffusion and other Diffusion-based generative image models
https://github.com/vladmandic/automatic
GNU Affero General Public License v3.0
5.56k stars 409 forks source link

[Extension]: Animator not work anymore #1471

Closed ShmuelRonen closed 1 year ago

ShmuelRonen commented 1 year ago

Issue Description

hello....

I made --upgrade today and from then Animator extention not work anymore

This is from CMD prompt:

09:11:10-949788 ERROR Error running extension installer: C:\vlad\automatic\extensions\animator_extension\install.py 09:11:29-251989 INFO Extensions enabled: ['a1111-sd-webui-lycoris', 'clip-interrogator-ext', 'LDSR', 'Lora', 'multidiffusion-upscaler-for-automatic1111', 'ScuNET', 'sd-dynamic-thresholding', 'sd-extension-aesthetic-scorer', 'sd-extension-steps-animation', 'sd-extension-system-info', 'sd-webui-agent-scheduler', 'sd-webui-controlnet', 'sd-webui-model-converter', 'seed_travel', 'stable-diffusion-webui-images-browser', 'stable-diffusion-webui-rembg', 'SwinIR', 'animator_extension', 'Auto-Photoshop-StableDiffusion-Plugin', 'canvas-zoom', 'deforum-for-automatic1111-webui', 'infinite-zoom-automatic1111-webui', 'SD-CN-Animation', 'sd-webui-aspect-ratio-helper', 'sd-webui-stablesr', 'TemporalKit', 'unprompted'] 09:11:29-271989 INFO Updating Wiki 09:11:30-230989 WARNING Setup complete with errors: 1 09:11:30-232987 WARNING See log file for more details: C:\vlad\automatic\sdnext.log 09:11:30-237989 INFO Extension preload: 0.0s C:\vlad\automatic\extensions-builtin 09:11:30-239988 INFO Extension preload: 0.0s C:\vlad\automatic\extensions 09:11:30-257989 INFO Server arguments: [] No module 'xformers'. Proceeding without it. 09:11:36-278992 INFO Libraries loaded 09:11:36-283988 INFO Using data path: C:\vlad\automatic 09:11:36-287987 INFO Available VAEs: C:\vlad\automatic\models\VAE 2 09:11:36-297992 INFO Available models: C:\vlad\automatic\models\Stable-diffusion 23 09:11:38-928992 INFO ControlNet v1.1.224 ControlNet preprocessor location: C:\vlad\automatic\extensions-builtin\sd-webui-controlnet\annotator\downloads 09:11:39-082991 INFO ControlNet v1.1.224 python_server_full_path: C:\vlad\automatic\extensions\Auto-Photoshop-StableDiffusion-Plugin\server/python_server 09:11:39-924991 INFO Libraries loaded (SETUP) Loading Unprompted v9.2.0 by Therefore Games (SETUP) Initializing Unprompted object... (SETUP) Loading configuration files... (SETUP) Logging enabled for the following message types: RESULT,ERROR 09:11:40-877993 INFO Loading UI theme: name=gradio/default style=Auto 09:11:42-554989 ERROR executing callback: C:\vlad\automatic\extensions\animator_extension\scripts\animator.py ui_tabs_callback: ValueError ┌──────────────────────────────────────── Traceback (most recent call last) ────────────────────────────────────────┐ │ C:\vlad\automatic\modules\script_callbacks.py:161 in ui_tabs_callback │ │ │ │ 160 │ │ │ t0 = time.time() │ │ > 161 │ │ │ res += c.callback() or [] │ │ 162 │ │ │ timer(t0, c.script, 'ui_tabs') │ │ │ │ C:\vlad\automatic\extensions\animator_extension\scripts\animator.py:392 in on_ui_tabs │ │ │ │ 391 │ │ │ │ │ # result_gallery, generation_info if tabname != "extras" else html_i │ │ > 392 │ │ │ │ │ aa_gallery, aa_htmlinfo_x, aa_htmlinfo, aa_htmllog = \ │ │ 393 │ │ │ │ │ │ ui_common.create_output_panel("animator_extension", shared.opts. │ └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘ ValueError: too many values to unpack (expected 4)

Version Platform Description

C:\vlad\automatic>webui.bat Using VENV: C:\vlad\automatic\venv 09:10:22-760205 INFO Starting SD.Next 09:10:22-764205 INFO Python 3.10.7 on Windows 09:10:22-845203 INFO Version: b340e3f4 Sun Jun 18 16:30:59 2023 -0400 09:10:23-399205 INFO nVidia CUDA toolkit detected 09:10:24-626205 INFO Torch 2.0.1+cu118 09:10:24-640203 INFO Torch backend: nVidia CUDA 11.8 cuDNN 8700 09:10:24-643203 INFO Torch detected GPU: NVIDIA GeForce RTX 3090 VRAM 24576 Arch (8, 6) Cores 82

URL link of the extension

https://github.com/Animator-Anon/animator_extension

URL link of the issue reported in the extension repository

https://github.com/Animator-Anon/animator_extension/issues/31

Acknowledgements

vladmandic commented 1 year ago

i've updated the issue upstream - one-line code change is required in extension.

ShmuelRonen commented 1 year ago

I make the chang for myself: <ui.create_output_panel("animator_extension", shared.opts.animatoranon_output_folder)>

by is an error:

C:\vlad\automatic\extensions\animator_extension\scripts\animator.py:393 in on_ui_tabs │ │ │ │ 392 │ │ │ │ │ aa_gallery, aa_htmlinfo_x, aa_htmlinfo, aa_htmllog = \ │ │ > 393 │ │ │ │ │ │ ui.create_output_panel("animator_extension", shared.opts.animato │ │ 394 │ └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘ NameError: name 'ui' is not defined

vladmandic commented 1 year ago

you need to import it - i didn't write it as for dev that should be implied.

brunogcar commented 1 year ago

Fixed upstream, can be closed