Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] "'NoneType' object is not subscriptable" #51

Open
CubeyGlyph opened this issue May 9, 2024 · 0 comments
Open

[BUG] "'NoneType' object is not subscriptable" #51

CubeyGlyph opened this issue May 9, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@CubeyGlyph
Copy link

OS: What operating system are you running Manga Tagger on?
Docker on Linux

Manga Tagger Version: What version of Manga Tagger are you running?
latest and nightly from https://hub.docker.com/r/banhcanh/manga-tagger

Description of the issue: Give a a clear and concise description of what the issue is.
files dropped from fmd2 into the input folder are recognized and formatted correctly. Manga Tagger renames them then displays this message:

2024-05-09 17:15:39,410 | Thread-1 140234709678904 | MangaTaggerLib.task_queue.SeriesHandler | INFO - Moved event for "/downloads/Berserk/Vol. 03 Ch. 000.06 - The Guardians of Desire (4) (LQ).cbz" will be added to the queue

After that nothing happens. Hours go by and the file is never tagged, and never moved to the destination folder.
If I restart it sees the renamed files on the restart and indicastes the format is wrong, but it is in the format that Manga Tagger renamed it to, so not sure why it doesn't recognize the file it created, but maybe that is part of the problem.

2024-05-09 17:25:45,361 | MTT-6 139665536940856 | MangaTaggerLib.MangaTaggerLib | ERROR - Unable to parse filename "Vol. 01 Ch. 000.03 - The Guardians of Desire (1).cbz" due to delimiter "-.-" missing
Traceback (most recent call last):
  File "/app/Manga-Tagger/MangaTaggerLib/MangaTaggerLib.py", line 86, in filename_parser
    raise UnparsableFilenameError(filename, '-.-')
MangaTaggerLib.errors.UnparsableFilenameError: Unable to parse filename "Vol. 01 Ch. 000.03 - The Guardians of Desire (1).cbz" due to delimiter "-.-" missing
2024-05-09 17:25:45,362 | MTT-7 139665535847224 | MangaTaggerLib.task_queue.QueueWorker | ERROR - 'NoneType' object is not subscriptable
Traceback (most recent call last):
  File "/app/Manga-Tagger/MangaTaggerLib/task_queue.py", line 189, in process
    MangaTaggerLib.process_manga_chapter(path, uuid.uuid1())
  File "/app/Manga-Tagger/MangaTaggerLib/MangaTaggerLib.py", line 68, in process_manga_chapter
    metadata_tagger(file_path, manga_details[0], manga_details[1], manga_details[2], logging_info, manga_details[3])
TypeError: 'NoneType' object is not subscriptable
2024-05-09 17:25:45,363 | MTT-1 139665542245176 | MangaTaggerLib.task_queue.QueueWorker | WARNING - Manga Tagger is unfamiliar with this error. Please log an issue for investigation.

Manga Series: What manga series (singular or plural) were being tagged when the issue was encountered?
Berserk for my test, popular series I figured it would be easy to tag.

Screenshots (If applicable): Add screenshots to help explain your problem.
N/A

Log File: Please make sure JSON logging is enabled and upload the JSON log file.
MangaTagger.json

@CubeyGlyph CubeyGlyph added the bug Something isn't working label May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants