Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 05-31-2025, 11:03 AM   #1
shuvashish76
Zealot
shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.
 
shuvashish76's Avatar
 
Posts: 120
Karma: 622202
Join Date: Jan 2022
Location: India
Device: Kobo Clara BW
Failed to embed metadata into PDF

When trying to embed metadata to one PDF it shows following error:

Code:
calibre, version 8.4.0
WARNING: Failed for some files: Failed to embed metadata into some book files. Click "Show details" for details.

The PDF format of Quantum Field Theory, as Simply as Possible:

Traceback (most recent call last):
  File "calibre/utils/podofo/__init__.py", line 36, in set_metadata
  File "calibre/utils/ipc/simple_worker.py", line 255, in fork_job
  File "calibre/utils/ipc/simple_worker.py", line 180, in run_job
  File "calibre/utils/ipc/simple_worker.py", line 119, in communicate
calibre.utils.ipc.simple_worker.WorkerError: Worker failed

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "calibre/customize/ui.py", line 515, in set_file_type_metadata
  File "calibre/customize/builtins.py", line 527, in set_metadata
  File "calibre/ebooks/metadata/pdf.py", line 187, in set_metadata
  File "calibre/utils/podofo/__init__.py", line 40, in set_metadata
Exception: Failed to set PDF metadata in (Quantum Field Theory, as Simply as Possible): Traceback (most recent call last):
  File "calibre/utils/ipc/simple_worker.py", line 303, in main
  File "calibre/utils/podofo/__init__.py", line 97, in set_metadata_
podofo.Error: PdfErrorCode::NoEOFToken, No EOF Marker was found in the PDF file.
Callstack:t#0 Error Source: main/PdfParser.cpp(97), Information: Unable to load objects from file
t#1 Error Source: main/PdfParser.cpp(143), Information: Unable to load xref entries
t#2 Error Source: main/PdfParser.cpp(377)
File: main/PdfParser.cpp Line: 97 Unable to load objects from file
File: main/PdfParser.cpp Line: 143 Unable to load xref entries
File: main/PdfParser.cpp Line: 377

Last edited by shuvashish76; 05-31-2025 at 11:09 AM.
shuvashish76 is offline   Reply With Quote
Old 05-31-2025, 11:35 AM   #2
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,251
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That error indicates the PDF file is corrupted.
kovidgoyal is offline   Reply With Quote
Advert
Old 05-31-2025, 11:54 AM   #3
shuvashish76
Zealot
shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.
 
shuvashish76's Avatar
 
Posts: 120
Karma: 622202
Join Date: Jan 2022
Location: India
Device: Kobo Clara BW
The PDF opens fine on Okular but thanks for the info,
shuvashish76 is offline   Reply With Quote
Old 05-31-2025, 12:55 PM   #4
shuvashish76
Zealot
shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.
 
shuvashish76's Avatar
 
Posts: 120
Karma: 622202
Join Date: Jan 2022
Location: India
Device: Kobo Clara BW
fixed it with https://stirlingpdf.io/repair
shuvashish76 is offline   Reply With Quote
Reply

Tags
metadata, pdf


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Embed metadata to some PDF files fails chris33 Server 1 09-09-2023 10:24 PM
Embed Metadata PDF tomx2 Calibre 14 09-29-2019 01:52 PM
Can't embed metadata or save pdf to disk MarjaE Library Management 0 03-11-2018 05:56 PM
Embed Metadata on PDF crashes BetterRed Calibre 3 11-07-2016 01:27 PM
Failed to embed metadata mihal.v Library Management 6 07-11-2015 12:21 PM


All times are GMT -4. The time now is 06:57 PM.


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