sunnyark/civitai-shortcut

FileExistsError: [WinError 183] Cannot create a file when that file already exists

Closed this issue · 2 comments

After updating , I did a re-scan models, and it gave me error message on the webui , checking the terminal message it gave me this :

FileExistsError: [WinError 183] Cannot create a file when that file already exists: 'D:\Stable Diffusion\stable-diffusion-webui\models\Stable-diffusion\vivcharmixEffectOf_v40.safetensors' -> 'models\Stable-diffusion\VivCharMix - Effect of transforming ACG characters into real-life people is outstanding\VivCharMix - Effect of transforming ACG characters into real-life people is outstanding-v4.0\vivcharmixEffectOf_v40.safetensors'
Civitai Shortcut: Get error code: 404: proceed to the next file

however, it did not resume the scanning , it just gave me error. and stopped.

I think I found the issue , it seems that this extension "Cozy-Nest" is the problem, I have disabled it , and it's working fine now. Thanks for making civitai-shortcut an amazing extension.

@uaewebmaster
It seems like there is an issue with the file already existing or the filename being too long. I will investigate it.
"Civitai Shortcut: Get error code: 404: proceed to the next file" is not an error message, but rather an informative message indicating that the file cannot be obtained from the Civitai site.