[GH-ISSUE #15] Some files end up having .part suffix after downloading #14

Closed
opened 2026-10-13 19:47:11 +00:00 by bsakaguchi · 8 comments
Owner

Originally created by @Shararamosh on GitHub (Jul 7, 2025).
Original GitHub issue: https://github.com/Yuvi9587/Kemono-Downloader/issues/15

Originally assigned to: @Yuvi9587 on GitHub.

I've already mentioned this issue in the previous one, but I've encountered it in new version too. Right now I am using version 5.6.0 and these are the part files that ended up in the folder for donburik:
Image

And here's the log chunk for one of these files (t2_0cd65e9c):

⬇️ Downloading (Single Stream): 't2.png' (Size: 2.72 MB if known) [Base Name: 't2.png']
     Applied numeric suffix in 'Donburik': 't1b_7.png' (was 't1b.png')
✅ Saved: 't1b_7.png' (from 't1b.png', 2.26 MB) in 'Donburik'
   Post 64552635 Summary: Downloaded=2, Skipped Files=1
   Applying creator download specific folder ignore words (57 words).

--- Processing Post 63979429 ('Stocking NSFW...') (Thread: PostWorker__4) ---
   -> Skip Duplicate Original Name (within post 63979429): 't2.png' already processed/listed for this post.
   Identified 1 unique original file(s) for potential download from post 63979429.
⬇️ Downloading (Single Stream): 't1.png' (Size: 2.71 MB if known) [Base Name: 't1.png']
     Applied numeric suffix in 'Donburik': 't2_191.png' (was 't2.png')
     Applied numeric suffix in 'Donburik': 't2_191.png' (was 't2.png')
✅ Saved: 't2_191.png' (from 't2.png', 2.72 MB) in 'Donburik'
->>Save Fail for 't2_191.png': [WinError 183] Невозможно создать файл, так как он уже существует: 'E:\\Donburik\\t2_0cd65e9c.png.part' -> 'E:\\Donburik\\t2_191.png'

WinError text translates to "Can't create file, because it already exists".

Originally created by @Shararamosh on GitHub (Jul 7, 2025). Original GitHub issue: https://github.com/Yuvi9587/Kemono-Downloader/issues/15 Originally assigned to: @Yuvi9587 on GitHub. I've already mentioned this issue in the previous one, but I've encountered it in new version too. Right now I am using version 5.6.0 and these are the part files that ended up in the folder for donburik: ![Image](https://github.com/user-attachments/assets/2b5a2869-f1c7-489b-b1d8-588931020cfe) And here's the log chunk for one of these files (t2_0cd65e9c): ``` ⬇️ Downloading (Single Stream): 't2.png' (Size: 2.72 MB if known) [Base Name: 't2.png'] Applied numeric suffix in 'Donburik': 't1b_7.png' (was 't1b.png') ✅ Saved: 't1b_7.png' (from 't1b.png', 2.26 MB) in 'Donburik' Post 64552635 Summary: Downloaded=2, Skipped Files=1 Applying creator download specific folder ignore words (57 words). --- Processing Post 63979429 ('Stocking NSFW...') (Thread: PostWorker__4) --- -> Skip Duplicate Original Name (within post 63979429): 't2.png' already processed/listed for this post. Identified 1 unique original file(s) for potential download from post 63979429. ⬇️ Downloading (Single Stream): 't1.png' (Size: 2.71 MB if known) [Base Name: 't1.png'] Applied numeric suffix in 'Donburik': 't2_191.png' (was 't2.png') Applied numeric suffix in 'Donburik': 't2_191.png' (was 't2.png') ✅ Saved: 't2_191.png' (from 't2.png', 2.72 MB) in 'Donburik' ->>Save Fail for 't2_191.png': [WinError 183] Невозможно создать файл, так как он уже существует: 'E:\\Donburik\\t2_0cd65e9c.png.part' -> 'E:\\Donburik\\t2_191.png' ``` WinError text translates to "Can't create file, because it already exists".
Author
Owner

@Yuvi9587 commented on GitHub (Jul 7, 2025):

I added a function that always checks the file name after the download is finished, and if it finds a .part extension or any other file name issue, it fixes it; I tested it and it worked, but I’ll check again and for now just remove the .part from the file—regarding the error "Save Fail for 't2_191.png': [WinError 183] Невозможно создать файл, так как он уже существует: 'E:\Donburik\t2_0cd65e9c.png.part' -> 'E:\Donburik\t2_191.png', does this mean t2_191.png already exists, and is the error related to a unique file you want to download?"

<!-- gh-comment-id:3045870948 --> @Yuvi9587 commented on GitHub (Jul 7, 2025): I added a function that always checks the file name after the download is finished, and if it finds a .part extension or any other file name issue, it fixes it; I tested it and it worked, but I’ll check again and for now just remove the .part from the file—regarding the error "Save Fail for 't2_191.png': [WinError 183] Невозможно создать файл, так как он уже существует: 'E:\Donburik\t2_0cd65e9c.png.part' -> 'E:\Donburik\t2_191.png', does this mean t2_191.png already exists, and is the error related to a unique file you want to download?"
Author
Owner

@Shararamosh commented on GitHub (Jul 7, 2025):

Yes, t2_191.png already exists. This artist had all of post images named t1, t2, etc., which is why the suffix became like this. I have a guess that maybe because there were several files named t2.png downloading at the same time, it tried adding same suffix to both of them, but only saved one - the other just resulted WinError and file remained with its original name.

<!-- gh-comment-id:3045891937 --> @Shararamosh commented on GitHub (Jul 7, 2025): Yes, t2_191.png already exists. This artist had all of post images named t1, t2, etc., which is why the suffix became like this. I have a guess that maybe because there were several files named t2.png downloading at the same time, it tried adding same suffix to both of them, but only saved one - the other just resulted WinError and file remained with its original name.
Author
Owner

@Yuvi9587 commented on GitHub (Jul 7, 2025):

If they are unique and being skipped, you can use the manga/comic mode to rename them to either their "Post ID" or "Date + Title" for now.

<!-- gh-comment-id:3045893817 --> @Yuvi9587 commented on GitHub (Jul 7, 2025): If they are unique and being skipped, you can use the manga/comic mode to rename them to either their "Post ID" or "Date + Title" for now.
Author
Owner

@Yuvi9587 commented on GitHub (Jul 7, 2025):

Yes, t2_191.png already exists. This artist had all of post images named t1, t2, etc., which is why the suffix became like this. I have a guess that maybe because there were several files named t2.png downloading at the same time, it tried adding same suffix to both of them, but only saved one - the other just resulted WinError and file remained with its original name.

and yes your guess is right

<!-- gh-comment-id:3045900157 --> @Yuvi9587 commented on GitHub (Jul 7, 2025): > Yes, t2_191.png already exists. This artist had all of post images named t1, t2, etc., which is why the suffix became like this. I have a guess that maybe because there were several files named t2.png downloading at the same time, it tried adding same suffix to both of them, but only saved one - the other just resulted WinError and file remained with its original name. and yes your guess is right
Author
Owner

@Shararamosh commented on GitHub (Jul 7, 2025):

Do I need to have anything else checked to allow checking "Manga/Comic Mode"? It doesn't allow me to check it.

<!-- gh-comment-id:3045909159 --> @Shararamosh commented on GitHub (Jul 7, 2025): Do I need to have anything else checked to allow checking "Manga/Comic Mode"? It doesn't allow me to check it.
Author
Owner

@Yuvi9587 commented on GitHub (Jul 7, 2025):

You need to have a creator link or a creator selected to use it. It doesn't work for single post downloads.

<!-- gh-comment-id:3045915297 --> @Yuvi9587 commented on GitHub (Jul 7, 2025): You need to have a creator link or a creator selected to use it. It doesn't work for single post downloads.
Author
Owner

@Yuvi9587 commented on GitHub (Jul 7, 2025):

and on top of progress log there will be a scope button which cycle through 6 mods "Title + G.num" and "Date based" will use the single thread download

<!-- gh-comment-id:3045918309 --> @Yuvi9587 commented on GitHub (Jul 7, 2025): and on top of progress log there will be a scope button which cycle through 6 mods "Title + G.num" and "Date based" will use the single thread download
Author
Owner

@Yuvi9587 commented on GitHub (Jul 11, 2025):

i Fixed the .part issue now in v6.0.0 the files will not be saved with .part extension

<!-- gh-comment-id:3062913930 --> @Yuvi9587 commented on GitHub (Jul 11, 2025): i Fixed the .part issue now in v6.0.0 the files will not be saved with .part extension
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Yuvi9587/Kemono-Downloader#14
No description provided.