View Single Post
Old 07-11-2015, 03:50 AM   #3
canpolat
Connoisseur
canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.canpolat for a long time would go to bed early.
 
Posts: 92
Karma: 17950
Join Date: Mar 2013
Device: Xodo
I also have this problem with some of the PDFs in my library.

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

The PDF format of İskandinav Hikâyeleri Antolojisi:

Traceback (most recent call last):
  File "/usr/lib/calibre/calibre/customize/ui.py", line 365, in set_file_type_metadata
    plugin.set_metadata(stream, mi, ftype.lower().strip())
  File "/usr/lib/calibre/calibre/customize/builtins.py", line 502, in set_metadata
    set_metadata(stream, mi)
  File "/usr/lib/calibre/calibre/ebooks/metadata/pdf.py", line 160, in set_metadata
    return podofo_set_metadata(stream, mi)
  File "/usr/lib/calibre/calibre/utils/podofo/__init__.py", line 41, 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 (İskandinav Hikâyeleri Antolojisi): Traceback (most recent call last):
  File "/usr/lib/calibre/calibre/utils/ipc/simple_worker.py", line 274, in main
    res = {'result':func(*args, **kwargs)}
  File "/usr/lib/calibre/calibre/utils/podofo/__init__.py", line 57, in set_metadata_
    p.open(u'input.pdf')
Error: An internal error occurred.
Here is an example file: [Removed the file since the problem is solved.]

I have this problem in multiple files. I wonder if there is a way to fix this?

Last edited by canpolat; 07-11-2015 at 11:25 AM. Reason: Removed file link.
canpolat is offline   Reply With Quote