hnmr293 / posex

Posex - Estimated Image Generator for Pose2Image
581 stars 72 forks source link

[Bug]: TypeError: Script.postprocess() takes from 3 to 5 positional arguments but 6 were given #18

Closed EmoryQ closed 1 year ago

EmoryQ commented 1 year ago

Currently, the Posex extension doesn't show up, even when I click the "Send this image to ControlNet." checkbox.

But, I get this error in the console after every image generation, even if Posex isn't activated.

Error running postprocess: C:\SD\AUTOMATIC1111\stable-diffusion-webui\extensions\posex\scripts\posex.py
Traceback (most recent call last):
  File "C:\SD\AUTOMATIC1111\stable-diffusion-webui\modules\scripts.py", line 404, in postprocess
    script.postprocess(p, processed, *script_args)
TypeError: Script.postprocess() takes from 3 to 5 positional arguments but 6 were given
hnmr293 commented 1 year ago

Thank you for yout feedback. Sorry, enbugged at 4ca2996. I've fixed it.

EmoryQ commented 1 year ago

Thanks, that fixed it for me too.