|
|
#1 |
|
Junior Member
![]() Posts: 1
Karma: 10
Join Date: May 2020
Device: none
|
Error while exporting opf metadata into pdf file
Hi, I want to export the metadata into de opf file to the pdf associated.
The problem is when I tried this get the following error: Code:
calibre, version 2.75.1
WARNING: Error while saving: Failed to update metadata in some books, click "Show details" for more information
Failed to update the metadata in the PDF format of: Understanding Analysis, 2ndEd by Abbott, Stephen, with error:
Traceback (most recent call last):
File "/usr/lib/calibre/calibre/customize/ui.py", line 438, in set_file_type_metadata
plugin.set_metadata(stream, mi, ftype.lower().strip())
File "/usr/lib/calibre/calibre/customize/builtins.py", line 541, in set_metadata
set_metadata(stream, mi)
File "/usr/lib/calibre/calibre/ebooks/metadata/pdf.py", line 175, in set_metadata
return podofo_set_metadata(stream, mi)
File "/usr/lib/calibre/calibre/utils/podofo/__init__.py", line 44, in set_metadata
raise Exception('Failed to set PDF metadata in (%s): %s'%(mi.title, e.orig_tb))
Exception: Failed to set PDF metadata in (Understanding Analysis, 2ndEd): Traceback (most recent call last):
File "/usr/lib/calibre/calibre/utils/ipc/simple_worker.py", line 286, in main
res = {'result':func(*args, **kwargs)}
File "/usr/lib/calibre/calibre/utils/podofo/__init__.py", line 61, in set_metadata_
p.open(u'input.pdf')
Error: A object was expected but not found.
|
|
|
|
|
|
#2 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609
Karma: 28549044
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Your version of calibre is ancient, update. Although that error indicates a malformed PDF file.
|
|
|
|
| Advert | |
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| ePub3 to Mobi Error - Error(prcgen):E21027: Epub file has more than one opf file | dtsmith | Kindle Formats | 4 | 01-30-2018 12:20 PM |
| OPF file to Metadata? | botmtl | Development | 4 | 10-09-2017 03:04 PM |
| No metadata.opf file. Why? | chaot | Library Management | 6 | 06-30-2015 06:48 AM |
| Kobo - OPF file Error | RZetlin | Calibre | 6 | 06-11-2014 06:49 PM |
| ePub OPF file error | soulartist | ePub | 4 | 10-03-2011 06:09 PM |