View Single Post
Old 06-12-2010, 11:44 PM   #3
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,099
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by capidamonte View Post
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
Maybe that version of 7-zip has problems.

I can open a Calibre (viewer modified) EPUB with the standard Ubuntu (Lucid 32 bit) Archive Manager.
theducks is offline   Reply With Quote