Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 05-21-2020, 04:09 PM   #1
liametoh
Junior Member
liametoh began at the beginning.
 
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.
The same happens when trying to export to a disk the file and calibre try to export the metadata.opf to the pdf.
liametoh is offline   Reply With Quote
Old 05-21-2020, 11:05 PM   #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
Your version of calibre is ancient, update. Although that error indicates a malformed PDF file.
kovidgoyal is offline   Reply With Quote
Advert
Reply


Forum Jump

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 11:20 AM
OPF file to Metadata? botmtl Development 4 10-09-2017 02:04 PM
No metadata.opf file. Why? chaot Library Management 6 06-30-2015 05:48 AM
Kobo - OPF file Error RZetlin Calibre 6 06-11-2014 05:49 PM
ePub OPF file error soulartist ePub 4 10-03-2011 05:09 PM


All times are GMT -4. The time now is 09:46 AM.


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