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

Unsupported archive type exception #30

Closed
BRTPOB opened this issue Aug 30, 2020 · 0 comments · Fixed by #58 or #59
Closed

Unsupported archive type exception #30

BRTPOB opened this issue Aug 30, 2020 · 0 comments · Fixed by #58 or #59

Comments

@BRTPOB
Copy link

BRTPOB commented Aug 30, 2020

2020-08-30 19:11:23 codex.librarian.importer[20] INFO Created CreditPerson Andy Fish
2020-08-30 19:11:23 codex.librarian.importer[20] INFO Created credit Colorist: Andy Fish
2020-08-30 19:11:23 codex.librarian.importer[20] INFO Created credit CoverArtist: Victor Ibáñez
2020-08-30 19:11:23 codex.librarian.importer[20] INFO Created /comics/Archie Comics/Sabrina the Teenage Witch (2019) db folder.
2020-08-30 19:11:23 codex.librarian.importer[20] INFO Created comic Sabrina the Teenage Witch #1
2020-08-30 19:11:23 codex.librarian.librariand[20] ERROR Unsupported archive type: /comics/Archie Comics/Sabrina the Teenage Witch (2019)/Sabrina the Teenage Witch 002 (2019).cbz
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/codex/librarian/librariand.py", line 122, in librarian
import_comic(task.library_id, task.src_path)
File "/usr/local/lib/python3.8/site-packages/codex/librarian/importer.py", line 359, in import_comic
importer = Importer(library_id, path)
File "/usr/local/lib/python3.8/site-packages/codex/librarian/importer.py", line 114, in init
self.car = ComicArchive(path)
File "/usr/local/lib/python3.8/site-packages/comicbox/comic_archive.py", line 53, in init
self.set_path(path)
File "/usr/local/lib/python3.8/site-packages/comicbox/comic_archive.py", line 68, in set_path
raise ValueError(f"Unsupported archive type: {self._path}")
ValueError: Unsupported archive type: /comics/Archie Comics/Sabrina the Teenage Witch (2019)/Sabrina the Teenage Witch 002 (2019).cbz
2020-08-30 19:11:23 codex.librarian.importer[20] INFO Created comic Sabrina the Teenage Witch #3
2020-08-30 19:11:23 codex.librarian.importer[20] INFO Created comic Sabrina the Teenage Witch #4
2020-08-30 19:11:23 codex.librarian.importer[20] INFO Created Series Sabrina the Teenage Witch

For something like this, might be good to alert the user so that they can go fix the specific comic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant