civitai / civitai-link-desktop

Manage your Civitai models for your Stable Diffusion Web UI models folder
16 stars 7 forks source link

Link 1.15.2 randomly closing or not responding #40

Closed Brennok closed 3 months ago

Brennok commented 4 months ago

I updated to 1.15.2 and everything appeared to be fine, but I found it randomly closed when I came back to my PC. During the initial start it did find a bunch of new models so subfolders does seem to be working.

I did restart it, but after a little bit it now shows as Not Responding. I had to quit it via the task manager since right click on the icon also did nothing. Civitai.com also showed no longer connected. Task manager showed activity along with my fans spinning up, but I let it sit for a good 20 minutes with no change.

I restarted it a third time so waiting to see what happens.

main.log

cmoody commented 3 months ago

Looks like some image downloads give a weird error thats not being caught correctly.

  message: '<No error message>',
  name: 'AggregateError',

Wondering if that causes the app to hang. Ive got a new library for downloading stuff I wanted to try to see if it resolves a few issues so Ill give it a whirl here and see what happens.

cmoody commented 3 months ago

@Brennok I tried a new way to download stuff and it didnt go well. I think there was something else that I fixed for this. 🤞 1.18.0 resolves the issue but will keep this open so we can watch out to see if it happens again.

Brennok commented 3 months ago

@cmoody This seems to be resolved as of 1.20. It does take a bit after a fresh launch, 30 minutes or so, before it switches to responding, but it just seems the model scanning during the initial startup is intensive and due to the number of models I have just takes some time.

cmoody commented 3 months ago

@Brennok Awesome! Im still thinking through some ways to make the fresh startup better and not block for users who have large libraries.