Thread: PRS-600 protected page error
View Single Post
Old 12-18-2009, 12:57 PM   #12
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,878
Karma: 6120478
Join Date: Nov 2009
Device: many
Size of html files in epub

Quote:
Originally Posted by Desdemica View Post
I'm chiming in because I'm having the same problem today with my PRS-600--only backwards. I checked out public library books last night, 3 .pdfs and one epub. They all show up fine in both the new Sony library program and in Adobe Digital, and my reader is authorized. But on the reader itself, although the files are there, I get the "protected page!" error for all of the .pdfs, but can read the epub just fine. Weird, huh? I should also mention that I have a couple of non-protected .pdf files on the reader of my own, and can also read those with no problem.

I will try transferring the unreadable ones to an SD card. Thanks for the tip.
I have seen a similar issue with an epub I created myself. That error meant that the uncompressed size of the xhtml file was simply too large for the Sony's memory to process all at once. If you read Adobe's guide to making good Epubs they say that each xhtml file used in the book must be when uncompressed must by less than 300k and when compressed less than 100k.

Here is what SAdobe's EPUBBestPractices-1_0_2.epub says:

"Note that Adobe Digital Editions has the following limitations when running on a mobile device;

Image Size: 10MB uncompressed.

XHTML/DTBook file size: 300k uncompressed/100k compressed.

Lots of people are unaware of this limitation when they create epubs and so the epubs will not work with the Sony reader (and other mobile devices). These same epubs will work in desktop ADE becasue they don't have the memory limitation on the size of the xhtml file."


One way to check is to unzip the epub and simply look at the sizes in bytes of the files that are unpacked. If any are greater than 300k then that is the issue, if not, then you need to verify that when compressed they are not more than 100k.

If the epubs are not drm protected, then you can use Calibre or Sigil to add appropriate chapter breaks to clean things up and make a working epub. I did this with my own epub book and the error went away just fine and everything worked.

If it is drm protected then you are out of luck and must just read the epub on your desktop (or strip the drm - which is illegal in most countries).

Hope this helps,

KevinH.

Last edited by KevinH; 12-18-2009 at 01:00 PM. Reason: added a reference to the size limitation
KevinH is offline   Reply With Quote