-
Notifications
You must be signed in to change notification settings - Fork 89
Description
Describe the bug
When using the CLI to get metadata and tag files the app fails without a clear error message. Just "CLI mode failed". When using the GUI everything works fine for the same file.
I think this was introduced with 1.6.0b9 - I was using the exact same command before for ages successfully.
To Reproduce
Steps to reproduce the behavior:
Use this file as an example (rename to .cbz)
https://jirafeau.p2lab.com/f.php?h=1VObDXUi&d=1
Try to get metadata and save to tags with
ComicTagger -vv -s -t cix -o -i -1 --source comicvine ./Ewoks\ \#02.cbz
observe this error
╰─○ ComicTagger -vv -s -t cr -o -i -1 --source comicvine ./Ewoks\ \#02.cbz
2025-12-04T21:47:43 | comictagger | INFO | ComicTagger Version: 1.6.0b9 running on: Darwin PyInstaller: Yes
2025-12-04T21:47:43 | comictagger | DEBUG | user_config_dir: /Users/me/Library/Application Support/ComicTagger
2025-12-04T21:47:43 | comictagger | DEBUG | user_cache_dir: /Users/me/Library/Caches/ComicTagger
2025-12-04T21:47:43 | comictagger | DEBUG | user_log_dir: /Users/me/Library/Logs/ComicTagger
2025-12-04T21:47:43 | comictagger | DEBUG | user_plugin_dir: /Users/me/Library/Application Support/ComicTagger/plugins
2025-12-04T21:47:43 | comictagger | DEBUG | Installed Packages
2025-12-04T21:47:43 | comictagger | DEBUG | comicinfoxml 0.5.1
2025-12-04T21:47:43 | comictagger | DEBUG | comictagger 1.6.0b9
2025-12-04T21:47:43 | comictagger | DEBUG | importlib_metadata 8.7.0
2025-12-04T21:47:43 | comictaggerlib.issueidentifier | DEBUG | Width: 2481 Height: 3508, ratio: 0 0 ratio met: False
2025-12-04T21:47:43 | comictaggerlib.issueidentifier | DEBUG | Width: 2481 Height: 3508, ratio: 0 0 ratio met: False
2025-12-04T21:47:44 | comictaggerlib.issueidentifier | DEBUG | Width: 2481 Height: 3508, ratio: 0 0 ratio met: False
2025-12-04T21:47:44 | comictaggerlib.issueidentifier | INFO | Not enough info for a search!
2025-12-04T21:47:44 | comictaggerlib.tag | ERROR | Online search: No match found. Save aborted
2025-12-04T21:47:44 | comictagger | ERROR | CLI mode failed
Traceback (most recent call last):
File "comictaggerlib/main.py", line 340, in main
File "comictaggerlib/cli.py", line 114, in run
File "comictaggerlib/cli.py", line 704, in process_file_cli
File "comictaggerlib/cli.py", line 543, in save
AssertionError
Expected behavior
ComicTagger pulling metadata from comicvine and saving it to the cbz file or asking me in case of multiple matches
Desktop (please complete the following information):
- OS: macOS 26.1
- Version 1.6.0b9
- Where did you install ComicTagger from? Releases Page