![]() |
#1 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,251
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
That error indicates the PDF file is corrupted.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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,
|
![]() |
![]() |
![]() |
#4 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 120
Karma: 622202
Join Date: Jan 2022
Location: India
Device: Kobo Clara BW
|
fixed it with https://stirlingpdf.io/repair
|
![]() |
![]() |
![]() |
Tags |
metadata, pdf |
|
![]() |
||||
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 |