stable-diffusion-webui icon indicating copy to clipboard operation
stable-diffusion-webui copied to clipboard

Protovision script - It doesn't download links containing spaces

Open Avaray opened this issue 1 year ago • 2 comments

Closing the link in apostrophes, I thought the download manager would handle spaces, but it doesn't. So I changed spaces to %20 symbols. It didn't help.

Example Lora links that won't be downloaded:

'https://huggingface.co/datasets/AddictiveFuture/sdxl-pony-models-backup/resolve/main/LORA/Line Art Style LoRA XL.safetensors'
'https://huggingface.co/datasets/AddictiveFuture/sdxl-pony-models-backup/resolve/main/LORA/Line%20Art%20Style%20LoRA%20XL.safetensors'

Avaray avatar May 11 '24 06:05 Avaray

Will fix this asap. Thanks!

robballantyne avatar May 11 '24 19:05 robballantyne

Will fix this asap. Thanks!

I just checked Privisioning script and I see it is using wget to download models. I use wget to manually download models and I don't have any issues then. Theoretically, wget should work properly in the script, but it doesn't :D

Variables in script seems to be quoted properly.

hmmm.... My assumptions:

  • Old wget version?
  • Script is not using proper BASH (check shebang?)

Avaray avatar May 23 '24 07:05 Avaray