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

Error opening ePub #819

Closed
wooque opened this issue Dec 4, 2021 · 3 comments
Closed

Error opening ePub #819

wooque opened this issue Dec 4, 2021 · 3 comments
Labels
bug Something isn't working

Comments

@wooque
Copy link

wooque commented Dec 4, 2021

Describe the bug
Trying to open this epub just shows endless loading indicator
https://drive.google.com/file/d/1JO7altM94uq2OMbr_dZCKbJ5njQCarNO/view?usp=sharing
MuPDF open this file fine

To Reproduce
Steps to reproduce the behavior:

  1. Try to open provided ePub

Expected behavior
ePub opens

Version:

  • Foliate version: 2.6.3
  • OS/Distribution and version: Arch Linux
  • Desktop environment: GNOME 41
  • Installation method: official repo
@wooque wooque added the bug Something isn't working label Dec 4, 2021
@Bhallu-pk

This comment was marked as off-topic.

@johnfactotum
Copy link
Owner

Need to investigate further, but I think this is related to Text/part0000.xhtml in the book being HTML rather than XHTML.

@johnfactotum
Copy link
Owner

Now in the gtk4 branch, with #699 fixed, the book opens fine.

There are two other things still broken with this book:

  1. The .ncx file contains an unescaped &, making it invalid XML.
  2. The page sets charset=macintosh for some strange reason. In reality the file appears to be UTF-8 encoded.

These will have to be fixed by editing the book.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants