stable-diffusion-webui icon indicating copy to clipboard operation
stable-diffusion-webui copied to clipboard

[Bug]: New bug

Open Pojectmaster01 opened this issue 1 year ago • 10 comments

Is there an existing issue for this?

  • [x] I have searched the existing issues and checked the recent builds/commits

What happened?

extension go wild, LLuL error Error running postprocess: D:\AI\stable-diffusion-webui\extensions\sd-webui-llul\scripts\llul.py Traceback (most recent call last): File "D:\AI\stable-diffusion-webui\modules\scripts.py", line 498, in postprocess script.postprocess(p, processed, *script_args) TypeError: Script.postprocess() missing 13 required positional arguments: 'enabled', 'multiply', 'weight', 'understand', 'layers', 'apply_to', 'start_steps', 'max_steps', 'up', 'up_aa', 'down', 'down_aa', and 'intp'

same for ControlNet missing arguments

as well Seed_travel

After update the modules

Steps to reproduce the problem

  1. Use this WebUI
  2. write prompt
  3. Enable extensions
  4. RUN

What should have happened?

should work, as extension says

Version or Commit where the problem happens

version: v1.4.0  •  torch: 2.1.0.dev20230613+cu118  •  xformers: N/A  •  gradio: 3.32.0

What Python version are you running on ?

Python 3.10.x

What platforms do you use to access the UI ?

Windows

What device are you running WebUI on?

Nvidia GPUs (GTX 16 below)

Cross attention optimization

Automatic

What browsers do you use to access the UI ?

Google Chrome

Command Line Arguments

*** Error completing request
*** Arguments: ('task(18zjtmmn3bq4nvt)', 'masterpiece, best quality, highres,', 'EasyNegative, lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, (worst quality:1.2), low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry, lowres graffiti, (low quality lowres simple background:1.1),', [], 20, 16, False, False, 1, 1, 7, -1.0, -1.0, 0, 0, 0, False, 768, 512, False, 0.7, 2, 'Latent', 0, 0, 0, 0, '', '', [], 5, True, False, 1, False, False, False, 1.1, 1.5, 100, 0.7, False, False, True, False, False, 0, 'Gustavosta/MagicPrompt-Stable-Diffusion', '', False, 'x264', 'blend', 10, 0, 0, False, True, True, True, 'intermediate', 'animation', <scripts.controlnet_ui.controlnet_ui_group.UiControlNetUnit object at 0x00000216CD208550>, <scripts.controlnet_ui.controlnet_ui_group.UiControlNetUnit object at 0x00000216CD072AD0>, <scripts.controlnet_ui.controlnet_ui_group.UiControlNetUnit object at 0x00000216CD072140>, <scripts.controlnet_ui.controlnet_ui_group.UiControlNetUnit object at 0x00000216CD070460>, False, 1, 0.15, False, 'OUT', ['OUT'], 5, 0, 'Bilinear', False, 'Bilinear', False, 'Lerp', '', '', False, False, None, True, True, False, False, False, False, 'positive', 'comma', 0, False, False, '', 1, '', [], 0, '', [], 0, '', [], True, False, False, False, 0, None, None, False, None, None, False, None, None, False, None, None, False, 50, True, 4.0, '', 30.0, 'Linear', 3, True, 12.0, True, False, False, 0, 0.0, 'Lanczos', 1, True, 0, 0, 0.001, 75, 0.0, False, True) {}
Traceback (most recent call last):
File "D:\AI\stable-diffusion-webui\modules\call_queue.py", line 55, in f
res = list(func(*args, **kwargs))
File "D:\AI\stable-diffusion-webui\modules\call_queue.py", line 35, in f
res = func(*args, **kwargs)
File "D:\AI\stable-diffusion-webui\modules\txt2img.py", line 54, in txt2img
processed = modules.scripts.scripts_txt2img.run(p, *args)
File "D:\AI\stable-diffusion-webui\modules\scripts.py", line 456, in run
processed = script.run(p, *script_args)
TypeError: Script.run() missing 23 required positional arguments: 'rnd_seed', 'seed_count', 'dest_seed', 'steps', 'curve', 'curvestr', 'loopback', 'video_fps', 'show_images', 'compare_paths', 'allowdefsampler', 'bump_seed', 'lead_inout', 'upscale_meth', 'upscale_ratio', 'use_cache', 'ssim_diff', 'ssim_ccrop', 'substep_min', 'ssim_diff_min', 'rife_passes', 'rife_drop', and 'save_stats'

List of extensions

ControlNetInpaint DeforumStableDiffusionLocal SD-CN-Animation T2I-Adapter a1111-sd-webui-tagcomplete deforum-for-automatic1111-webui gif2gif noise-offset novelai-bot openpose-editor sd-dynamic-prompts sd-extension-steps-animation sd-webui-3d-open-pose-editor sd-webui-aspect-ratio-helper sd-webui-controlnet sd-webui-infinite-image-browsing sd-webui-inpaint-anything sd-webui-latent-couple sd-webui-llul sd-webui-openpose-editor sd-webui-stablesr seed_travel stable-diffusion-webui-composable-lora stable-diffusion-webui-images-browser ultimate-upscale-for-automatic1111 video_loopback_for_webui webui-qrcode-generator LDSR Lora ScuNET SwinIR canvas-zoom-and-pan extra-options-section prompt-bracket-checker

I did not change anything, and yesterday everything worked

Console logs

*** Error completing request
*** Arguments: ('task(18zjtmmn3bq4nvt)', 'masterpiece, best quality, highres,', 'EasyNegative, lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, (worst quality:1.2), low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry, lowres graffiti, (low quality lowres simple background:1.1),', [], 20, 16, False, False, 1, 1, 7, -1.0, -1.0, 0, 0, 0, False, 768, 512, False, 0.7, 2, 'Latent', 0, 0, 0, 0, '', '', [], 5, True, False, 1, False, False, False, 1.1, 1.5, 100, 0.7, False, False, True, False, False, 0, 'Gustavosta/MagicPrompt-Stable-Diffusion', '', False, 'x264', 'blend', 10, 0, 0, False, True, True, True, 'intermediate', 'animation', <scripts.controlnet_ui.controlnet_ui_group.UiControlNetUnit object at 0x00000216CD208550>, <scripts.controlnet_ui.controlnet_ui_group.UiControlNetUnit object at 0x00000216CD072AD0>, <scripts.controlnet_ui.controlnet_ui_group.UiControlNetUnit object at 0x00000216CD072140>, <scripts.controlnet_ui.controlnet_ui_group.UiControlNetUnit object at 0x00000216CD070460>, False, 1, 0.15, False, 'OUT', ['OUT'], 5, 0, 'Bilinear', False, 'Bilinear', False, 'Lerp', '', '', False, False, None, True, True, False, False, False, False, 'positive', 'comma', 0, False, False, '', 1, '', [], 0, '', [], 0, '', [], True, False, False, False, 0, None, None, False, None, None, False, None, None, False, None, None, False, 50, True, 4.0, '', 30.0, 'Linear', 3, True, 12.0, True, False, False, 0, 0.0, 'Lanczos', 1, True, 0, 0, 0.001, 75, 0.0, False, True) {}
Traceback (most recent call last):
File "D:\AI\stable-diffusion-webui\modules\call_queue.py", line 55, in f
res = list(func(*args, **kwargs))
File "D:\AI\stable-diffusion-webui\modules\call_queue.py", line 35, in f
res = func(*args, **kwargs)
File "D:\AI\stable-diffusion-webui\modules\txt2img.py", line 54, in txt2img
processed = modules.scripts.scripts_txt2img.run(p, *args)
File "D:\AI\stable-diffusion-webui\modules\scripts.py", line 456, in run
processed = script.run(p, *script_args)
TypeError: Script.run() missing 23 required positional arguments: 'rnd_seed', 'seed_count', 'dest_seed', 'steps', 'curve', 'curvestr', 'loopback', 'video_fps', 'show_images', 'compare_paths', 'allowdefsampler', 'bump_seed', 'lead_inout', 'upscale_meth', 'upscale_ratio', 'use_cache', 'ssim_diff', 'ssim_ccrop', 'substep_min', 'ssim_diff_min', 'rife_passes', 'rife_drop', and 'save_stats'

Additional information

I call issue to seed_travel, but its no from their side, and I have not changed anything since yesterday, and yesterday it worked

Pojectmaster01 avatar Jun 27 '23 16:06 Pojectmaster01

now when i check even Lora

*** Error running process: D:\AI\stable-diffusion-webui\extensions\stable-diffusion-webui-composable-lora\scripts\composable_lora_script.py Traceback (most recent call last): File "D:\AI\stable-diffusion-webui\modules\scripts.py", line 474, in process script.process(p, *script_args) TypeError: ComposableLoraScript.process() missing 3 required positional arguments: 'enabled', 'opt_uc_text_model_encoder', and 'opt_uc_diffusion_model'

missing arguments

Pojectmaster01 avatar Jun 27 '23 17:06 Pojectmaster01

Same problem, win10, chrome, rtx4090 2023-06-27 21:33:47,951 - ControlNet - WARNING - No ControlNetUnit detected in args. It is very likely that you are having an extension conflict.Here are args received by ControlNet: (). Clip_IO adetailer multidiffusion-upscaler-for-automatic1111 sd-webui-llul sd-webui-multiple-hypernetworks sd-webui-roop stable-diffusion-webui-composable-lora version: [v1.4.0]  •  python: 3.10.10  •  torch: 2.0.1+cu118  •  xformers: 0.0.20  •  gradio: 3.32.0  •  checkpoint: [980cb713af]

bismark211 avatar Jun 27 '23 18:06 bismark211

duplicate https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/11448

chrme avatar Jun 27 '23 18:06 chrme

duplicate #11448

so how can i back to old version? before extension get update? (sorry new in this blocks xd)

Malakid21 avatar Jun 27 '23 19:06 Malakid21

are you familiar with "git checkout"?

TheOnlyHolyMoly avatar Jun 27 '23 23:06 TheOnlyHolyMoly

@TheOnlyHolyMoly

are you familiar with "git checkout"?

I get that you're frustrated with the current issue reporting method - but don't you think they wouldn't be asking if they knew how to do it? Why respond at all if what you are saying isn't helpful?

Ainaemaet avatar Jun 28 '23 01:06 Ainaemaet

I get that you're frustrated with the current issue reporting method - but don't you think they wouldn't be asking if they knew how to do it? Why respond at all if what you are saying isn't helpful

Instead of bullying me for asking an on-topic question you could have also given proper advice on whatever level you hold appropriate. It was for @projectmaster01 to advice how deep of an advice was required. Thank you.

Anyhow - and in spite of Projectmaster's thumbs down on my attempt of actually helping, here is what I typically do if I unintentially mess up my system over and again.

A. Identify to which commit you want to revert to 0. You should be able to look up the commit ID of your last known configuration through PNG info tab (however, I am not sure if the commit ID is captured in a1111 as feature or only done in SD.next)

  1. Otherwise, here is a list of available commits: https://github.com/AUTOMATIC1111/stable-diffusion-webui/commits/master
  2. You know which commit is NOT working anymore. Take the 7 digit commit-ID of the previous day or the day before. This is the commit we want to go back to

B. Revert system (backup your config files before doing this) open cmd switch to your repo path git checkout (insert your chosen commit-ID here) CAUTION: just the 7 digit code, not the parenthesis hit ENTER
Then a couple of lines will appear with git resetting your repo to the chosen state.

and if anyone has better advice, please feel free to help him.

TheOnlyHolyMoly avatar Jun 28 '23 09:06 TheOnlyHolyMoly

I get that you're frustrated with the current issue reporting method - but don't you think they wouldn't be asking if they knew how to do it? Why respond at all if what you are saying isn't helpful

Instead of bullying me for asking an on-topic question you could have also given proper advice on whatever level you hold appropriate. It was for @projectmaster01 to advice how deep of an advice was required. Thank you.

Anyhow - and in spite of Projectmaster's thumbs down on my attempt of actually helping, here is what I typically do if I unintentially mess up my system over and again.

A. Identify to which commit you want to revert to 0. You should be able to look up the commit ID of your last known configuration through PNG info tab (however, I am not sure if the commit ID is captured in a1111 as feature or only done in SD.next)

  1. Otherwise, here is a list of available commits: https://github.com/AUTOMATIC1111/stable-diffusion-webui/commits/master
  2. You know which commit is NOT working anymore. Take the 7 digit commit-ID of the previous day or the day before. This is the commit we want to go back to

B. Revert system (backup your config files before doing this) open cmd switch to your repo path git checkout (insert your chosen commit-ID here) CAUTION: just the 7 digit code, not the parenthesis hit ENTER Then a couple of lines will appear with git resetting your repo to the chosen state.

and if anyone has better advice, please feel free to help him.

Thank you :)

Malakid21 avatar Jun 29 '23 10:06 Malakid21

Everything breaks the SD-CN-Animation extension, disable it and everything will work.

bismark211 avatar Jun 29 '23 10:06 bismark211

Thanks! The above solution worked for me.

MattMosquito avatar Jun 30 '23 16:06 MattMosquito

I get that you're frustrated with the current issue reporting method - but don't you think they wouldn't be asking if they knew how to do it? Why respond at all if what you are saying isn't helpful

Instead of bullying me for asking an on-topic question you could have also given proper advice on whatever level you hold appropriate. It was for @projectmaster01 to advice how deep of an advice was required. Thank you.

Anyhow - and in spite of Projectmaster's thumbs down on my attempt of actually helping, here is what I typically do if I unintentially mess up my system over and again.

A. Identify to which commit you want to revert to 0. You should be able to look up the commit ID of your last known configuration through PNG info tab (however, I am not sure if the commit ID is captured in a1111 as feature or only done in SD.next)

  1. Otherwise, here is a list of available commits: https://github.com/AUTOMATIC1111/stable-diffusion-webui/commits/master
  2. You know which commit is NOT working anymore. Take the 7 digit commit-ID of the previous day or the day before. This is the commit we want to go back to

B. Revert system (backup your config files before doing this) open cmd switch to your repo path git checkout (insert your chosen commit-ID here) CAUTION: just the 7 digit code, not the parenthesis hit ENTER Then a couple of lines will appear with git resetting your repo to the chosen state.

and if anyone has better advice, please feel free to help him.

Given some of your previous comments I thought I was standing up to the bully - but no matter; apologies if I thought you were being facetious and good job on following up with something helpful!

Ainaemaet avatar Jul 08 '23 20:07 Ainaemaet

I get that you're frustrated with the current issue reporting method - but don't you think they wouldn't be asking if they knew how to do it? Why respond at all if what you are saying isn't helpful

Instead of bullying me for asking an on-topic question you could have also given proper advice on whatever level you hold appropriate. It was for @projectmaster01 to advice how deep of an advice was required. Thank you. Anyhow - and in spite of Projectmaster's thumbs down on my attempt of actually helping, here is what I typically do if I unintentially mess up my system over and again. A. Identify to which commit you want to revert to 0. You should be able to look up the commit ID of your last known configuration through PNG info tab (however, I am not sure if the commit ID is captured in a1111 as feature or only done in SD.next)

  1. Otherwise, here is a list of available commits: https://github.com/AUTOMATIC1111/stable-diffusion-webui/commits/master
  2. You know which commit is NOT working anymore. Take the 7 digit commit-ID of the previous day or the day before. This is the commit we want to go back to

B. Revert system (backup your config files before doing this) open cmd switch to your repo path git checkout (insert your chosen commit-ID here) CAUTION: just the 7 digit code, not the parenthesis hit ENTER Then a couple of lines will appear with git resetting your repo to the chosen state. and if anyone has better advice, please feel free to help him.

Given some of your previous comments I thought I was standing up to the bully - but no matter; apologies if I thought you were being facetious and good job on following up with something helpful!

Everything cool my friend :-)

TheOnlyHolyMoly avatar Jul 09 '23 17:07 TheOnlyHolyMoly

It's up to the extension authors to maintain compatibility with older versions or webui forks. Open an issue in the respective extension repos if the problem persists.

catboxanon avatar Aug 11 '23 17:08 catboxanon

are you familiar with "git checkout"?

This? but I don't know if there is any difference in Forge

image

It's installing a lot of things. image

Edu2014 avatar Aug 10 '24 23:08 Edu2014