Kahsolt/stable-diffusion-webui-prompt-travel

TypeError: Script.extra_networks_deactivate() missing 1 required positional argument: 'extra_network_data'

chchan585 opened this issue · 0 comments

When running under Frame genesis = embryo, it will prompt this error when it is alomst finish:

Traceback (most recent call last): File "C:\Users\aaaa\stable-diffusion-webui\modules\call_queue.py", line 57, in f res = list(func(*args, **kwargs)) File "C:\Users\aaaa\stable-diffusion-webui\modules\call_queue.py", line 37, in f res = func(*args, **kwargs) File "C:\Users\aaaa\stable-diffusion-webui\modules\txt2img.py", line 53, in txt2img processed = modules.scripts.scripts_txt2img.run(p, *args) File "C:\Users\aaaa\stable-diffusion-webui\modules\scripts.py", line 407, in run processed = script.run(p, *script_args) File "C:\Users\aaaa\stable-diffusion-webui\extensions\stable-diffusion-webui-prompt-travel\scripts\prompt_travel.py", line 766, in run images, info = runner(p) File "C:\Users\aaaa\stable-diffusion-webui\extensions\stable-diffusion-webui-prompt-travel\scripts\prompt_travel.py", line 792, in run_linear return self.run_linear_embryo(p) File "C:\Users\aaaa\stable-diffusion-webui\extensions\stable-diffusion-webui-prompt-travel\scripts\prompt_travel.py", line 926, in run_linear_embryo self.extra_networks_deactivate(from_extra_network_data) TypeError: Script.extra_networks_deactivate() missing 1 required positional argument: 'extra_network_data'

I suspect the StableDiffusionProcessing p is missed in prompt_travel.py Ln926 and Ln 927?

self.extra_networks_deactivate(from_extra_network_data)

Adding a 'p' works in my case:

self.extra_networks_deactivate(p, from_extra_network_data)