Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 07-16-2022, 09:53 AM   #1
romanf
Member
romanf began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Jun 2022
Device: none
Epub files created on Sigil close after cover on Kobo

Hi,
Thanks in advance for any help provided.
English is not my native language, but I'll try to be as clear as possible

Epub files I create on Sigil are recently crashing on Kobo devices. The ebook opens the cover page, shows the TOC, but after the cover it closes and is marked as finished. The same happens if I select any page from the TOC.

This only happens in Kobo e-ink devices, and only if I copy the file directly. If I convert it to Kepub beforehand or use the Calibre plugin, it shows correctly. Anyway, I would still like the epub to open directly, without any convertions needed.

I couldn't find any errors on 'epubcheck-4.2.6', Calibre Editor, or any other epub checking softwares. I checked the spine, nav and ncx files and couldn't find any problems either.

This only started happening a couple of months ago, as my ebooks prior to that work properly. I can't find any structural differences when comparing them.

I attached one of those problematic files. Any help would be very much appreciated!
Attached Files
File Type: epub epub3_scrambled.epub (669.9 KB, 121 views)
romanf is offline   Reply With Quote
Old 07-16-2022, 11:43 AM   #2
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,045
Karma: 199464182
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Upon opening your attached epub, I immediately get the warning that it has issues that Sigil wants to fix.
DiapDealer is offline   Reply With Quote
Advert
Old 07-16-2022, 12:10 PM   #3
romanf
Member
romanf began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Jun 2022
Device: none
That must've been something related to the scrambled file, as the original gives no warnings. Anyway, this warning seems to be about the lack of DOCTYPE headers, but that's not the issue, as I tried with and without that header.
romanf is offline   Reply With Quote
Old 07-16-2022, 12:27 PM   #4
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,045
Karma: 199464182
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Can you please verify that the attached scrambled epub also exhibits the same problem (exhibited on the Kobo device) that the original had? That may go a long way toward determining whether it's a structural issue, or something else.
DiapDealer is offline   Reply With Quote
Old 07-16-2022, 12:30 PM   #5
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,045
Karma: 199464182
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by romanf View Post
That must've been something related to the scrambled file, as the original gives no warnings. Anyway, this warning seems to be about the lack of DOCTYPE headers, but that's not the issue, as I tried with and without that header.
Yes, but you said the EPUB was created with Sigil. And Sigil always includes the DOCTYPE.
DiapDealer is offline   Reply With Quote
Advert
Old 07-16-2022, 12:40 PM   #6
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,045
Karma: 199464182
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Also... I'm no expert on Kobo's epub3 support, but it used to be that getting one to use the epub3 renderer involved renaming the file (.kepub.epub) or actually converting to .kepub. Perhaps something has changed with the kobo firmware recently.
DiapDealer is offline   Reply With Quote
Old 07-16-2022, 01:44 PM   #7
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,160
Karma: 5450818
Join Date: Nov 2009
Device: many
Also did you test your problem issue with other epub3 compliant readers? Your scrambled one seems to not be showing any issues, even with my Kobo reading app on iOS.

Last edited by KevinH; 07-16-2022 at 01:52 PM.
KevinH is offline   Reply With Quote
Old 07-16-2022, 01:55 PM   #8
romanf
Member
romanf began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Jun 2022
Device: none
Quote:
Can you please verify that the attached scrambled epub also exhibits the same problem (exhibited on the Kobo device) that the original had?
I'll do that and see what happens, thank you.

Quote:
Yes, but you said the EPUB was created with Sigil. And Sigil always includes the DOCTYPE.
The original file has the DOCTYPE header and does not present any errors or warnings when opening with Sigil. Only the scrambled version does, because for some reason scrambling removes the DOCTYPE header.

Quote:
it used to be that getting one to use the epub3 renderer involved renaming the file (.kepub.epub) or actually converting to .kepub.
If that was the case, then why do different epub3 files, created in the same conditions, work?
Also, the Kobo guidelenes state the following:
"3. Drag your EPUB onto the device. To trigger the Kobo WebKit, change the file extension to “.kepub.epub”. To trigger the Kobo WebKit for a Fixed Layout title, change the extension to “.fxl.kepub.epub”. (If the extension is left unchanged it will render using the Adobe Digital Editions WebKit. This is the default display engine for sideloaded content to enable bookmarking, searching and highlighting.)"
I can send a couple of working epubs, also made by myself, to see if someone can find any relevant differences.

Quote:
Also did you test your problem issue with other epub3 compliant readers?
I tested it on multiple apps (Android: Moon+Reader, Kobo App, Google Play Books; Windows: Calibre, ADE, Kobo App), and none of them present any issues. I don't have any e-reader device (I ask a friend to test it in the Kobo), but it seems to be working everywhere else.

Again, thank you for taking the time to give attention to this matter and answering me!
romanf is offline   Reply With Quote
Old 07-16-2022, 02:45 PM   #9
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,160
Karma: 5450818
Join Date: Nov 2009
Device: many
Is by any chance your first real chapter bigger than 230kb in size? Some old epub readers had a file size limit.
KevinH is offline   Reply With Quote
Old 07-16-2022, 02:47 PM   #10
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,045
Karma: 199464182
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Also: what are the particulars of your cover image? Format and dimensions? It wouldn't be the first time a rendering engine took offense to oversized images
DiapDealer is offline   Reply With Quote
Old 07-16-2022, 02:53 PM   #11
romanf
Member
romanf began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Jun 2022
Device: none
Quote:
Is by any chance your first real chapter bigger than 230kb in size?
The biggest file is 112kb. The first file after the cover is 2kb.

Quote:
what are the particulars of your cover image? Format and dimensions?
This particular file has a png cover with 1067x1600px and 2,31mb. But the same issue happens in over 20 different epubs with different sizes and file formats (png and jpeg).
On the other hand, I have hundreds of working files with bigger resolution and file size.
romanf is offline   Reply With Quote
Old 07-16-2022, 03:18 PM   #12
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,225
Karma: 16536676
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
Quote:
Originally Posted by romanf View Post
The original file has the DOCTYPE header and does not present any errors or warnings when opening with Sigil. Only the scrambled version does, because for some reason scrambling removes the DOCTYPE header.
FYI, scrambling removes the DOCTYPE because scrambling runs under calibre's rules/conventions and calibre never creates epubs with DOCTYPE.

... but back to your epub3. The Kobo Adobe renderer does not seem to like the 3 style rules containing the 'vh' unit, e.g.
Code:
h1 {
  text-indent: 0;
  font-family: "Times", serif;
  margin: 30vh 0 2em;
  text-align: center;
  font-size: 1em;
  font-weight: normal;
  line-height: 2.5em;
}
'vh' is not something I ever use myself so I don't know what the best alternative is. However when I changed 'vh' to '%' (without the quotes) the epub3 behaved better on the Kobo.
jackie_w is offline   Reply With Quote
Old 07-16-2022, 03:47 PM   #13
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,160
Karma: 5450818
Join Date: Nov 2009
Device: many
vh and vw units were not added until css3 so that means they are only valid in epub3. Is the Kobe ADE reader an epub2 or an epub3 reader?
KevinH is offline   Reply With Quote
Old 07-16-2022, 04:10 PM   #14
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,225
Karma: 16536676
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
Quote:
Originally Posted by KevinH View Post
vh and vw units were not added until css3 so that means they are only valid in epub3. Is the Kobe ADE reader an epub2 or an epub3 reader?
I'm not really sure. It is quite old I think (e.g. doesn't support font-variant:small-caps). It seems to read my epub3 books OK when I read them as epub (not kepub). Then again I only ever use simple CSS properties in my books that an older epub2 renderer would also be happy with.
jackie_w is offline   Reply With Quote
Old 07-16-2022, 04:14 PM   #15
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 76,513
Karma: 136565488
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by jackie_w View Post
I'm not really sure. It is quite old I think (e.g. doesn't support font-variant:small-caps). It seems to read my epub3 books OK when I read them as epub (not kepub). Then again I only ever use simple CSS properties in my books that an older epub2 renderer would also be happy with.
The version of RMSDK is an old version and not all that ePub 3 compatible. The current version is but Kobo is not using it.
JSWolf is offline   Reply With Quote
Reply

Tags
crash, kobo, sigil


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Vexing error in EPUB file created in Sigil pstjmack ePub 7 08-02-2016 01:47 PM
ePub created with Sigil : empty when loaded with Calibre jpomart Calibre 12 12-12-2015 02:48 PM
epub created with Sigil invisible on iTunes IAmGrammy Apple Devices 6 11-01-2013 07:13 PM
Errors in ePub Created in Sigil FlooseMan Dave Sigil 12 08-25-2010 09:01 PM
Cover problems with Sigil files (again) crutledge Calibre 3 06-16-2010 01:06 PM


All times are GMT -4. The time now is 04:53 AM.


MobileRead.com is a privately owned, operated and funded community.