Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 11-20-2014, 05:45 PM   #1
Eagleone 55
Junior Member
Eagleone 55 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Nov 2014
Device: Kindle eink
Angry Calibre OPF File help

I kinda messed up and made the Opf file open with notepad (I needed to change the info inside of this file) Now it will not upload to calibre the info inside ANY opf. How can I fix this?
Thanks
Chris

There are 3 item that make up a calibre record. The first is the ebook, the second is the cover, the 3rd is an OPF file which contains all the text that show up when you download all the metadata for a ebook (or in my case a Mobi, or an AZW book

Last edited by Eagleone 55; 11-20-2014 at 05:53 PM.
Eagleone 55 is offline   Reply With Quote
Old 11-20-2014, 05:49 PM   #2
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
What OPF, and what are you trying to do with it? Can you explain more?

I am not clear on what happened.
eschwartz is offline   Reply With Quote
Advert
Old 11-20-2014, 05:57 PM   #3
Eagleone 55
Junior Member
Eagleone 55 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Nov 2014
Device: Kindle eink
Calibre OPF file

Quote:
Originally Posted by eschwartz View Post
What OPF, and what are you trying to do with it? Can you explain more?

I am not clear on what happened.
There are 3 item that make up a calibre record. The first is the ebook, the second is the cover, the 3rd is an OPF file which contains all the text that show up when you download all the metadata for a ebook (or in my case a Mobi, or an AZW book. I made the Opf NOT upload any MEtadata by making it a .txt file instead of what it is supposed to open with. What I am trying to do is get it to open with the right application within Calibre.
I hope I am explaining it right.
Eagleone 55 is offline   Reply With Quote
Old 11-20-2014, 06:12 PM   #4
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,733
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by Eagleone 55 View Post
There are 3 item that make up a calibre record. The first is the ebook, the second is the cover, the 3rd is an OPF file which contains all the text that show up when you download all the metadata for a ebook (or in my case a Mobi, or an AZW book. I made the Opf NOT upload any MEtadata by making it a .txt file instead of what it is supposed to open with. What I am trying to do is get it to open with the right application within Calibre.
I hope I am explaining it right.
I assume you refer to the metadata.opf file

You should not change, delete or rename ANY files in the library, author and book folders directly - look but don't touch.

The metadata.opf files exist for one purpose only, to restore/rebuild the main database should that ever be needed - I've been using calibre for almost three years, I have never needed to rebuild a database.

Delete the opf file and the .txt file, then make some trivial change to the book metadata - e.g. change the rating, add a tag... and save the metadata. That will create a new metadata.opf file

Now what are you actually trying to do?

Moderator Notice
Moved to main calibre form - Recipes is about Fetching News


BR

Last edited by BetterRed; 11-20-2014 at 06:16 PM.
BetterRed is offline   Reply With Quote
Old 11-20-2014, 06:16 PM   #5
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
That OPF file is a backup of the metadata in the database. It should be left alone, the only thing renaming it will do is leave an orphaned file in your calibre library -- and deprive you of the backup. Fortunately, calibre will recreate it next time you edit the metadata.

It is not meant to be opened in the viewer either. In fact, it is not shown in the UI at all.


What are you trying to accomplish here? There is probably a better way.

Last edited by eschwartz; 11-20-2014 at 06:18 PM.
eschwartz is offline   Reply With Quote
Advert
Old 11-20-2014, 07:30 PM   #6
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,064
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
BR's advice will restore the file you corrupted.

In windows, you can change the default application.

Control Panel: Default Programs: Set associations:
(follow the tip: I suggest a Text editor like Notepad )

To clear all associations, I believe a Regedit will be needed (not recommended for novices)
theducks is offline   Reply With Quote
Old 11-20-2014, 08:12 PM   #7
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,531
Karma: 78910202
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
http://www.thewindowsclub.com/change...ations-windows might provide some pointers on managing associations.
PeterT is offline   Reply With Quote
Old 11-21-2014, 04:20 AM   #8
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,897
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
Having your opf files set to open with notepad will in no way hinder the operation of calibre. I have my opf files set to open with Notepad++.
DoctorOhh is offline   Reply With Quote
Old 11-21-2014, 06:37 PM   #9
toomuchreading
Groupie
toomuchreading once ate a cherry pie in a record 7 seconds.toomuchreading once ate a cherry pie in a record 7 seconds.toomuchreading once ate a cherry pie in a record 7 seconds.toomuchreading once ate a cherry pie in a record 7 seconds.toomuchreading once ate a cherry pie in a record 7 seconds.toomuchreading once ate a cherry pie in a record 7 seconds.toomuchreading once ate a cherry pie in a record 7 seconds.toomuchreading once ate a cherry pie in a record 7 seconds.toomuchreading once ate a cherry pie in a record 7 seconds.toomuchreading once ate a cherry pie in a record 7 seconds.toomuchreading once ate a cherry pie in a record 7 seconds.
 
toomuchreading's Avatar
 
Posts: 181
Karma: 1720
Join Date: Feb 2009
Location: Canada
Device: PRS-T1, Kobo Libre Color
Quote:
Originally Posted by Eagleone 55 View Post
I kinda messed up and made the Opf file open with notepad (I needed to change the info inside of this file) Now it will not upload to calibre the info inside ANY opf. How can I fix this?
Thanks
There was a bug in the last version of Calibre which was loading the OPF files as actual books, and basically ignoring the information in the file. If you want Calibre to pay attention to the OPF file when you load the book to load the metadata, and you have the 2.10 version, upgrade to the newest version that was released today, which should fix the issue, if I'm understanding what you are trying to do.

Last edited by DoctorOhh; 11-21-2014 at 08:08 PM. Reason: Fixed close quote
toomuchreading is offline   Reply With Quote
Old 11-21-2014, 08:54 PM   #10
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,364
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
The bug did not cause calibre to ignore the information in the OPF file, simply to add it as an extra format.
kovidgoyal is online now   Reply With Quote
Old 11-21-2014, 10:49 PM   #11
toomuchreading
Groupie
toomuchreading once ate a cherry pie in a record 7 seconds.toomuchreading once ate a cherry pie in a record 7 seconds.toomuchreading once ate a cherry pie in a record 7 seconds.toomuchreading once ate a cherry pie in a record 7 seconds.toomuchreading once ate a cherry pie in a record 7 seconds.toomuchreading once ate a cherry pie in a record 7 seconds.toomuchreading once ate a cherry pie in a record 7 seconds.toomuchreading once ate a cherry pie in a record 7 seconds.toomuchreading once ate a cherry pie in a record 7 seconds.toomuchreading once ate a cherry pie in a record 7 seconds.toomuchreading once ate a cherry pie in a record 7 seconds.
 
toomuchreading's Avatar
 
Posts: 181
Karma: 1720
Join Date: Feb 2009
Location: Canada
Device: PRS-T1, Kobo Libre Color
I stand corrected. Thanks Kovid for the clarification.
toomuchreading is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
When adding books, Calibre is loading OPF file toomuchreading Library Management 2 11-18-2014 04:09 PM
How to delete/suppress Calibre-specific metadata in .opf file? Doitsu Calibre 1 10-30-2012 06:31 AM
TWO OPF files or something like Media Queries in the OPF file for KF8 and MOBI? DHahn Kindle Formats 3 04-17-2012 04:06 AM
Can I cut and paste the Calibre opf into the ePub opf? wannabee ePub 0 07-12-2011 02:09 AM
OPF file OPS/package.opf is missing Run2Eat ePub 2 05-31-2011 06:52 PM


All times are GMT -4. The time now is 08:19 AM.


MobileRead.com is a privately owned, operated and funded community.