View Single Post
Old 09-05-2011, 05:56 AM   #1
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
opf file size bug - slow opening ???

this may not strictly be a calibre-only issue but hoping for some clues. esp on how calibre imports / generates .ofp files

I have one frustrating epub novel which takes 20 30 secs to open on my Sony PRS-650. I have spent ages trying to trouble shoot. have converted the epub to txt & back again to remove any junk formatting, have reformatted my sony memory, bug persists only with this one book....

Inspecting the associated opf file in calibre library I see that it contains a huge chunk of text - basically a whole chapter of the book, included in the summary as a free extract.. I'm wondering if that can / should have an impact on opening time. the book opens fine on PC in calibre viewer.

if that is not the answer then I am truly as a loss as to what could survive an ebub to txt to epub conversion & live on to cause trouble ???

it seems that is the cause though: having deleted a big chunk of the metadata in calibre book summary pane, the book is now opening OK on Sony.

any insights gratefully received. I think I can attach the original .opf without breaching any copyrights , so here it is :

PS could someone also clarify how the original .ofp is getting into calibre.

I have a source folder(outside of calibre) with epub, .ofp & jpg files;
I delete the book completely from calibre , then I copy only the source epub file to my desktop & then drag it into calibre, yet it appears in calibre library with a full set of metadata.
So is that stuff also embedded in epub or is calibre finding old data because book was previously in calibre library ?

PPS if I delete metadata then use calibre to search for replacement metadata it find this:

Vengeance Road
Rick Mofina
★★★★
See at: Google, Amazon.com, 9780778326380

and brings down that huge "free extract" of the book within the summary.

so is it "within spec" to have all that data in that file, and thus a ADE/Sony bug which causes the sony reader to choke on it, or is it a mis-use of metdata ?

Last edited by Manichean; 09-05-2011 at 06:46 AM. Reason: Removed Attachment
cybmole is offline   Reply With Quote