BlafKing / sd-civitai-browser-plus

Extension to access CivitAI via WebUI: download, delete, scan for updates, list installed models, assign tags, and boost downloads with multi-threading.
GNU Affero General Public License v3.0
309 stars 53 forks source link

[Bug]: Some models attempt to download the wrong file which inturrupts queue #180

Closed Vesperindustrial closed 8 months ago

Vesperindustrial commented 8 months ago

Describe the bug.

With lora https://civitai.com/models/273898 but happens on others, using the checkbox to add to the batch download queue, it appears to attempt to download a training data zip file which may or may not actually exist. Once this occurs it will then fail and seemingly interrupt the remainder of the queued downloads if there are any. Downloading using the one-at-a-time download model button for individual downloading works correctly.

EDIT: Doesn't seem to always fail the rest of the queue, but seems inconsistent whether or not it occurs

Steps to reproduce the problem.

  1. Go to https://civitai.com/models/273898
  2. Press checkbox to add to batch download
  3. Download will fail with the console logs provided in the following section
  4. any existing download queue will silently stop

Expected behavior

It shouldn't be downloading the training data, and/or there should be some kind of notification and should instead download the safetensors lora.

System info

Console logs

CivitAI Browser+: File: "308707_training_data.zip" not found on CivitAI servers, it looks like the file is not available for download.
CivitAI Browser+: Error occured during download of "308707_training_data.zip"

Additional information

No response

BlafKing commented 8 months ago

Thanks for reporting!

This ended up being caused by the the default file not getting properly assigned when multi downloading was used, which should now be fixed, I've also tried to implement a way to handle download failures better, but I'm still testing that so there might still be some issues, please feel free to post another message here if you encounter any more issues with it!

The errors should now be fixed in the latest version! :)