View Single Post
Old 06-12-2010, 11:08 PM   #1
capidamonte
Not who you think I am...
capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.
 
capidamonte's Avatar
 
Posts: 374
Karma: 30283
Join Date: Jan 2010
Location: Honolulu
Device: PocketBook 360 -- Ivory
eBook Viewer recompressing in a non-standard way?

I'm creating some ePubs via script. They pass ePubCheck validation. They read fine, and seem to be constructed properly.

If I open and close the ePub with Calibre's Viewer, however, I cannot thereafter extract the archive nor read any file in it -- except that I can get a listing/directory structure. If I don't use the Viewer, I can reopen, edit, and recompress at will.

My archiver complains as follows when I try to examine content.opf:
Code:
7-Zip 9.04 beta  Copyright (c) 1999-2009 Igor Pavlov  2009-05-30
p7zip Version 9.04 (locale=en_US.utf8,Utf16=on,HugeFiles=on,2 CPUs)

Processing archive: /home/cap/Desktop/SHARED/Library/Stout_Rex/NeroWolfe/20_PrisonersBase/PrisonersBase.epub

Extracting  content.opf     Unsupported Method

Sub items Errors: 1
ePubCheck validates the file after the Viewer is done, so there's obviously something different in how the files are being decompressed between apps.

"Unsupported Method" is a dead giveaway that it is not a bug, just a difference.

This does not happen if I open it with FBreader first -- only with eBook Viewer.

I'm on Ubuntu 10.04, using Calibre 0.7.2.

Any thoughts on how I can access these "View"ed ePubs?

cap
capidamonte is offline   Reply With Quote