View Single Post
Old 06-17-2011, 07:25 PM   #3
valunthar
Junior Member
valunthar has a spectacular aura aboutvalunthar has a spectacular aura aboutvalunthar has a spectacular aura aboutvalunthar has a spectacular aura aboutvalunthar has a spectacular aura aboutvalunthar has a spectacular aura aboutvalunthar has a spectacular aura aboutvalunthar has a spectacular aura aboutvalunthar has a spectacular aura aboutvalunthar has a spectacular aura aboutvalunthar has a spectacular aura about
 
Posts: 6
Karma: 4264
Join Date: May 2011
Device: Paperwhite V1
Unfortunately, because I'm doing this through the linux command line the only error message that I get does not include the file name. Instead I get something like this

Code:
Backing up metadata
Notifying calibre of the change
Error: May not be a PDF file (continuing anyway)
Error: PDF file is damaged - attempting to reconstruct xref table...
Error: Couldn't find trailer dictionary
Error: Couldn't read xref table
Traceback (most recent call last):
  File "site-packages/calibre/customize/ui.py", line 312, in get_file_type_metadata
  File "site-packages/calibre/customize/builtins.py", line 347, in get_metadata
  File "site-packages/calibre/ebooks/metadata/pdf.py", line 25, in get_metadata
RuntimeError: Failed to open PDF file with error code: 3
And considering that this folder contains a very large number of ebooks, it would be quite hard to go through and check each file manually.
valunthar is offline   Reply With Quote