Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 08-10-2019, 12:13 PM   #1
un_pogaz
Chalut o/
un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.
 
un_pogaz's Avatar
 
Posts: 437
Karma: 145424
Join Date: Dec 2017
Device: Kobo
[BUG] Embed metadata

I encountered a bug when I wanted to embed metadata.
Spoiler:
calibre, version 3.46.0
WARNING: Failed for some files: Failed to embed metadata into some book files. Click "Show details" for details.

The EPUB format of Alexandra-Ivy-Gardiens-de-léternité-T8.5-Luc:

Traceback (most recent call last):
File "site-packages\calibre\customize\ui.py", line 447, in set_file_type_metadata
File "site-packages\calibre\customize\builtins.py", line 467, in set_metadata
File "site-packages\calibre\ebooks\metadata\epub.py", line 301, in set_metadata
File "site-packages\calibre\ebooks\metadata\opf.py", line 113, in set_metadata
File "site-packages\calibre\ebooks\metadata\opf.py", line 100, in set_metadata_opf3
File "site-packages\calibre\ebooks\metadata\opf3.py", line 1034, in apply_metadata
File "site-packages\calibre\ebooks\metadata\opf3.py", line 385, in set_title
File "src/lxml/lxml.etree.pyx", line 1523, in lxml.etree._Element.makeelement (src\lxml\lxml.etree.c:58826)
File "src/lxml/apihelpers.pxi", line 105, in lxml.etree._makeElement (src\lxml\lxml.etree.c:17761)
File "src/lxml/apihelpers.pxi", line 1630, in lxml.etree._tagValidOrRaise (src\lxml\lxml.etree.c:34314)
ValueError: Invalid tag name u'dc:title'

Apparently, a guy managed to make an ePub without <title> (and quite a few errors in the OPF)
Calibre does not seem to be able to manage this absence (which was totally unlikely).
un_pogaz is offline   Reply With Quote
Old 08-10-2019, 12:26 PM   #2
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: 30,924
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
I don't think this is about the <title> tag

The OPF is bad
Code:
<dc:title>This one is Dangerous when missing</dc:title>
theducks is online now   Reply With Quote
Advert
Old 08-10-2019, 12:46 PM   #3
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,231
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
https://github.com/kovidgoyal/calibr...ad753b77132e49
kovidgoyal is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Embed Comic Metadata dickloraine Plugins 114 07-14-2024 09:21 AM
Where is the embed metadata command? SCOTTMD43 Calibre 4 05-04-2016 07:32 AM
embed metadata option mytrivo Library Management 3 06-24-2015 01:34 AM
Troubleshooting Pdf Embed Bug fraincs Amazon Kindle 5 02-04-2011 09:49 AM
Request enTourage should embed some automatic bug report function henry_moh enTourage Archive 0 11-05-2010 02:06 PM


All times are GMT -4. The time now is 04:30 PM.


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