Upgrade to latest beta cause some epub file fail to display

edited 15 days ago
Error console:
Unable to get range for CFI epubcfi(/6/10!/4/2/10/4,/1:181,/1:315) reader.js:47203:17
getRange resource://zotero/reader/reader.js:47203
toDisplayedRange resource://zotero/reader/reader.js:47253
displayedAnnotations resource://zotero/reader/reader.js:33472
_renderAnnotations resource://zotero/reader/reader.js:33468
_handleViewUpdate resource://zotero/reader/reader.js:33433
_handleViewUpdate resource://zotero/reader/reader.js:47703
onViewUpdate resource://zotero/reader/reader.js:47933
set currentSectionIndex resource://zotero/reader/reader.js:46399
navigateToNextSection resource://zotero/reader/reader.js:46458
navigateToNextPage resource://zotero/reader/reader.js:46493
resource://zotero/reader/reader.js:46653
invokeFunc resource://zotero/reader/reader.js:26935
leadingEdge resource://zotero/reader/reader.js:26957
debounced resource://zotero/reader/reader.js:27014

The reader shows "Invalid Content":
https://s3.amazonaws.com/zotero.org/images/forums/u13149516/nryjh9b9hhl6hwflcunx.png
  • What beta are you talking about? Desktop? iOS? What epub?
  • @poettli 8.0-beta.7+bdf49b9b0 on macOS. I'm afraid I can't put the epub directly on this forum, are there other information that I can provide?
  • I upgraded to beta yesterday, and updated to latest build today, can't remember whether this epub displayed properly yesterday.
  • edited 15 days ago
    @poettli I ran reader to debug the issue, the render failed because of the following CSS selector, remove it fixed the issue:

    .noteref_footnote,
    .noteref_endnote,
    .noteref_rearnote,
    [epub|type~='noteref'] {
    vertical-align: super;
    font-size: 0.89474em ;
    margin-top: 0em ;
    margin-bottom: 0em ;
    }
  • @kassiansun: Please email the EPUB to support@zotero.org and include a link to this thread.
Sign In or Register to comment.