Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 06-16-2015, 01:06 PM   #1
chaot
Head of lunatic asylum
chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.
 
chaot's Avatar
 
Posts: 349
Karma: 77620
Join Date: Jun 2012
Location: UTC +1
Device: Tolino Vision 3HD
How to take over changed metadata in view mode?

Hallo.

Changed metadata (title, author) will not be taken over automatically in the view mode. So far, I do that with Convert books/Bulk convert and convert to the same format again (.epub). After that I have to delete the Original EPUB with Remove books/Remove files of a specific format from selected books.

But all that takes a very long time and strain the PC hardly, which I notice from the swelling fan noise.

Is there another way to do the business? I got to many books to convert - it will destroy my PC, I fear.

Last edited by chaot; 06-16-2015 at 01:12 PM.
chaot is offline   Reply With Quote
Old 06-16-2015, 01:13 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)
Use the Embed Metadata feature.
eschwartz is offline   Reply With Quote
Advert
Old 06-16-2015, 01:34 PM   #3
chaot
Head of lunatic asylum
chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.
 
chaot's Avatar
 
Posts: 349
Karma: 77620
Join Date: Jun 2012
Location: UTC +1
Device: Tolino Vision 3HD
I found embed-metadata, but don't know how to do!
chaot is offline   Reply With Quote
Old 06-16-2015, 01:59 PM   #4
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)
There is a corresponding toolbar button.
You may need to add it under Preferences.
eschwartz is offline   Reply With Quote
Old 06-17-2015, 06:37 AM   #5
chaot
Head of lunatic asylum
chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.
 
chaot's Avatar
 
Posts: 349
Karma: 77620
Join Date: Jun 2012
Location: UTC +1
Device: Tolino Vision 3HD
Question

Okay, but it would also be nice if we could find anything in the manual about it!?

I got a lot of books, which I all gradually editing and then doing irregular backups, depending on the processing progress. Now I wanted my library to bring up to date with this Embed metadata feature (choosed all books at once). Between the two following screenshots 30 minutes passed, then I stopped (Stop). It didn't strain the PC.

Click image for larger version

Name:	Embedding updated metadata into book files_start.png
Views:	169
Size:	8.0 KB
ID:	139384 Click image for larger version

Name:	Embedding updated metadata into book files_40%.png
Views:	148
Size:	8.4 KB
ID:	139386

New approach, with a selection of 996 books (maybe problematic ones, 5 formats).

Click image for larger version

Name:	Choose formats to be updated.png
Views:	161
Size:	27.9 KB
ID:	139387
Embed metadata → Embed metadata into files of a specific format from selected books (all formats choosed).

After processing there are 5 error messages.

Click image for larger version

Name:	WARNING_Failed for some files.png
Views:	199
Size:	50.4 KB
ID:	139390 Click image for larger version

Name:	WARNING_Failed for some files_in calibre main window.png
Views:	161
Size:	21.3 KB
ID:	139389
Excerpt

And as text document.
Quote:
The EPUB format of Ein Herz so kalt:

Traceback (most recent call last):
File "site-packages/calibre/customize/ui.py", line 365, in set_file_type_metadata
File "site-packages/calibre/customize/builtins.py", line 438, in set_metadata
File "site-packages/calibre/ebooks/metadata/epub.py", line 294, in set_metadata
File "site-packages/calibre/ebooks/metadata/epub.py", line 138, in get_zip_reader
File "site-packages/calibre/ebooks/metadata/epub.py", line 125, in __init__
File "site-packages/calibre/ebooks/metadata/epub.py", line 95, in __init__
EPubException: missing OCF container.xml file


The EPUB format of georgwilhelmfri32hegegoog:

Traceback (most recent call last):
File "site-packages/calibre/customize/ui.py", line 365, in set_file_type_metadata
File "site-packages/calibre/customize/builtins.py", line 438, in set_metadata
File "site-packages/calibre/ebooks/metadata/epub.py", line 294, in set_metadata
File "site-packages/calibre/ebooks/metadata/epub.py", line 138, in get_zip_reader
File "site-packages/calibre/ebooks/metadata/epub.py", line 125, in __init__
File "site-packages/calibre/ebooks/metadata/epub.py", line 98, in __init__
File "site-packages/calibre/ebooks/metadata/epub.py", line 129, in open
File "site-packages/calibre/utils/localunzip.py", line 241, in open
TypeError: 'NoneType' object is not iterable


The EPUB format of Wells, Dan-Mr. Monster:

Traceback (most recent call last):
File "site-packages/calibre/customize/ui.py", line 365, in set_file_type_metadata
File "site-packages/calibre/customize/builtins.py", line 438, in set_metadata
File "site-packages/calibre/ebooks/metadata/epub.py", line 294, in set_metadata
File "site-packages/calibre/ebooks/metadata/epub.py", line 138, in get_zip_reader
File "site-packages/calibre/ebooks/metadata/epub.py", line 125, in __init__
File "site-packages/calibre/ebooks/metadata/epub.py", line 95, in __init__
EPubException: missing OCF container.xml file


The EPUB format of Grange,Jean Christop-Choral des Todes:

Traceback (most recent call last):
File "site-packages/calibre/customize/ui.py", line 365, in set_file_type_metadata
File "site-packages/calibre/customize/builtins.py", line 438, in set_metadata
File "site-packages/calibre/ebooks/metadata/epub.py", line 294, in set_metadata
File "site-packages/calibre/ebooks/metadata/epub.py", line 137, in get_zip_reader
File "site-packages/calibre/utils/localunzip.py", line 234, in __init__
File "site-packages/calibre/utils/localunzip.py", line 210, in _extractall
ValueError: Not a ZIP file


The EPUB format of Ich bin kein Serienkiller:

Traceback (most recent call last):
File "site-packages/calibre/customize/ui.py", line 365, in set_file_type_metadata
File "site-packages/calibre/customize/builtins.py", line 438, in set_metadata
File "site-packages/calibre/ebooks/metadata/epub.py", line 294, in set_metadata
File "site-packages/calibre/ebooks/metadata/epub.py", line 138, in get_zip_reader
File "site-packages/calibre/ebooks/metadata/epub.py", line 125, in __init__
File "site-packages/calibre/ebooks/metadata/epub.py", line 95, in __init__
EPubException: missing OCF container.xml file
I would like to discuss with you (this refers to everyone, not just eschwartz) the errors - that is probably a tough affair because there are other messages if open these books in Edit book or View mode (not all possible to view).

Is there any interest?

Last edited by chaot; 06-17-2015 at 06:54 AM.
chaot is offline   Reply With Quote
Advert
Old 06-17-2015, 09:04 AM   #6
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)
Sounds like the EPUBs in question are corrupted. There is nothing calibre can do.

Try to find an intact backup? Alternatively, there are various programs that can attempt to repair zip files... depending on just what is wrong.
eschwartz is offline   Reply With Quote
Old 06-17-2015, 05:49 PM   #7
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,731
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@chaot - If you can extract the xhtml files and they have sensible names you maybe be able to reconstruct the broken epubs via an epub editor.

I suggest you 'validate' all your epubs with the Quality Check plugin. Here's a few of the problems it can detect

Quote:
Find ePub formats that are invalid due to a missing container.xml file
Find ePub formats with invalid namespaces specified in the container or opf manifest
Find ePub formats that have non dc: namespace elements in the manifest
I would move the broken epubs into a separate "Sort out later" physical library.

BR
BetterRed is offline   Reply With Quote
Old 06-17-2015, 06:03 PM   #8
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)
At least one file is erroring on "not a valid zip file".
eschwartz is offline   Reply With Quote
Old 06-17-2015, 07:47 PM   #9
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,731
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by eschwartz View Post
At least one file is erroring on "not a valid zip file".
sometimes you can 'extract' individual files out of broken zips. I've had luck with Peazip on a couple of broken epubs - the body files were ok it was the encumbrances that I couldn't get - cover images. content.opf etc.

Had to extract them like they were hen's teeth, one at a time, via dragon droppings

BR

Last edited by BetterRed; 06-17-2015 at 07:49 PM.
BetterRed is offline   Reply With Quote
Old 06-18-2015, 04:44 AM   #10
chaot
Head of lunatic asylum
chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.
 
chaot's Avatar
 
Posts: 349
Karma: 77620
Join Date: Jun 2012
Location: UTC +1
Device: Tolino Vision 3HD
Good Morning eschwartz, BetterRed.

Please understand, I need time to get it all set up and develop. And your remarks are very helpful there. So not be discouraged if I do not always reflect as soon as you.

I could just say: Get rid of it, are not interesting books anyway. But that would be unsportsmanlike.

Last edited by chaot; 06-18-2015 at 04:47 AM.
chaot is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Struggling with changed split-view MacEachaidh Sigil 5 03-11-2013 01:20 PM
KOBO WIFI resetting view mode blastyrant Kobo Reader 1 08-24-2011 11:15 AM
Metadata changed with Calibre will not last tao Calibre 2 05-17-2010 04:08 AM
Changing font for code view mode matthewyi Sigil 2 11-05-2009 02:20 PM
iLiad continuous mode and column view in ipdf alanine iRex Developer's Corner 16 01-29-2009 05:11 PM


All times are GMT -4. The time now is 10:01 AM.


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