-
-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG]: Indexing does not finish (desktop application) #478
Comments
Thanks for getting back. Edit: I checked the amount of the two folders I use. One has 8800 images, the other, 14920. |
Can you try updating to version 0.7.0 and see if this issue is resolved? |
Thanks for the update. Unfortunately, it's still says "An error occurred". Rebuild image index -> Start Plus, now my ESET Internet Security believes that iib_api_server.exe is a variant of Python/PSW.Agent_AGen.R Trojaner |
I will add some loggers in the future to make debugging more convenient
dot't worry. see #47 (comment) |
This would be helpful, thanks.
Yeah, I just wanted to point this out, I didn't believe it anyway. 😅 |
@zanllp |
You can try backing up the iib.db file first, then delete the iib.db file to allow IIB to generate a new index file. If any unexpected issues occur, you can restore the backed-up file. After deleting the iib.db file, make sure to restart the software for the changes to take effect. |
Firstly, IIB is capable of running independently. Reading the sd-webui folder is for the purpose of data sharing; if you don't have sd-webui, you can simply ignore this step. Then, you don't necessarily need to 'rebuild index'; it's meant to remove some tags that haven't been indexed, which is usually not required. If you can search normally, there's no need to use this feature. Indeed, the error messages are not sufficient, and we plan to enhance them in future updates. |
Remove iib.db -> Restart IIB -> Go to the image page and wait for the image index to be generated (do not go directly to the global settings page to rebuild the index). |
Actually, I have A1111 and also SD:Next. Still I have no clue, what folder could be meant.
That is now the question for me: Isn't indexing the base for searching? Indexing, in the sense of gathering all the found images' informations to be able to search efficiently? 🤔 Anyway, I tried your suggestion and now I have 50% success. This folder is ~19GB in size and has 8799 files in 577 folders (inclusive subfolders). Any suggestions on that, please? 🤔 |
Generating an index is a prerequisite for searching, but when you activate the search function, IIB will determine whether to update the index based on the modification dates of the folders. It then performs an incremental update on the index, and this process doesn't require your intervention. I suggest you temporarily forget about the "rebuild index" functionality. |
Alright, I can do that. |
How about you give it a try using the method mentioned above first? In a while, I will compile a new version with log. |
Thanks, but I get a 404 not found when clicking the link ... 🤔 |
Thanks, that worked now. Her is the content of the log after I installed and run it trying to search the folder: 2023-12-29 10:34:52,410 - scripts.iib.logger - INFO - Received request: GET http://127.0.0.1:60970/infinite_image_browsing/global_setting |
Many thanks for this update, it seems to work now. |
I tried the desktop variant of this repo and when it comes to indexing, it "works" but it stays at "Confirm rebuilding image index?" and never finishes.
Any suggestions? 🤔
The text was updated successfully, but these errors were encountered: