10-19-2010, 04:35 AM | #1 |
Wizard
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
|
[Old Thread] metadata.opf ?
i run the new library check utility & it reports metadata.opf as an invalid author.
sure enough there is a file with that name in the root calibre library folder should I delete that file - I hesitate to mess with anything called metadata ! |
10-19-2010, 04:53 AM | #2 |
Wizard
Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
|
The root folder should only contain metadata.db, so the file is at least out of place. Did you do some manual copying inside the library? What does the metadata inside the metadata.opf look like (open in text editor)?
|
10-19-2010, 05:07 AM | #3 |
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
I too have a metadata.opf in the root of my library. The last time I just deleted it but your question intrigued me so I checked it out prior to deleting it. It turns out it was the last book I added to my library. I'm not sure why calibre stashed it there. Maybe I'll be able to develop a trend as I find these files.
|
10-19-2010, 05:10 AM | #4 | |
Wizard
Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
|
Quote:
|
|
10-19-2010, 06:18 AM | #5 |
Grand Sorcerer
Posts: 11,741
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
That file shouldn't be there. I have seen it, but I haven't yet taken the time to figure out why it appears. If it is the metadata of the last added book, then the problem could be that the backup thread is being asked to backup a book that isn't quite real yet.
You can safely delete the OPF file (not the DB file). Some day I will look for why this happens. |
10-19-2010, 06:18 AM | #6 | |
Wizard
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
|
Quote:
[code] <?xml version='1.0' encoding='utf-8'?> <package xmlns="http://www.idpf.org/2007/opf" unique-identifier="uuid_id"> <metadata xmlns:dc="http://purl.org/dc/elements/1.1/" xmlnspf="http://www.idpf.org/2007/opf"> <dc:identifier opf:scheme="calibre" id="calibre_id">561</dc:identifier> <dc:identifier opf:scheme="uuid" id="uuid_id">8d06c81b-85c6-4031-9e99-71020b7e73d6</dc:identifier> <dc:title>Dead Girls are Easy</dc:title> <dc:contributor opf:file-as="calibre" opf:role="bkp">calibre (0.7.23) [http://calibre-ebook.com]</dc:contributor> <dc:date>2010-10-18T05:55:38+00:00</dc:date> <dc:language>en-GB</dc:language> <meta content="2010-10-18T05:55:38+00:00" name="calibre:timestamp"/> <meta content="Dead Girls are Easy" name="calibre:title_sort"/> </metadata> <guide> <reference href="cover.jpg" type="cover" title="Cover"/> </guide> </package> [code] NB that's a recently added book, but it's not the last one I added Theory - if I added this via the "add all books in a folder" option, maybe my source folder contained 2 files - the book file & this one. Calibre would place it in root directory as it could not see any author or title metadata ? Last edited by cybmole; 10-19-2010 at 06:21 AM. |
|
10-19-2010, 06:28 AM | #7 | |
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
Quote:
Like Chaley, I don't think this is a high priority problem. The first time I ran into it I deleted the file without much thought the next time I just chalked up to a glitch that I could live with. |
|
10-19-2010, 10:35 AM | #8 |
Well trained by Cats
Posts: 29,801
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Hmm. I have another one
Code:
<?xml version='1.0' encoding='utf-8'?> <package xmlns="http://www.idpf.org/2007/opf" unique-identifier="uuid_id"> <metadata xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:opf="http://www.idpf.org/2007/opf"> <dc:identifier opf:scheme="calibre" id="calibre_id">1314</dc:identifier> <dc:identifier opf:scheme="uuid" id="uuid_id">bc2caf28-8858-400f-a224-95f99b5b04dc</dc:identifier> <dc:title>Carousel Tides</dc:title> <dc:contributor opf:file-as="calibre" opf:role="bkp">calibre (0.7.23) [http://calibre-ebook.com]</dc:contributor> <dc:date>2010-10-13T09:03:31+00:00</dc:date> <dc:language>en</dc:language> <meta content="2010-10-13T09:03:31+00:00" name="calibre:timestamp"/> <meta content="Carousel Tides" name="calibre:title_sort"/> <meta name="calibre:user_metadata:#edited" content="{"is_category": false, "colnum": 1, "kind": "field", "is_custom": true, "name": "Edited Format", "#extra#": null, "datatype": "datetime", "rec_index": 20, "search_terms": ["#edited"], "#value#": null, "link_column": "value", "label": "edited", "is_editable": true, "column": "value", "is_multiple": null, "category_sort": "value", "table": "custom_column_1", "display": {"date_format": "MM/dd/yyyy"}}"/> <meta name="calibre:user_metadata:#usertags" content="{"is_category": true, "colnum": 2, "kind": "field", "is_custom": true, "name": "User Tags", "#extra#": null, "datatype": "text", "rec_index": 21, "search_terms": ["#usertags"], "#value#": [], "link_column": "value", "label": "usertags", "is_editable": true, "column": "value", "is_multiple": "|", "category_sort": "value", "table": "custom_column_2", "display": {}}"/> <meta name="calibre:user_metadata:#read" content="{"is_category": false, "colnum": 3, "kind": "field", "is_custom": true, "name": "Read", "#extra#": null, "datatype": "bool", "rec_index": 22, "search_terms": ["#read"], "#value#": null, "link_column": "value", "label": "read", "is_editable": true, "column": "value", "is_multiple": null, "category_sort": "value", "table": "custom_column_3", "display": {}}"/> </metadata> <guide> <reference href="cover.jpg" type="cover" title="Cover"/> </guide> </package> I drag and drop when I add, fixing Metadata as I go I DID edit the tags (list) originally that came with the EPUB file (Baen) |
10-23-2010, 10:14 AM | #9 |
Grand Sorcerer
Posts: 11,741
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
My suspicion was correct. These files are created because the backup task is given a book that is only partially created. The code now ignores such books.
|
10-23-2010, 12:06 PM | #10 |
Well trained by Cats
Posts: 29,801
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
01-31-2012, 05:20 PM | #12 |
Junior Member
Posts: 1
Karma: 10
Join Date: Jan 2012
Device: Pandigital Kindle Reader
|
I want to thank all of you for all your questions and answers. It solved my question. I will delete the metadata.opf file.
------------------------------------------------------------ If I agreed with you, then we'd both be wrong. |
02-01-2012, 02:00 AM | #13 |
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
Since this thread is so old the info here does not apply to any current existing problem. I would like to know what you think this thread helped you solve?
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Old Thread] What's an OPF file? | Anarel | Calibre | 8 | 03-28-2016 05:17 PM |
OPF metadata for dc:author | miwie | Recipes | 3 | 11-24-2010 02:06 AM |
What is metadata.opf | jla888 | Calibre | 5 | 10-14-2010 05:46 PM |
Mobigen opf metadata | tibiafry | Kindle Formats | 2 | 04-15-2009 04:07 AM |