Kilvoctu / aiyabot

A neat Discord bot for AUTOMATIC1111's Web UI
GNU General Public License v2.0
305 stars 79 forks source link

Buttons stop working after using them #267

Open wilburforce666 opened 2 months ago

wilburforce666 commented 2 months ago

Describe the bug
Bug where pressing any button works for first gen, but any future gens made from that original image (pressing dice or pen etc) gives error “I may have restarted” even though the bot hasn't restarted at all. Used to work fine

Environment

Console logs
No error

wizz13150 commented 2 months ago

Hey,

Not sure what your problem is. You seems to have several. Did you edit the code !?

To get this, you need to process, somehow, a 'broken view'. I don't think anyone is experiencing this. So it would be nice, at this point, to start from scratch with a complete fresh install. Be sure to run the correct python version. Something went wrong, but it seems to be in your end.

Cheers ! 🥂

wilburforce666 commented 2 months ago

Hey, the funny thing is this was created after I had ported the channel settings file from my old server to a new one. And I redownloaded it during this process, but I will try again, with no settings being copied over this time

wizz13150 commented 2 months ago

This make sense, indeed.

It's probably related to the Sampler line if using the WebUI v1.9, as they introduced the Schedule Types. For now, you'll need to use a Sampler name as available in the webui. I don't remember he recently added any other line to the settings.

Cheers ! 🥂

wilburforce666 commented 2 months ago

This is nothing to do with sampler im pretty sure, I've already encountered the sampler issue causing errors and have fixed already in settings, they generate fine.

The issue is the buttons break after the first gen made with them

wizz13150 commented 2 months ago

Hmm, then no idea.

It's related to the context or the view, but i never experienced this. :/

wilburforce666 commented 2 months ago

Okay, so a fresh install didn't help. What did however was downgrading to an earlier commit 8ee436d05b253f906416073d0c7bc52d0d581dd1 to be precise.

So I think something else has gone wrong

wilburforce666 commented 2 months ago

What python version should I be targetting? Im on 3.11, and it works completely fine with older commits but having the buttons stop working on newer ones