11-06-2012, 03:16 PM | #1 |
Enthusiast
Posts: 27
Karma: 53696
Join Date: Nov 2012
Device: Sony PRS T-1
|
Sony PRS T-1 won't open epub created from zip file
I have created an ePub from a zip file from the Yahoo! Hadoop Tutorial. The ePub shows up fine in the Calibre ebook reader, and in fbreader.
But when I try to read it in my Sony PRS T-1 reader, the reader immedately returns to the Home menu. I.e. the ePub file won't display in the Sony. Has anyone seen something similar? Is there a way to get debugging output from the Sony? Is there a "lint"-like utility for ePub files? I have attached a zip file containing the export of the book from calibre, i.e. containg the original zip file, an opf file, a cover, and the created ePub file. I created the zip file by downloading and unpacking the zip file on the tutorial's home page, removing all of the example code (reducing it in size from 600+MB to 0.3MB), and adding a toc.html as indicated by the calibre documentation. Note that the cover says calibre 0.8.51, but I am currently using calibre 0.9.5. The output profile in calibre is set to "Sony reader". Thanks! - steinar |
11-07-2012, 03:44 AM | #3 | |
Enthusiast
Posts: 27
Karma: 53696
Join Date: Nov 2012
Device: Sony PRS T-1
|
Quote:
I have had little success with this conversion (zip->epub), and have other example documents with the same issue. I just tried to limit the question to one particular file to help pinpoint the issue. Or to be even clearer: this is probably a calibre bug, but I would like to figure out more about what's actually wrong with the produced epub file, before reporting it. I have one successful conversion, but that's copyrighted (the 6 sample chapters of "Captain Vorpatril's Alliance" by Lois McMaster Bujold). I can't remember if I did an HTML to epub conversion or a zip to epub conversion (is it possible to import a multi-file HTML document? I will check when I get home). Also this was a document without images, and no hyperlinks outside of the document navigation. |
|
11-07-2012, 04:38 AM | #4 | ||
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
Quote:
Quote:
Open up a bug report, follow these guidelines for describing the problem and providing data, then attach the file to the bug report. Sorry I couldn't help further. Good Luck. |
||
11-07-2012, 02:22 PM | #5 | ||
Enthusiast
Posts: 27
Karma: 53696
Join Date: Nov 2012
Device: Sony PRS T-1
|
Quote:
I've also tried it in iBooks on an iPad, and it worked very well there. Better than in the android readers. By "better" I mean that there are fewer empty or almost-empty pages, and just flicking through the pages made more sense (I don't understand why this should be different across readers, but I've seen the same effect before). But it fails on my PRS-T1. I wonder if it will work in the previous generation of Sony readers...? I had a PRS-950, but it died the eInk-death that sometimes afflict the ebook readers. Quote:
Thanks for your help, so far. |
||
11-07-2012, 03:06 PM | #6 | |
Enthusiast
Posts: 27
Karma: 53696
Join Date: Nov 2012
Device: Sony PRS T-1
|
Quote:
But the resulting ePub still fails to open on the PRS-T1. It just exits back to the menu, showing this ePub as the most recently read document. |
|
11-07-2012, 03:21 PM | #7 | |
Well trained by Cats
Posts: 29,806
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
This should indicate if it is malformed (but not oversized segments) |
|
11-07-2012, 10:13 PM | #8 |
creator of calibre
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
SONY readers are among the les srobust set of EPUB readers in terms of what markup trips them up. I suggest converting the file to MOBI and then converting the MOBI to epub, that will dumb down the markup enough that the SONY should handle it. You may lose some formatting that MOBI cannot handle, however.
|
11-08-2012, 03:04 AM | #9 | |
Guru
Posts: 776
Karma: 2751519
Join Date: Jul 2010
Location: UK
Device: PW2, Nexus7
|
Quote:
Having spent some time tweaking I was reluctant to lose my efforts by doing another conversion so I checked my book at ePub Validator http://validator.idpf.org/ which located the problems with pinpoint accuracy. The output can be a bit verbose but it certainly shows what's wrong. This may give you a means of fixing your own ePubs and also the info necessary to see whether a change in calibre is required. |
|
11-08-2012, 05:14 AM | #10 |
Well trained by Cats
Posts: 29,806
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Sony uses ADE (Mobile reader) as do many devices like my PEz.
It forgives errors, NOT. Go down to the EPUB forum and read the sticky ADE bugs https://www.mobileread.com/forums/showthread.php?t=94733 (the behavior is a bug, because CSS errors are to be ignored, not cause a crash) forget a semicolon and your whole CSS will/can be ignored (and it is real fun to find without using the validator service . |
11-09-2012, 08:18 AM | #11 | |
Enthusiast
Posts: 27
Karma: 53696
Join Date: Nov 2012
Device: Sony PRS T-1
|
Quote:
Thanks, Kovid! |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
File Won't Open! | jackibar | Sigil | 5 | 03-30-2012 01:00 PM |
After converting to html to epub, file won't open. | Cayo | Sigil | 14 | 06-19-2011 12:01 PM |
PRS-350 Why Won't This PDF File Open on the PRS When It Does on the Kindle? | Prestidigitweeze | Sony Reader | 7 | 05-13-2011 10:37 AM |
Calibre won't upload epub file to PRS-505. | Sarahb69 | Calibre | 2 | 09-12-2010 09:56 AM |
Epub File Won't Open Properly in FBreader | Marcy | PocketBook | 8 | 05-10-2010 07:43 AM |