Manga-Tagger icon indicating copy to clipboard operation
Manga-Tagger copied to clipboard

[ISSUE] Tagger keeps deleting chapters when found it already processed whether they are empty or not

Open neopet001 opened this issue 2 years ago • 0 comments

OS: Linux

Manga Tagger Version: Alpha

Description of the issue: FMD first download a series of 20 chapters, manga tagger done its job! But when I check it, 5 of 20 chapters are only 1KB/each, the problem begins here. Let's bypass the possibility of early tagging when FMD had not finished downloading but tagger does its job since I move the folder manually, the issue is when I try downloading the proper 5 chapters manually, FMD did the job well, then when I move into Manga Tagger's watch folder, it deleted all those chapters, logs showed: 2021-08-05 08:47:25,981 | MTT-7 23078092954424 | MangaTaggerLib.MangaTaggerLib | WARNING - No changes have been found for "Shiroi Majo 007.cbz"; file currently being processed will be deleted

So in the cases where FMD fails its job, how can we tell the Tagger to do it again? I think there's no meaning in deleting old chapters when Tagger sees them inside watch folder, just do its job, people might want to use better translation or verion!

Manga Series: Shiroi Majo

Screenshots (If applicable): Only logs as above.

Log File: Traceback (most recent call last): File "/app/Manga-Tagger/MangaTaggerLib/MangaTaggerLib.py", line 422, in metadata_tagger rename_action(file_path, new_file_path, series_title, manga_chapter_number, logging_info) File "/app/Manga-Tagger/MangaTaggerLib/MangaTaggerLib.py", line 217, in rename_action raise FileAlreadyProcessedError(current_file_path.name) MangaTaggerLib.errors.FileAlreadyProcessedError: "Shiroi majo -.- Shiroi majo Chap 009.cbz" has already been processed by Manga Tagger; skipping 2021-08-05 08:47:24,881 | MTT-4 23078096321336 | MangaTaggerLib.MangaTaggerLib | INFO - Deleting /downloads/Shiroi majo... 2021-08-05 08:47:24,881 | MTT-4 23078096321336 | MangaTaggerLib.MangaTaggerLib | INFO - Deleting /downloads/Shiroi majo... 2021-08-05 08:47:24,882 | MTT-4 23078096321336 | MangaTaggerLib.MangaTaggerLib | INFO - Error: /downloads/Shiroi majo : Directory not empty

2021-08-05 08:47:24,956 | MTT-5 23078095199032 | MangaTaggerLib.MangaTaggerLib | INFO - Checking for current and previously processed files with filename "Shiroi Majo 006.cbz"... 2021-08-05 08:47:24,957 | MTT-5 23078095199032 | MangaTaggerLib.MangaTaggerLib | INFO - No files currently currently being processed under the filename "Shiroi Majo 006.cbz". Locking new filename for processing... 2021-08-05 08:47:24,959 | MTT-5 23078095199032 | MangaTaggerLib.MangaTaggerLib | WARNING - No changes have been found for "Shiroi Majo 006.cbz"; file currently being processed will be deleted

2021-08-05 08:47:24,961 | MTT-5 23078095199032 | MangaTaggerLib.MangaTaggerLib | ERROR - "Shiroi majo -.- Shiroi majo Chap 006.cbz" has already been processed by Manga Tagger; skipping

Traceback (most recent call last): File "/app/Manga-Tagger/MangaTaggerLib/MangaTaggerLib.py", line 422, in metadata_tagger rename_action(file_path, new_file_path, series_title, manga_chapter_number, logging_info) File "/app/Manga-Tagger/MangaTaggerLib/MangaTaggerLib.py", line 217, in rename_action raise FileAlreadyProcessedError(current_file_path.name) MangaTaggerLib.errors.FileAlreadyProcessedError: "Shiroi majo -.- Shiroi majo Chap 006.cbz" has already been processed by Manga Tagger; skipping 2021-08-05 08:47:24,962 | MTT-5 23078095199032 | MangaTaggerLib.MangaTaggerLib | INFO - Deleting /downloads/Shiroi majo... 2021-08-05 08:47:24,962 | MTT-5 23078095199032 | MangaTaggerLib.MangaTaggerLib | INFO - Deleting /downloads/Shiroi majo... 2021-08-05 08:47:24,963 | MTT-5 23078095199032 | MangaTaggerLib.MangaTaggerLib | INFO - Error: /downloads/Shiroi majo : Directory not empty

2021-08-05 08:47:25,978 | MTT-7 23078092954424 | MangaTaggerLib.MangaTaggerLib | INFO - Checking for current and previously processed files with filename "Shiroi Majo 007.cbz"... 2021-08-05 08:47:25,979 | MTT-7 23078092954424 | MangaTaggerLib.MangaTaggerLib | INFO - No files currently currently being processed under the filename "Shiroi Majo 007.cbz". Locking new filename for processing... 2021-08-05 08:47:25,981 | MTT-7 23078092954424 | MangaTaggerLib.MangaTaggerLib | WARNING - No changes have been found for "Shiroi Majo 007.cbz"; file currently being processed will be deleted

2021-08-05 08:47:25,983 | MTT-7 23078092954424 | MangaTaggerLib.MangaTaggerLib | ERROR - "Shiroi majo -.- Shiroi majo Chap 007.cbz" has already been processed by Manga Tagger; skipping

Traceback (most recent call last): File "/app/Manga-Tagger/MangaTaggerLib/MangaTaggerLib.py", line 422, in metadata_tagger rename_action(file_path, new_file_path, series_title, manga_chapter_number, logging_info) File "/app/Manga-Tagger/MangaTaggerLib/MangaTaggerLib.py", line 217, in rename_action raise FileAlreadyProcessedError(current_file_path.name) MangaTaggerLib.errors.FileAlreadyProcessedError: "Shiroi majo -.- Shiroi majo Chap 007.cbz" has already been processed by Manga Tagger; skipping 2021-08-05 08:47:25,983 | MTT-7 23078092954424 | MangaTaggerLib.MangaTaggerLib | INFO - Deleting /downloads/Shiroi majo... 2021-08-05 08:47:25,984 | MTT-7 23078092954424 | MangaTaggerLib.MangaTaggerLib | INFO - Deleting /downloads/Shiroi majo...

neopet001 avatar Aug 05 '21 07:08 neopet001