Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 06-29-2019, 08:20 PM   #1
dynabook
Techno-geek
dynabook ought to be getting tired of karma fortunes by now.dynabook ought to be getting tired of karma fortunes by now.dynabook ought to be getting tired of karma fortunes by now.dynabook ought to be getting tired of karma fortunes by now.dynabook ought to be getting tired of karma fortunes by now.dynabook ought to be getting tired of karma fortunes by now.dynabook ought to be getting tired of karma fortunes by now.dynabook ought to be getting tired of karma fortunes by now.dynabook ought to be getting tired of karma fortunes by now.dynabook ought to be getting tired of karma fortunes by now.dynabook ought to be getting tired of karma fortunes by now.
 
Posts: 225
Karma: 1116651
Join Date: Nov 2006
Location: Mississippi, USA
Device: PRS-T1 (Black), PRS-T3S (Black), Kobo Aura ONE
Problem: Epub passes epubcheck but crashes ADE

I have liberated several of my (purchased) epub ebooks but after editing them (removing Google page map, renaming chapt files, fixing spelling and typos, etc.) some (not all by any means) will crash ADE and will not read on my Kobo Aura ONE (which uses a version of the Adobe RMSDK).

Is there any way to troubleshoot this behavior? These files all pass EPUB Check 3.0. I can't guess what may cause this. I don't get an error message just crash or on the Aura ONE a white screen (no crash).

Thanks for any suggestions on how to proceed. Maybe a tool that provides more depth look into the ePub.

--MH
dynabook is offline   Reply With Quote
Old 06-29-2019, 08:27 PM   #2
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 35,311
Karma: 145435140
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by dynabook View Post
I have liberated several of my (purchased) epub ebooks but after editing them (removing Google page map, renaming chapt files, fixing spelling and typos, etc.) some (not all by any means) will crash ADE and will not read on my Kobo Aura ONE (which uses a version of the Adobe RMSDK).

Is there any way to troubleshoot this behavior? These files all pass EPUB Check 3.0. I can't guess what may cause this. I don't get an error message just crash or on the Aura ONE a white screen (no crash).

Thanks for any suggestions on how to proceed. Maybe a tool that provides more depth look into the ePub.

--MH
Check for Scramble Ebook in either a calibre plugin ( ScrambleEbook plugin) or a standalone utility (ScrambleEbook standalone). Use it on one of your ebooks and attach it to a message here so others can take a look at it.

Scramble Ebook will basically turn the your file into garbage but garbage that can be looked at to see what errors or omissions might be there.
DNSB is offline   Reply With Quote
Advert
Old 06-29-2019, 08:35 PM   #3
dynabook
Techno-geek
dynabook ought to be getting tired of karma fortunes by now.dynabook ought to be getting tired of karma fortunes by now.dynabook ought to be getting tired of karma fortunes by now.dynabook ought to be getting tired of karma fortunes by now.dynabook ought to be getting tired of karma fortunes by now.dynabook ought to be getting tired of karma fortunes by now.dynabook ought to be getting tired of karma fortunes by now.dynabook ought to be getting tired of karma fortunes by now.dynabook ought to be getting tired of karma fortunes by now.dynabook ought to be getting tired of karma fortunes by now.dynabook ought to be getting tired of karma fortunes by now.
 
Posts: 225
Karma: 1116651
Join Date: Nov 2006
Location: Mississippi, USA
Device: PRS-T1 (Black), PRS-T3S (Black), Kobo Aura ONE
Thanks. I'll get on that. Have to dust off my PC since I normally use a Mac.

--MH
dynabook is offline   Reply With Quote
Old 06-29-2019, 08:50 PM   #4
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: 7,636
Karma: 5433388
Join Date: Nov 2009
Device: many
Many older ADE devices would either crash or whitescreen if an xhtml chapter exceeded a certain size. Something like 200k bytes or along those lines. Did you merge chapters into a larger file. If so, you may want to put them back.

Last edited by KevinH; 06-30-2019 at 03:14 PM.
KevinH is online now   Reply With Quote
Old 06-30-2019, 02:33 AM   #5
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 35,311
Karma: 145435140
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by dynabook View Post
Thanks. I'll get on that. Have to dust off my PC since I normally use a Mac.

--MH
If you are using calibre, the plugin will work on a Mac. I'm not sure about running the Python code standalone on a Mac. On my PC, it required calibre as quite a bit of the code is using imports from calibre.
DNSB is offline   Reply With Quote
Advert
Old 06-30-2019, 02:42 AM   #6
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,583
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by dynabook View Post
[...] some (not all by any means) will crash ADE.
Are you referring to the desktop version or the Kobo ADE app?

Quote:
Originally Posted by dynabook View Post
These files all pass EPUB Check 3.0.
The current version is EPUBCheck v4.2.1. You might want to re-check your books with it.

Quote:
Originally Posted by dynabook View Post
Is there any way to troubleshoot this behavior?
Open the file with Calibre Editor, click Run check, and have Calibre Editor fix all issues. Alternatively convert your books to .kepub files.
Doitsu is offline   Reply With Quote
Old 06-30-2019, 08:34 PM   #7
dynabook
Techno-geek
dynabook ought to be getting tired of karma fortunes by now.dynabook ought to be getting tired of karma fortunes by now.dynabook ought to be getting tired of karma fortunes by now.dynabook ought to be getting tired of karma fortunes by now.dynabook ought to be getting tired of karma fortunes by now.dynabook ought to be getting tired of karma fortunes by now.dynabook ought to be getting tired of karma fortunes by now.dynabook ought to be getting tired of karma fortunes by now.dynabook ought to be getting tired of karma fortunes by now.dynabook ought to be getting tired of karma fortunes by now.dynabook ought to be getting tired of karma fortunes by now.
 
Posts: 225
Karma: 1116651
Join Date: Nov 2006
Location: Mississippi, USA
Device: PRS-T1 (Black), PRS-T3S (Black), Kobo Aura ONE
Okay, Doitsu I have downloaded EPUBCheck 4.2.1 and will try it. In the meantime here is one of my problem books scrambled by ScrambleEbook.

I will also try Calibre Editor.

--MH
Attached Files
File Type: epub Problem-Book_scrambled.epub (355.3 KB, 161 views)
dynabook is offline   Reply With Quote
Old 06-30-2019, 10:34 PM   #8
dynabook
Techno-geek
dynabook ought to be getting tired of karma fortunes by now.dynabook ought to be getting tired of karma fortunes by now.dynabook ought to be getting tired of karma fortunes by now.dynabook ought to be getting tired of karma fortunes by now.dynabook ought to be getting tired of karma fortunes by now.dynabook ought to be getting tired of karma fortunes by now.dynabook ought to be getting tired of karma fortunes by now.dynabook ought to be getting tired of karma fortunes by now.dynabook ought to be getting tired of karma fortunes by now.dynabook ought to be getting tired of karma fortunes by now.dynabook ought to be getting tired of karma fortunes by now.
 
Posts: 225
Karma: 1116651
Join Date: Nov 2006
Location: Mississippi, USA
Device: PRS-T1 (Black), PRS-T3S (Black), Kobo Aura ONE
I am using ADE 2.0 to try to open these ebooks. Calibre Ebook Editor may have resolved the problems with the epub I uploaded (at least ADE opened it.) The next one was not resolved by fixing with Calibre Editor.

--MH
Attached Files
File Type: epub Problem-Ebook2_scrambled.epub (1.78 MB, 136 views)
dynabook is offline   Reply With Quote
Old 07-01-2019, 07:19 AM   #9
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: 27,547
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
The attached epub doesn't pass EpubCheck without errors. I was led to believe that the problem epubs ADE would't open were passing validation.

Invalid role attributes and missing manifest properties would certainly be enough to trip up ADE. There's also only so much support for Epub3 that ADE 2.0 will be able to accommodate in the first place.

Use Sigil to Update Manifest Properties (Tools->Epub3 Tools), change the invalid "doc-footnotes" role attributes to the proper "doc-footnote" and see if that doesn't fix the issues.

Last edited by DiapDealer; 07-01-2019 at 07:27 AM.
DiapDealer is offline   Reply With Quote
Old 07-01-2019, 02:32 PM   #10
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 35,311
Karma: 145435140
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by dynabook View Post
Okay, Doitsu I have downloaded EPUBCheck 4.2.1 and will try it. In the meantime here is one of my problem books scrambled by ScrambleEbook.

I will also try Calibre Editor.

--MH
I used Sigil as the editor to check your uploaded ebook (epubcheck and W3C check for the stylesheet). Removing the two blank @media declarations at the end of your stylesheet lets ADE 2.0.1 display the file quite happily. I'd also suggest getting rid of the mass of "font-family: "Times New Roman" , serif;" lines in your stylesheet. Very few ereaders will have the Times New Roman font available and you are preventing users from being able to switch fonts. I would also wonder about your FreeSerif font family being used for the last character of some words -- that is a bit of an oddity, IMHO.

Also note that your first upload was an epub2 while your second is an epub3.
Attached Files
File Type: epub Problem-Book_scrambled_edited3.epub (359.9 KB, 152 views)
DNSB is offline   Reply With Quote
Old 07-01-2019, 02:57 PM   #11
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 35,311
Karma: 145435140
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by dynabook View Post
I am using ADE 2.0 to try to open these ebooks. Calibre Ebook Editor may have resolved the problems with the epub I uploaded (at least ADE opened it.) The next one was not resolved by fixing with Calibre Editor.

--MH
Checking this one out, I changed the 2 doc-footnotes to doc-footnote, added the 'properties="svg"' to the cover.xhtml line in the manifest section of content.opf and removed the following media queries from one of the stylesheets:

Code:
@media amzn-kf8 {
  }
@media amzn-mobi {
  blockquote {
    margin: 2em auto 2em auto;
  }
  .squeeze {
    width: auto;
  }
  }
ADE 2.0.1 now seems to happy with this file as well. In both cases, it seems the amazon media queries were enough to cause problems since another media query in the 2nd file found in prhStyle-media-queries.css doesn't seem to cause issues.
Attached Files
File Type: epub Problem-Ebook2_scrambled_edited.epub (1.78 MB, 139 views)
DNSB is offline   Reply With Quote
Old 07-01-2019, 06:05 PM   #12
dynabook
Techno-geek
dynabook ought to be getting tired of karma fortunes by now.dynabook ought to be getting tired of karma fortunes by now.dynabook ought to be getting tired of karma fortunes by now.dynabook ought to be getting tired of karma fortunes by now.dynabook ought to be getting tired of karma fortunes by now.dynabook ought to be getting tired of karma fortunes by now.dynabook ought to be getting tired of karma fortunes by now.dynabook ought to be getting tired of karma fortunes by now.dynabook ought to be getting tired of karma fortunes by now.dynabook ought to be getting tired of karma fortunes by now.dynabook ought to be getting tired of karma fortunes by now.
 
Posts: 225
Karma: 1116651
Join Date: Nov 2006
Location: Mississippi, USA
Device: PRS-T1 (Black), PRS-T3S (Black), Kobo Aura ONE
Thanks for all the help. I am using the Sigil plugin for epubcheck (ver. 4.1.1). It showed no errors. I was not able to get the 4.2.1 version to install. i will try these suggestions on the original ePub. Of over 200 ePubs I have purchased I have about half-dozen which have exhibited these issues. I assume it is a variety of causes but fonts seem to play a big part as well as the media queries.

Again, thanks. If there are any suggestions of sites to better understand ePub3 I would welcome them.

--MH
dynabook is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sigil changes epub, even with "Clean Source" unchecked; ADE crashes DonPayne Sigil 9 01-14-2016 11:29 AM
Mini ADE epub problem: missing text size icon pdxreads Kobo Developer's Corner 11 03-05-2013 12:03 AM
When ebook passes EPUBcheck am I done? Gregg Bell Sigil 38 02-16-2013 04:29 AM
problem downloading epub to ade Lola33 ePub 0 11-24-2010 10:18 AM
Pocketbook 360 problem with ADE drm'd epub files Patarch21 PocketBook 30 04-04-2010 05:00 PM


All times are GMT -4. The time now is 08:10 PM.


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