Closed bankenichi closed 6 months ago
Thanks for reporting.
I can't seem to re-create the issue you described:
Just to verify, did you try to load the pages in the same way that I did in the preview above?
I can't really think of anything that could cause this issue, since no one else has reported this before, and the code for page count insertion has remained the same for a long time. There's unfortunately not much I can do without more info/error logs :/
(The issue where it was unable to save the settings also shouldn't be able to affect this)
I get this issue as well, temp fix I did was, after initial only 15 images being shown, went back into setting for filter and changed to 99 images, and then it would show. I believe it has something to do with the update to 1.7.0 (which coincided when it started to take effect). Also noticed the not saving to the json file to set the default search. I think it has to do with the upgrade of gradio that they are using now. Side note, I use Automatic1111 using stability matrix, and although updated with a git pull in the webui-user.bat file stability matrix shows 1.6.0 but when running it shows as being 1.7.0 (strange problem). Here is what I get in console when I try to save default filter.
To create a public link, set share=True
in launch()
.
Applying attention optimization: xformers... done.
Startup time: 55.7s (prepare environment: 10.4s, import torch: 10.1s, import gradio: 1.5s, setup paths: 0.9s, initialize shared: 0.2s, other imports: 0.8s, setup codeformer: 0.2s, list SD models: 0.7s, load scripts: 13.4s, create ui: 11.6s, gradio launch: 3.1s, add APIs: 0.2s, app_started_callback: 2.3s).
Model loaded in 26.7s (load weights from disk: 2.1s, create model: 4.8s, apply weights to model: 6.8s, apply half(): 0.1s, load VAE: 0.5s, move model to device: 0.3s, load textual inversion embeddings: 11.5s, calculate empty prompt: 0.5s).
CivitAI Browser+: Cannot save settings, failed to open "<_io.TextIOWrapper name='D:\\AI\\Stability Matrix\\Data\\Packages\\Stable Diffusion WebUI\\ui-config.json' mode='r' encoding='cp1252'>"
Please try to manually repair the file or remove it to reset settings.
So maybe this might help with the problem mentioned above. BTW really tempted to do a fresh install of Automatic1111 skipping the stability matrix middleman.
Thanks for chipping in! @AbsolomTDaak
I'll look into the issue a bit further, I myself don't experience any issues with 1.7.0, but upon inspection I see that some issues could maybe arise from the way that I currently implement fetching and setting the tile_count.
It's pretty bodgie, I currently set it as a global variable, instead of fetching the value when it should be used, which should be a better and more robust approach, so I'll go and implement that to see if it helps fix the issue! :)
Thanks for listening. Keep up the great work. And have a good festive period and a happy new year.
I went and manually edited ui-config.json and set the tile count to 15, that seems to have gotten it unstuck, but it will still return the same error message if I try to save a different tile count as default from the webui.
Thanks for all your hard work.
Thanks for reporting.
I can't seem to re-create the issue you described:
Preview_tile.mp4 Just to verify, did you try to load the pages in the same way that I did in the preview above?
I can't really think of anything that could cause this issue, since no one else has reported this before, and the code for page count insertion has remained the same for a long time. There's unfortunately not much I can do without more info/error logs :/
(The issue where it was unable to save the settings also shouldn't be able to affect this)
I did follow those steps exactly the first time I noticed.
It seems that my defaults were set to 15 at some point and the extension wasn't able to update it from webui. I actually went and set it to 100 in the ui-config and closed and reopned a1111, it didn't work. I went back and set it to 15 and it started working, so when I change it in webui it will work for that session.
It will still not save the defaults tho.
Edit: Wish I could share more logs with you, but there isn't anything else in them.
The latest version (v3.2.0) should now hopefully fix the issues mentioned in this thread!
It looks like the error with saving the filter settings was caused by an incorrect encoding, so I've forced it to be "utf8", which should be what the ui-config.json is encoded in.
The tile count being incorrect should also hopefully be fixed now, since I've used a better method of providing the actual tile count to the API request!
Please let me know if you're still experiencing any issues! :)
Since there have been no updates in a while I will close this bug report. Please feel free to send another message here if the issue still exists! :)
Describe the bug.
Looks like tile count isnt working, it will only show 15 tiles per page no matter what it is actually set to.
Steps to reproduce the problem.
Expected behavior
Each page should show tiles equal to tile count
System info
Console logs