gallery-dl icon indicating copy to clipboard operation
gallery-dl copied to clipboard

[kemono] FileExistsError: [Errno 17] File exists

Open lancer-wang opened this issue 1 year ago • 4 comments

CompletedProcess(args='gallery-dl "https://kemono.su/fanbox/user/115051" ', returncode=132, 
stdout='\n', stderr="

[download][warning] FileExistsError: [Errno 17] File exists: './gallery-dl/kemonoparty/fanbox/115051/7576910_Movie | ひみつ_01_Himitsu1-2.zip.part'

[download][error] Failed to download 7576910_Movie | ひみつ_01_Himitsu1-2.zip\n[kemonoparty][error] Unable to download data:  FileExistsError: [Errno 17] File exists: './gallery-dl/kemonoparty/fanbox/115051/'\n")

image

and my download directory only has this file

lancer-wang avatar Mar 26 '24 09:03 lancer-wang

Is it because during the first attempt, the download was not completed and then the next retray started?

lancer-wang avatar Mar 26 '24 09:03 lancer-wang

image

stderr="[download][warning] FileExistsError: [Errno 17] File exists: './gallery-dl/kemonoparty/fanbox/115051/7576910_Movie | ひみつ_01_Himitsu1-1.zip.part'
[download][error] Failed to download 7576910_Movie | ひみつ_01_Himitsu1-1.zip
[download][warning] FileExistsError: [Errno 17] File exists: './gallery-dl/kemonoparty/fanbox/115051/7576910_Movie | ひみつ_02_Himitsu1-2.zip.part'
[download][error] Failed to download 7576910_Movie | ひみつ_02_Himitsu1-2.zip
[download][warning] FileExistsError: [Errno 17] File exists: './gallery-dl/kemonoparty/fanbox/115051/7576910_Movie | ひみつ_03_9G7chyD1YW3cOPqQWwWfH9Kz.jpg.part'
[download][error] Failed to download 7576910_Movie | ひみつ_03_9G7chyD1YW3cOPqQWwWfH9Kz.jpg
[kemonoparty][error] Unable to download data:  FileExistsError: [Errno 17] File exists: './gallery-dl/kemonoparty/fanbox/115051/

lancer-wang avatar Mar 26 '24 09:03 lancer-wang

(base) quinn@kuromi:~$ gallery-dl "https://wallhaven.cc/search?q=highschool%20of%20the%20dead&categories=110&purity=110&sorting=relevance&order=desc&ai_art_filter=1"
wallhaven: Unable to download data:  FileExistsError: [Errno 17] File exists: '/home/quinn/pool/workspace/Wallpapers/highschool/of/the/dead/sketchy/Highschool/of/the/Dead/Busujima/Saeko/katana/'
  • the folder is empty
  • I tried removing the katana folder, but it still happened.
  • I deleted .../Wallpapers/highschool/
  • I changed my conf so that it parses " " as "_" instead of "/"
  • I changed my conf so that output was "skip" true is now "enumerate"

it works

QuinnPiers avatar May 06 '24 21:05 QuinnPiers

(base) quinn@kuromi:~$ gallery-dl "https://wallhaven.cc/search?q=highschool%20of%20the%20dead&categories=110&purity=110&sorting=relevance&order=desc&ai_art_filter=1"
wallhaven: Unable to download data:  FileExistsError: [Errno 17] File exists: '/home/quinn/pool/workspace/Wallpapers/highschool/of/the/dead/sketchy/Highschool/of/the/Dead/Busujima/Saeko/katana/'
  • the folder is empty
  • I tried removing the katana folder, but it still happened.
  • I deleted .../Wallpapers/highschool/
  • I changed my conf so that it parses " " as "_" instead of "/"
  • I changed my conf so that output was "skip" true is now "enumerate"

it works

could you send your conf? I don't know how to change the config

lancer-wang avatar May 08 '24 07:05 lancer-wang