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] Solid rar archives are partially handled #147

Closed
3 tasks done
Cissoubaka opened this issue May 2, 2020 · 8 comments
Closed
3 tasks done

[Bug] Solid rar archives are partially handled #147

Cissoubaka opened this issue May 2, 2020 · 8 comments
Labels

Comments

@Cissoubaka
Copy link

Cissoubaka commented May 2, 2020

Komga environment

  • OS: raspbian buster on PI4 4Go
  • Komga version: 0.27.7
  • I am running Komga with Docker
    • Docker image tag [e.g. latest, beta]: latest
  • I am running Komga from the jar
    • Java version: openjdk 11.0.7
  • I have a problem with the Tachiyomi extension
    • Tachiyomi version: 0.8.5
    • Tachiyomi extension version: komga 1.2.9

Describe the bug

when I try to load a manga, almost all of the time, there is an error showed in log.
Even with retry, there is no pictures showed

Log file

https://pastebin.com/wBgTjP4T

@Cissoubaka
Copy link
Author

it seems to be related to the cbr file, as it's functionnal with another collection

@gotson
Copy link
Owner

gotson commented May 2, 2020

Can you check the Server settings > Media Analysis screen and see if the book you're trying to read has any error there?

Can you read the book via the webreader?

Can you provide the json of /api/v1/books/{bookId}?

@Cissoubaka
Copy link
Author

No book appears in the media analysis,
same result with the web reader,
I don't know where to find the json, if you guide me I can provide it.

@gotson
Copy link
Owner

gotson commented May 2, 2020

You can get the bookId by looking at the url when browsing the book, them you can just put the url I gave after the address of your server and replace the bookId with the one from the book.

@Cissoubaka
Copy link
Author

ok so :

{"id":14,"seriesId":3,"name":"Bleach T04 [eBook officiel FR]","url":"/books/Bleach/Bleach T04 [eBook officiel FR].cbr","number":4,"created":"2020-05-02T09:18:26","lastModified":"2020-05-02T09:18:48","fileLastModified":"2020-04-24T21:58:14","sizeBytes":31429497,"size":"30 MiB","media":{"status":"READY","mediaType":"application/x-rar-compressed; version=4","pagesCount":193,"comment":""},"metadata":{"title":"Bleach T04 [eBook officiel FR]","titleLock":false,"summary":"","summaryLock":false,"number":"4","numberLock":false,"numberSort":4.0,"numberSortLock":false,"readingDirection":"","readingDirectionLock":false,"publisher":"","publisherLock":false,"ageRating":null,"ageRatingLock":false,"releaseDate":null,"releaseDateLock":false,"authors":[],"authorsLock":false}}```

@Cissoubaka
Copy link
Author

I didn't precise, but I can see the first image, the cover, but not the next pages

@gotson
Copy link
Owner

gotson commented May 3, 2020

As seen together on Discord the file is a solid archive and cannot be accessed randomly. Rezipping the file solves the problem.

I'll try to add detection for such archives and mark them as unsupported.

@gotson gotson changed the title [Bug] not loading page through tachiyomi [Bug] Solid rar archives are partially handled May 3, 2020
@gotson gotson added enhancement New feature or request has workaround labels May 3, 2020
@gotson gotson closed this as completed in 6c0ebbe May 3, 2020
gotson pushed a commit that referenced this issue May 3, 2020
# [0.28.0](v0.27.7...v0.28.0) (2020-05-03)

### Bug Fixes

* **rar:** unsupported rar archives are marked as such ([6c0ebbe](6c0ebbe)), closes [#147](#147)

### Features

* add hawt.io support ([dfa2405](dfa2405))
* **docker:** persist artemis data in /config ([08e7f5d](08e7f5d))
* **scan:** add configuration to disable startup scan ([37590dd](37590dd))
* **tasks:** background tasks persistency ([1a31c89](1a31c89))
* **tasks:** replace background tasks management ([60ce87a](60ce87a))
@gotson
Copy link
Owner

gotson commented May 3, 2020

🎉 This issue has been resolved in version 0.28.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@gotson gotson added the released label May 3, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants