Closed wcde closed 1 year ago
Ah I thought I could rely on component creation order when creating the ui. I'll make it so that order does not matter.
Pushed a fix, let me know if the problem persists.
Still same error on startup. But now webui doesn't crash.
I tested on the dev branch and I'm unable to reproduce. I think for some reason the components with elem_id="{tab}_steps"
are not caught by the on_before_component
callback. Maybe an extension messing with stuff?
Disabling all extensions does not help. I did some testing and it looks like some combination of webui settings is causing the error. It's hard to say what exactly, but clean config does not cause errors.
Is it related to one of these options?
Yes, error if ui_reorder
non-default.
My bad, callback should be called on after component, not before. Should be fixed now.
Not working with dev branch Auto1111. At webui start get this:
After opening web-interface, Auto1111 crashes with this:
Without calling
schedule_infotext.change()
it works fine. Passedsteps_component
is None.