[Bug]: API image generation returns errors in console with some alwayson_scripts #8666
Closed
1 task done
Labels
bug-report
Report of a bug, yet to be confirmed
Is there an existing issue for this?
What happened?
webUI's console suddenly started returning errors unexpectedly when using
/sdapi/v1/txt2img
or../img2img
calls such as the following (for my base install):i made a few local changes to both
modules/api/api.py
andmodules/scripts.py
to determine where this was occurring, and it seems to bescripts.py:409
just simply running every script that has a visible UI element whether or not it was declared by way of addingin
api.py:216-217
, as well as a simpleprint(script)
inscripts.py:407
i installed a clean instance of webUI, added
--api
to commandline args, installed the aesthetic gradients extension, and confirmed via simple http://127.0.0.1:7860/docs POST test to the txt2img endpoint.reverting to commit 94ffa9f prevents the issue from occurring
Steps to reproduce the problem
--api
commandline arg and install aesthetic gradients extension (for example)POST sdapi/v1/txt2img
, open it, click "try it out"What should have happened?
preferably, no errors would be encountered and the console just chugs along without running scripts not defined in the request, but i suppose "always on" might be a hint there
Commit where the problem happens
2174f58
What platforms do you use to access the UI ?
Windows
What browsers do you use to access the UI ?
Mozilla Firefox
Command Line Arguments
List of extensions
Console logs
(collected via commit 2174f58)
Additional information
don't mean to be that guy who asks someone specific for help, but @Vespinian? seems you might be the one to pester unfortunately
The text was updated successfully, but these errors were encountered: