View Single Post
Old 06-14-2010, 09:12 PM   #1
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Question Epub/Mobi TO pdf conversion problem

Hi:

And now for something completely different--I need to convert either epub or mobi format to pdf to send to my author client as a printable mechanism for her to proof (like a galley). Each time I've tried to convert an epub or mobi to pdf, I get an error message, the relevant portion of which seems to be this:

Code:
Creating PDF Output...
Converting input as a text based book...
Serializing oeb input to disk for processing...
Python function terminated unexpectedly
  'OptionValues' object has no attribute 'preserve_cover_aspect_ratio' (Error Code: 1)
Traceback (most recent call last):
  File "site.py", line 103, in main
  File "site.py", line 85, in run_entry_point
  File "site-packages\calibre\utils\ipc\worker.py", line 99, in main
  File "site-packages\calibre\gui2\convert\gui_conversion.py", line 24, in gui_convert
  File "site-packages\calibre\ebooks\conversion\plumber.py", line 919, in run
  File "site-packages\calibre\ebooks\pdf\output.py", line 88, in convert
  File "site-packages\calibre\ebooks\pdf\output.py", line 98, in convert_text
  File "site-packages\calibre\ebooks\epub\output.py", line 170, in insert_cover
AttributeError: 'OptionValues' object has no attribute 'preserve_cover_aspect_ratio'
I have absolutely no idea what I should be doing to resolve the aspect ration attribute. My covers are placed in Sigil, not via Calibre. Is that the issue? Input, anyone? Neither she nor any of my other backlist clients use desktop readers, or will proof via monitor.

Thanks in advance,

Hitch
Hitch is offline   Reply With Quote