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 05-23-2010, 03:27 PM   #1
gauravj
Junior Member
gauravj began at the beginning.
 
Posts: 2
Karma: 10
Join Date: May 2010
Device: Ipad
Error converting to PDF from EPub and PRC

Hi,
I have been trying to convert an ebook from the PRC format to PDF and I keep getting the error mentioned below. I'm not changing any options/settings - everything is at default. (Of course, I had to change the output format to PDF).

<lots of stuff logged before this, then:>

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'


Could you please help?

Thanks.
gauravj is offline   Reply With Quote
Old 05-23-2010, 03:34 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: 43,776
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
this is a bug in the current release, will be fixed in the next release. You can downgrade toa previous release in the meantime.
kovidgoyal is offline   Reply With Quote
Advert
Old 05-23-2010, 05:17 PM   #3
gauravj
Junior Member
gauravj began at the beginning.
 
Posts: 2
Karma: 10
Join Date: May 2010
Device: Ipad
Thanks, that worked.
gauravj is offline   Reply With Quote
Old 05-24-2010, 02:07 AM   #4
mm07
Junior Member
mm07 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: May 2010
Device: ipad
Hi, Add converting CHM to PDF to the list.
I get the "AttributeError: 'OptionValues' object has no attribute 'preserve_cover_aspect_ratio'" at the end of the conversion and it fails.

Unfortunately, I can't downgrade to a previous release, because the previous release had a different bug converting CHM to PDF.

Glad to see you are on top of it though.. I'll wait. Thanks
-Mike
mm07 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error converting .prc => .mobi Skydog Calibre 2 01-22-2010 04:00 PM
Help converting .prc to epub yessirrom Calibre 4 01-19-2010 04:57 PM
error converting the Godfather prc to lrf Gravitas Calibre 2 07-15-2009 04:07 AM
Error message converting PRC to LRF Amalthia Calibre 5 06-27-2009 04:01 PM
Converting .prc files to .pdf patricks Kindle Formats 3 05-02-2009 01:40 PM


All times are GMT -4. The time now is 08:55 PM.


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