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

CB7 metadata extraction not working #3050

Open
OzzieIsaacs opened this issue May 10, 2024 · 0 comments
Open

CB7 metadata extraction not working #3050

OzzieIsaacs opened this issue May 10, 2024 · 0 comments

Comments

@OzzieIsaacs
Copy link
Collaborator

Describe the bug/problem

After uploading a CB7 file, no metadata of the file gets extracted and the standard cover file is used instead of the cover file from the comic book.
After downgrading py7zr to 0.20.8 the metadata import is working as it should

To Reproduce

Steps to reproduce the behavior (have py7zr and optoinal comicapi installed):

  1. Go to main page
  2. Click on upload file
  3. choose a CB7 file and upload it
  4. See error in detail page: Metadata is taken from filename and standard cover is visible

Logfile
[2024-05-09` 08:36:51,775] ERROR {comicapi.comicarchive:392} Error reading in raw CIX! for /tmp/calibre_web/2175f45e686d3a93be4bb0d4b91ff6bf: 'ComicInfo.xml' [2024-05-09 08:36:51,777] ERROR {comicapi.comicarchive:222} Error reading in page 0. Substituting logo page.
Expected behavior

Comic metadata (as cover file and author, title information) is visible in calibre-web

Environment (please complete the following information):

  • OS: Linux Mint 21
  • Python version:Python 3.10.
  • Calibre-Web version: nightly version from before May, 8th 2024
  • Docker container: None
  • Special Hardware: None
  • Browser: tested with Firefox

Additional context
py7zr is on version 0.21.0

This issue is fixed in latest nightly version without comicapi, a fix is available in the comicapi repository (https://github.com/comictagger/comictagger/blob/develop/comicapi/archivers/sevenzip.py), but byet not published.
Workaround is downgrading py7zr to 0.20.8 or below

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

No branches or pull requests

1 participant