zixaphir / Stable-Diffusion-Webui-Civitai-Helper

Stable Diffusion Webui Extension for Civitai, to manage your model much more easily.
175 stars 24 forks source link

Bug: All downloads fail #74

Closed WeirdScienceX closed 1 month ago

WeirdScienceX commented 5 months ago

No matter what model I try to update, it fails. This only started recently.

Manually, using the link from the log, the browser starts downloading the model with no issue.

A111 is full up to date: https://github.com/AUTOMATIC1111/stable-diffusion-webui/commit/cf2772fab0af5573da775e7437e6acdca424f26e

`Civitai Helper: model_path: C:\AI\stable-diffusion-webui\models\Stable-diffusion\dynavisionXLAllInOneStylized_release0557Bakedvae.safetensors

Civitai Helper: version_id: 297740

Civitai Helper: download_url: https://civitai.com/api/download/models/297740

Civitai Helper: Start downloading from: https://civitai.com/api/download/models/297740

Civitai Helper: Can not get file name from download url's header

Civitai Helper: Could not get a file_path to place saved file.

Civitai Helper: Start dl_model_new_version

Civitai Helper: Start parse js msg

Civitai Helper: End parse js msg

Civitai Helper: model_path: C:\AI\stable-diffusion-webui\models\Stable-diffusion\turbovisionxlSuperFastXLBasedOnNew_tvxlV32Bakedvae.safetensors

Civitai Helper: version_id: 273102

Civitai Helper: download_url: https://civitai.com/api/download/models/273102

Civitai Helper: Start downloading from: https://civitai.com/api/download/models/273102

Civitai Helper: Can not get file name from download url's header

Civitai Helper: Could not get a file_path to place saved file.`

simonmcnair commented 5 months ago

I find the downloads normally fail when you commence generation, or click on other aspects of the GUI

PaulBrousseau commented 4 months ago

I suspoect this is related to tCivitai Helper not being logged into the website??? Some models will download but others that I know are set to require login before download will not and this was a problem on teh previous fork returning an API key error.

Is there a way to fix ths in the helper or did the "feature" on the website permanently screw us over ?

Alexkill536ITA commented 2 months ago

I am experiencing the same problem. I have configured the API Token correctly. I confirm that it only makes some Models/Lora download.

the thing that doesn't make sense to me is that if I'm the one giving him the link in the "Download Model" section he can download them without any problem. I have a doubt that the part that deals with the fech of the links in the upload Model section has a bug. when he passes the link to the download function it doesn't get to him as in the "Download Model" section is giving error.

f3l1x98 commented 2 months ago

I have opened a pull request that fixes the issue. The issue was that the download new version does not pass the api key to the download request.

zixaphir commented 1 month ago

This has been fixed for a couple versions now. Sorry for not updating this issue

flamesky80 commented 1 month ago

你好。我使用秋叶的SD WEBUI: 远端地址:https://gitcode.net/overbill1683/stable-diffusion-webui 安装了您的civitai helper,然后无论是使用最新版本 1.8.7,还是切换到1.8.6,进行ckp、lora更新时,仍然会出现这个错误“Could not get a file_path to place saved file.”,以至于无法进行正常的更新。