mobi icon indicating copy to clipboard operation
mobi copied to clipboard

kindle oasis3 can't display some files

Open ystyle opened this issue 3 years ago • 7 comments

After I generate azw3 with chaptered, when testing on kinlde oasis3, some files cannot be displayed on the device's library.

After testing, it was found that the first book of the chapters could not be displayed, and the subsequent second and third books could be displayed. I've tried changing the filename and the author has nothing to do with it. Tried reducing the number of chapters (200) and found that also only some of the files could be displayed.

In the attachment, file-1 cannot be displayed, and file-2 is normal

samples.zip

ystyle avatar Feb 07 '22 06:02 ystyle

This seems to be an issue that arises when a chapter, by coincidence, ends/starts exactly on a chunk border. I suspect this because the first file you have provided reports incorrect trailing byte sequences only in chapters with this property.

I'll try to implement a fix and ping you again when I've pushed it, so you can then test if this resolves your issue.

leotaku avatar Feb 07 '22 07:02 leotaku

thanks

ystyle avatar Feb 07 '22 08:02 ystyle

@ystyle ping

In case the new changes on master did not fix the issue, please provide a broken ebook generated with the new version of the library and ideally also the code used to generate it.

leotaku avatar Feb 07 '22 09:02 leotaku

In the attachment, file-1 cannot be displayed, and file-2、file-3 is normal samples.zip

ystyle avatar Feb 07 '22 12:02 ystyle

In the attachment, file-1 cannot be displayed, and file-2、file-3 is normal samples.zip

After testing, file-3 is also not displayed

ystyle avatar Feb 07 '22 12:02 ystyle

Right, in that case, I don't currently understand what could be the cause of this.

Unfortunately, I also don't currently have access to my own Kindle reader and won't for another 1-2 weeks, so I can't really debug the problem, which you say only appears on the Kindle Oasis 3.

Have you tested the generated e-books on other Kindle devices, or is the Oasis 3 the only device you are using?

leotaku avatar Feb 08 '22 12:02 leotaku

I only have ko3, but I found someone to test it, and all three files can be displayed on kpw3, 5.9.6.1

ystyle avatar Feb 10 '22 13:02 ystyle