SenshiSentou / sd-webui-state-manager

A state manager to quickly save and return to previous configs in A1111
MIT License
55 stars 6 forks source link

causes 'generate' button to stop working #11

Open vis223 opened 5 months ago

vis223 commented 5 months ago

After trying everything I narrowed it down to your extension. I've tried uninstall, using beta. clearing DB but I still can't get generate button to work. I have to use agent schedule instead. I had a bunch of errors in the console which I cleared but after trying agaiñ I get the message below. I love this extension and where it could go in the future so I hope this is easy to sort out.

statemanager.js?1711286597.1118207:862 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'hash') at sm.getCurrentState (statemanager.js?1711286597.1118207:862:55) at submit (statemanager.js?1711286597.1118207:326:41) at Object.eval [as frontend_fn] (eval at (Blocks.svelte:68:25), :3:28) at we (Blocks.svelte:366:6)

vis223 commented 5 months ago

After a reboot I get, 9,000 errors. I wasn't sure how to get the log but I had 8 sections so I got them all in case this is useful. I was on the beta branch previously but it seems your focus is perobably now on the main so I switched to that. In case this is relevant.

state_manager_logs.zip

vis223 commented 5 months ago

After going through this link I realized my ad blocker conflicted and was able to generate one image but sadly no more. After that I got the 'no previous state' error message. I didn't quite understand the console scripting part and was completely lost by the 4 tabs reference though I'm guessing that's a very specific case. I've reinstalled dozens of times and deleted databases, reverted to previous states and gone back to version 2 beta and version 1, both of which did work previously. I've worked on it for 3 days solid and my only conclusion has been that when installed I can only generate images through Agent scheduler and when uninstalled everything is fine. Please take from this the compliment of how badly I want this to work because it is by far the most useful extension I've come across and promises to save me the tedium of repeating the same settings in xyz and dynamic threshold fix over and over. To this point, could you please consider adding 'presets' for extensions and options to your 'to do' list. As it stands you're almost there in the way you've broken down the various tabs for the various settings. I just wish there was a way to make presets of them separately or as a saved state regardless of image. Kind of like opening a VST instrument without needing to find the track it's used on. I hope that makes sense. Sadly, for now I have to uninstall as it's driving me mad that I don't have the knowledge to get it working but I will be counting the days until your next update in the hope that this fixes it. Please keep up the good work and unless it's something obvious there's no need to troubleshoot my issue. Your time is better spent on future updates. I will be checking every day as I can't wait to get this working again.