Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 06-14-2010, 10: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: 2,595
Karma: 14407089
Join Date: Apr 2010
Location: Phoenix, AZ
Device: Kindle2, iPad, KindleFire and NookColor
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
Old 06-14-2010, 11:23 PM   #2
capidamonte
Not who you think I am...
capidamonte , Klaatu Barada Niktu!capidamonte , Klaatu Barada Niktu!capidamonte , Klaatu Barada Niktu!capidamonte , Klaatu Barada Niktu!capidamonte , Klaatu Barada Niktu!capidamonte , Klaatu Barada Niktu!capidamonte , Klaatu Barada Niktu!capidamonte , Klaatu Barada Niktu!capidamonte , Klaatu Barada Niktu!capidamonte , Klaatu Barada Niktu!capidamonte , Klaatu Barada Niktu!
 
capidamonte's Avatar
 
Posts: 346
Karma: 5337
Join Date: Jan 2010
Location: Honolulu
Device: Sony PRS-350
It may be a bug, but there may be a workaround...

Look in Preferences --> Conversion --> PDF Output (you have to scroll far to the right to find the tab) and see if the Preserve Aspect Ration of Cover checkbox is ticked.

If it is, untick it and try again.

cap

Last edited by capidamonte; 06-16-2010 at 12:08 AM.
capidamonte is offline   Reply With Quote
Old 06-15-2010, 03:26 AM   #3
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: 2,595
Karma: 14407089
Join Date: Apr 2010
Location: Phoenix, AZ
Device: Kindle2, iPad, KindleFire and NookColor
Quote:
Originally Posted by capidamonte View Post
It may be a bug, but there may be a workaround...

Look in Preferences --> Conversion --> PDF Output (you have to scroll far to the right to find the tab) and see if the Preserve Aspect Ration of Cover checkbox is ticked.

If it is, untick it and try again.

m a r
Hi, Cap:

I would if I could, but there is no "Preserve Aspect Ration of Cover" for pdf output. ;-)

Are you following me around? {grin}

I realize that nobody else on the planet probably ever got this error, because nobody else is trying to convert TO pdf, but, {sigh}, such is my fate. Any other takers?

Hitch
Hitch is offline   Reply With Quote
Old 06-15-2010, 07:35 AM   #4
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 8,889
Karma: 12755553
Join Date: Feb 2009
Location: North Carolina
Device: Nexus 7
Quote:
Originally Posted by Hitch View Post
I would if I could, but there is no "Preserve Aspect Ration of Cover" for pdf output.
I'm using (Windows XP) Calibre 0.7.2 and there is a Preserve Aspect Ratio of Cover checkbox in the PDF output.

Update: See attached images.
Attached Thumbnails
Click image for larger version

Name:	Calibre_pdf_output1.png
Views:	172
Size:	48.7 KB
ID:	53384   Click image for larger version

Name:	Calibre_pdf_output2.png
Views:	146
Size:	43.8 KB
ID:	53385  

Last edited by DoctorOhh; 06-15-2010 at 07:41 AM.
DoctorOhh is offline   Reply With Quote
Old 06-15-2010, 06:28 PM   #5
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: 2,595
Karma: 14407089
Join Date: Apr 2010
Location: Phoenix, AZ
Device: Kindle2, iPad, KindleFire and NookColor
Quote:
Originally Posted by dwanthny View Post
I'm using (Windows XP) Calibre 0.7.2 and there is a Preserve Aspect Ratio of Cover checkbox in the PDF output.

Update: See attached images.
Dang, I was only one version behind! Calibre 0.7.1 apparently didn't have the "preserve aspect ratio of cover" option, but, indeedy, 0.7.2 does and the pdf conversion worked, although I'll have to work on the options, like borders, etc., so my client can print the thing. The output was odd, albeit readable and printable (I think wrt the latter).

Thank you VERY much, both of you!

Hitch
Hitch is offline   Reply With Quote
Reply

Tags
convert to pdf

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PDF-to-mobi conversion problem ruffunatio Calibre 3 09-26-2010 04:01 PM
epub to mobi conversion problem. lutwey Calibre 0 09-18-2010 12:51 PM
Cbr\Cbz to Mobi Conversion Problem arktoga Calibre 0 07-22-2010 09:37 AM
Pdf to Mobi/Epub Format Problem. dubmehard Calibre 4 02-19-2010 02:53 PM
PDF to Mobi conversion problem DavidJD Calibre 6 10-04-2009 12:27 PM


All times are GMT -4. The time now is 05:42 PM.


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