Skip to content

[Bug] Error opening fixed-layout publications #490

Closed
@dcastill-prhge

Description

@dcastill-prhge

Describe the bug

When opening fixed-layouts such as Comic Books the reader does not display the epub. Just a blank screen.

Happens with all fixed-layout titles we've tested.

🔎️ EPUBSpreadView.swift:152: Evaluate script: spread.load([{"link":{"href":"OEBPS/cover.xhtml","properties":{"encrypted":{"algorithm":"http://www.w3.org/2001/04/xmlenc#aes256-cbc","compression":"deflate","originalLength":494,"scheme":"http://readium.org/2014/01/lcp"},"id":"cover"},"templated":false,"type":"application/xhtml+xml"},"page":"left","url":"http://localhost:63381/F6BD61BE-7DF1-4B49-A41A-56CE0645265E/OEBPS/cover.xhtml"}]);

❌ undefined:1:	JavaScript: ReferenceError: Can't find variable: readium

How to reproduce?

  1. Download fixed-layout lcp epub
  2. Open the publication

Xcode version

15.4 (15F31d)

Readium version

3.0.0-alpha.1

OS version

17.5.1

Testing device

iPhone 14 Pro

Environment

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions