View Single Post
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