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

[Bug]: Error by upscalers: on_image_saved() missing 3 required positional arguments: 'p', 'fullfn', and 'txt_fullfn'

Open Centurion-Rome opened this issue 2 years ago • 1 comments

Is there an existing issue for this?

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

What happened?

Error while using upscalers from Extras tab

Steps to reproduce the problem

  1. Go to tab "Extras"
  2. Drop any image
  3. Selec one of upscalers (no matter which one)
  4. Pres "generate"
  5. See error:

Error executing callback before_image_saved_callback for F:!AI\StableDiffusion\stable-diffusion-webui\extensions\aesthetic-image-scorer\scripts\image_scorer.py Traceback (most recent call last): File "F:!AI\StableDiffusion\stable-diffusion-webui\modules\script_callbacks.py", line 74, in before_image_saved_callback c.callback(params) TypeError: on_image_saved() missing 3 required positional arguments: 'p', 'fullfn', and 'txt_fullfn'

Error executing callback image_saved_callback for F:!AI\StableDiffusion\stable-diffusion-webui\extensions\aesthetic-image-scorer\scripts\image_scorer.py Traceback (most recent call last): File "F:!AI\StableDiffusion\stable-diffusion-webui\modules\script_callbacks.py", line 82, in image_saved_callback c.callback(params) TypeError: on_image_saved() missing 3 required positional arguments: 'p', 'fullfn', and 'txt_fullfn'

What should have happened?

Image upscaled and no error thrown

Commit where the problem happens

737eb28faca8be2bb996ee0930ec77d1f7ebd939

What platforms do you use to access UI ?

Windows

What browsers do you use to access the UI ?

Google Chrome

Command Line Arguments

No response

Additional information, context and logs

No response

Centurion-Rome avatar Oct 26 '22 18:10 Centurion-Rome

Upstream issue related to the extension you have installed, not this repo. https://github.com/tsngo/stable-diffusion-webui-aesthetic-image-scorer Pull the latest commit from that repo and file a bug there instead if the issue persists.

ghost avatar Oct 26 '22 19:10 ghost