Comments (5)
Not really a bug imo.
You're reporting a timeout error, which is really just something caused by your connection or by the CivitAI servers.
When you include a model ID in the API request that no longer exists, then the API request still works fine and automatically excludes the missing model, partitioning the chunked models into smaller ones won't resolve that issue.
There might currently not be a retry function in place that retries when a request times out, which might help solve this issue so I'll look into that.
About the model not found prints being obnoxious, feel free to turn them off in the settings, or if you'd like to see different behavior regarding the prints, feel free to make a pull request as I personally like the current behavior of prints.
Closed for not being a bug.
from sd-civitai-browser-plus.
I am reporting a timeout error that happens at the same point every time which results in all of the other models (brand spanking new ones) not getting updated. So yes it IS a bug.
Or why would it miss several newly downloaded model.
Note that I download them externally from Civitai and not from the extension download tab since I find that too clunky to use effiecently and since it does not support tabbing(not that it could) for looking at models later. I usually scroll through about 50 models and open a bunch in tabs which I go through in batches.
But after going through your code I can see why some things work as they do. Rare to see that many 'if' statements nowadays.
from sd-civitai-browser-plus.
You're free to not use this extension if you don't like it :,)
It's my first python project, so yeah, the code is an absolute mess π§
Tried the URL you mentioned in the bug report, which is working fine for me which is why I assumed the extension to not inherently be at fault, of course the other behavior when it fails is far from ideal.
I'll try to experiment some more, but I assume the solution will be increasing the timeout time or retrying the URL if it times out instead of moving on after it fails once, which I'll implement if I have some free time to work on this extension again.
from sd-civitai-browser-plus.
Is this the option you meant. Cause that was off. The only other one I see is the one that disables model not found but that is in the browser options section. I get the timeout at API request 6 of 14.
My max downloads was set to 36. Changed to 32 and it worked. So something about that specific batch was the issue and looking at it, it might be some edge case of not being able to handle the modelid of the first one or something.
EDIT: Yup all previews updated. Either it was the thing I wrote above about edge case or I was rate limited by civitai.
from sd-civitai-browser-plus.
Good to know, thanks for the extra info.
I was indeed referring to the "model not found print" option in the browser options location, still trying to guess which setting should go in which category, so not exactly sure if it's current place is intuitiveπ
Also the Number of connections to use for downloading a model
option only applies to Aria2, which is only used for downloading the actual model itself, not for preview updates, so afaik changing that setting shouldn't affect the updating of any previews.
I'm assuming it might be a rate limit by CivitAI, or something else to do with CivitAI their servers taking longer than usual, so I'll implement some more checks regarding unresponsive servers, so that it either retries or waits a bit longer for a response ππ»
from sd-civitai-browser-plus.
Related Issues (20)
- [Bug or not?]: can't save image, when i use proxy(socks5://myproxyip:myproxyport). HOT 2
- [Bug]: activation text stopped working due to two json files HOT 2
- [Bug]: HOT 5
- [Bug]: extension only works the first time its intalled. HOT 2
- 471749[Bug]: Python module 'fake_useragent' has not been imported correctly, please try to restart or install it manually. HOT 2
- [Bug]: Some models not showing up in the search results HOT 2
- [Bug]: Drives other than C: break HOT 3
- [Bug]: Stopped working as intended HOT 3
- [Bug]: Every file processed HOT 1
- [Bug]: Search does not work after fresh install HOT 2
- [Bug]: Continually attempts to reinstall requirements 3X HOT 2
- [Bug]: Setting Custom save images location breaks Use local HTML file for model info when Use local images in the HTML is enabled.
- [Bug]: Extension silently overwrites models with the same filename. HOT 3
- [Bug]: AttributeError: 'Namespace' object has no attribute 'controlnet_dir' HOT 8
- [Bug]: Downloading all html despite unchecked HOT 3
- [Bug]: ModernUi of SDnext (missing Quicksettings)
- [Bug]: Updating tags still sends API and Saves for all despite unchecked HOT 1
- [Bug]: HOT 1
- [Bug]: Search result nth +1 tile is not displayed HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sd-civitai-browser-plus.