e-alfred / epubreader

EPUB/CBR/PDF reader app for Nextcloud
GNU Affero General Public License v3.0
81 stars 21 forks source link

Unable to view CBR content. Blank page! CBZ work fine.. #46

Open thenamelessthing opened 2 years ago

thenamelessthing commented 2 years ago

Message edited

When I try to read a CBR it load the document but the content is blank. I see the navigation bar but that's all.

On NC 27.1.11 with the app version 1.6.3

Here is what occur:

image

thenamelessthing commented 4 months ago

Hi, I still have the problem and i'm under NC 27.1.11 and use the 1.6.3 version of the app. Any help will be appreciated! Thank you.

maurerle commented 4 months ago

I could not reproduce this using 1.6.3 on NC28.0.6 It might help to press F12 and see if there are errors in the Network tab, which might hint to needed adjustments in the webserver config?

After loading the file, I see a "extracting pages" screen - are you sure, your file is valid?

thenamelessthing commented 4 months ago

@maurerle , here is what I got with F12 in the network tab. I clicked on the exclamation mark to see the error.

The error seem to be "Uncaught invalid page 0".

image

About my files, I tried many different CBR and I have the same problem. I can read these files with windows app like "Cover" without any problem.

thenamelessthing commented 4 months ago

Anybody can help me on this one? I think it can be a bug in the cbr.js

It look like that it's a problem with the opencomic library that contain a bug with compressed CBR?

https://github.com/ollm/OpenComic/issues/1

Maybe that we need to update the librairy used by Epub Viewer?z

I also tested with CBZ file and those work fine. (https://github.com/afzafri/Web-Comic-Reader)

So it look like that the problem point to what I mention earlier.

thenamelessthing commented 4 months ago

@maurerle , you can try with one of my problematic file. Here is the link to download one: https://nxworld.club/index.php/s/YKgAX6JXRwrEbM4

devnoname120 commented 4 months ago

@thenamelessthing Yeah the embedded CBR/CBZ viewer is complete shit. See here for an alternative: https://github.com/devnoname120/epubviewer/discussions/15

I'm not interested in integrating it right now so someone else will have to look into it.

devnoname120 commented 4 months ago

@thenamelessthing Btw I checked your CBR and your issue is exactly the same as that one: https://github.com/devnoname120/epubviewer/discussions/16