audiobookshelf icon indicating copy to clipboard operation
audiobookshelf copied to clipboard

[Bug]: Comics not all load

Open PoepieFloepie opened this issue 2 years ago • 8 comments

Describe the issue

i have a series of comics most of them work but there are some that keep spinning on please wait ..and do nothing

Steps to reproduce the issue

Audiobookshelf version

Always the latest version

How are you running audiobookshelf?

Docker

PoepieFloepie avatar Jul 06 '22 09:07 PoepieFloepie

Screenshot?

advplyr avatar Jul 06 '22 10:07 advplyr

1 keeps on please wait 2 unable to extract pages

most times it is the first one keeps on please wait..

1 2

PoepieFloepie avatar Jul 06 '22 10:07 PoepieFloepie

what is the file format of the comic file?

if you press the hamburger menu in the top right, does it show any metadata?

if you open up the browser console (Ctrl+Shift+i) can you share the error message there?

and what browser are you using?

advplyr avatar Jul 06 '22 11:07 advplyr

this one is from the comic with error

i remove the ip in some lines

error message downloadable font: no supported format found (font-family: "Source Sans Pro" style:normal weight:400 stretch:100 src index:1) source: (end of source list) Uncaught (in promise) DOMException: The operation is insecure. 0e09051.js:2 Socket initialized 4bd62d2.js:1:51234 downloadable font: no supported format found (font-family: "Ubuntu Mono" style:normal weight:400 stretch:100 src index:1) source: (end of source list) [SOCKET] Connected 4bd62d2.js:1:42349 downloadable font: no supported format found (font-family: "Source Sans Pro" style:normal weight:600 stretch:100 src index:1) source: (end of source list) Init Payload Object { serverSettings: {…}, metadataPath: "/metadata", configPath: "/config", user: {…}, librariesScanning: [], backups: (2) […], usersOnline: (1) […] } 4bd62d2.js:1:43414 TypeError: e.$axios is undefined NuxtJS 13 db0f030.js:2:12698 downloadable font: no supported format found (font-family: "Source Sans Pro" style:normal weight:300 stretch:100 src index:1) source: (end of source list) Extracting /ebook/lib_no9g9bqgkpuihbjuck/fol_1kbgvqwyewjag45rya/Rooie Oortjes - Cartoon Album/Deel 27/Deel 27.cbr 3 6207fa2.js:1:5709

PoepieFloepie avatar Jul 06 '22 11:07 PoepieFloepie

format is cbr. i can change cover enz.. only if i press the blauw read button.. firefox latest i downloaded a ereader for windows ..and there it working (the comics wich do not work in audiobookshelf (i know it is beta)

PoepieFloepie avatar Jul 06 '22 11:07 PoepieFloepie

this one is fron the comic with please wait spinning

downloadable font: no supported format found (font-family: "Source Sans Pro" style:normal weight:400 stretch:100 src index:1) source: (end of source list) Uncaught (in promise) DOMException: The operation is insecure. 0e09051.js:2 Socket initialized 4bd62d2.js:1:51234 downloadable font: no supported format found (font-family: "Ubuntu Mono" style:normal weight:400 stretch:100 src index:1) source: (end of source list) downloadable font: no supported format found (font-family: "Source Sans Pro" style:normal weight:600 stretch:100 src index:1) source: (end of source list) [SOCKET] Connected 4bd62d2.js:1:42349 Init Payload Object { serverSettings: {…}, metadataPath: "/metadata", configPath: "/config", user: {…}, librariesScanning: [], backups: (2) […], usersOnline: (2) […] } 4bd62d2.js:1:43414 Extracting /ebook/lib_no9g9bqgkpuihbjuck/fol_1kbgvqwyewjag45rya/Rooie Oortjes - Cartoon Album/Deel 23/Deel 23.cbr 6207fa2.js:1:5709 downloadable font: no supported format found (font-family: "Source Sans Pro" style:normal weight:300 stretch:100 src index:1) source: (end of source list) Uncaught (in promise) Object { message: "Parsing filters is unsupported.", name: "Error", stack: "entries@/libarchive/worker-bundle.js:1:1601\nself.onmessage@/libarchive/worker-bundle.js:1:86063\n" }

PoepieFloepie avatar Jul 06 '22 11:07 PoepieFloepie

I am also having this issue. I have been playing around with this all day and I have come to a conclusion.

If the CBZ or CBR contains a folder then all the images in it then the file will fail to extract images. Example: comic.cbz > book1 > page1.jpg

If the CBZ or CBR does NOT contain a folder and the files are directly in the root of the directory it will just load indefinitely. Example: comic.cbz > page1.jpg

To add to this, pdf does indeed work but without zoom on the browser interface its useless and pdf does not even register on the android app.

Comic books have 4 main formats, CBZ (renamed .zip), CBR (renamed .rar), CB7 (renamed .7z) and PDF

If extracting the .zip, .rar, and .7z file is an issue as a temp work-around you could just have a folder of images in the book folder and just have it open as a slide show.

DJalup avatar Jul 13 '22 03:07 DJalup

In #812 I asked how common it is to have comics with sub-folders. The way I wrote the comic reader only extracts images 1 layer deep because the ones I had were all like that but it can be updated to recursively extract all images.

Keep in mind all of the ebook/comics are under experimental features because they were just setup as a proof of concept. The PDF/epub/mobi readers are all very basic and don't save your progress so not very usable in production yet for most people.

advplyr avatar Jul 14 '22 22:07 advplyr

Fixed in v2.2.2

advplyr avatar Nov 05 '22 21:11 advplyr

@advplyr This issue still persists for me. I am on 2.2.2 protainer compose and I have a .cbz's that spin and refuse to open.

gh0sti avatar Nov 07 '22 15:11 gh0sti

@gh0sti I don't have any comics that fail so I'll need to get a copy of one that does

advplyr avatar Nov 07 '22 15:11 advplyr

@advplyr email that I can send a link to?

gh0sti avatar Nov 07 '22 16:11 gh0sti

[email protected]

advplyr avatar Nov 07 '22 16:11 advplyr

I tested all of those comics you sent me and they all work in Brave browser. Brave is chromium based so any other chromium based browser should also work, i.e. Google Chrome of Microsoft Edge. I did not test in Firefox. Are you using Firefox by chance?

advplyr avatar Nov 10 '22 23:11 advplyr

@advplyr I also use brave browser latest version on my mac and they just spin when trying to open them.

gh0sti avatar Nov 11 '22 03:11 gh0sti

I'm not sure. You could open up the browser console and see if there are any errors.

advplyr avatar Nov 11 '22 15:11 advplyr