Closed f-rank closed 1 year ago
Exact same problem for me, after updating today. Was working fine 12 hours ago. I update on launch so the error has been introduced in the last 12 hours.
First I disabled all Extentions but that solved nothing. Then deleted Venv folder and that also solved nothing. Same error occurs no matter what. Can't generate an image in Txt2Img, or Img2Img without seeing this 'TypeError: hijacked_get_learned_conditioning() takes 3 positional arguments but 5 were given' error.
Seems like a recent update has broken something.
Console Output: Error completing request Arguments: ('task(44zocwmaka87agd)', 'dog', '', [], 20, 'Euler a', 1, 1, 7, 512, 512, False, 0.7, 2, 'Latent', 0, 0, 0, 'Use same checkpoint', 'Use same sampler', '', '', [], <gradio.routes.Request object at 0x000002016E14D1E0>, 0, False, '', 0.8, -1, False, -1, 0, 0, 0, '', False, False, 'positive', 'comma', 0, False, False, '', 1, '', [], 0, '', [], 0, '', [], True, False, False, False, 0, False) {} Traceback (most recent call last): File "D:\Data\StableDiffusion15\stable-diffusion-webui\modules\call_queue.py", line 57, in f res = list(func(*args, *kwargs)) File "D:\Data\StableDiffusion15\stable-diffusion-webui\modules\call_queue.py", line 36, in f res = func(args, **kwargs) File "D:\Data\StableDiffusion15\stable-diffusion-webui\modules\txt2img.py", line 55, in txt2img processed = processing.process_images(p) File "D:\Data\StableDiffusion15\stable-diffusion-webui\modules\processing.py", line 732, in process_images res = process_images_inner(p) File "D:\Data\StableDiffusion15\stable-diffusion-webui\modules\processing.py", line 856, in process_images_inner p.setup_conds() File "D:\Data\StableDiffusion15\stable-diffusion-webui\modules\processing.py", line 1309, in setup_conds super().setup_conds() File "D:\Data\StableDiffusion15\stable-diffusion-webui\modules\processing.py", line 469, in setup_conds self.uc = self.get_conds_with_caching(prompt_parser.get_learned_conditioning, negative_prompts, total_steps, [self.cached_uc], self.extra_network_data) File "D:\Data\StableDiffusion15\stable-diffusion-webui\modules\processing.py", line 455, in get_conds_with_caching cache[1] = function(shared.sd_model, required_prompts, steps, hires_steps, shared.opts.use_old_scheduling) TypeError: hijacked_get_learned_conditioning() takes 3 positional arguments but 5 were given
Try removing the prompt_blending.py
script from your scripts
folder. That script is not part of the webui and hasn't been updated in quite a long time.
Thanks for the fast response. That solved it. Thank you so much.
Is there an existing issue for this?
What happened?
Updated to 1.6, hitting Generate throws in console. Unchecked extensions but it kept happening.
Steps to reproduce the problem
What should have happened?
a generation
Sysinfo
sysinfo-2023-08-31-12-38.txt
What browsers do you use to access the UI ?
Microsoft Edge
Console logs
Additional information
No response