Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 07-14-2013, 02:46 PM   #1
silentguy
Connoisseur
silentguy doesn't littersilentguy doesn't littersilentguy doesn't litter
 
Posts: 88
Karma: 200
Join Date: Nov 2010
Location: Dortmund, Germany
Device: Kindle Paperwhite (10. Generation)
Can't convert?

Don't know what got broken, but i keep getting the following error when i try to convert:

calibre, version 0.9.39
ERROR: Unhandled exception: <b>KeyError</b>:'restrict_output_formats'

Traceback (most recent call last):
File "site-packages\calibre\gui2\actions\convert.py", line 140, in convert_ebook
File "site-packages\calibre\gui2\actions\convert.py", line 157, in do_convert
File "site-packages\calibre\gui2\tools.py", line 41, in convert_single_ebook
File "site-packages\calibre\gui2\convert\single.py", line 150, in __init__
File "site-packages\calibre\gui2\convert\single.py", line 256, in setup_input_output_formats
File "site-packages\calibre\gui2\convert\single.py", line 55, in get_output_formats
KeyError: 'restrict_output_formats'
silentguy is offline   Reply With Quote
Old 07-14-2013, 02:55 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: 45,318
Karma: 27111242
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Try doing an uninstall and then a re-install that error indicates the tweaks file in your install is corrupted.
kovidgoyal is offline   Reply With Quote
Advert
Old 07-22-2013, 02:17 PM   #3
silentguy
Connoisseur
silentguy doesn't littersilentguy doesn't littersilentguy doesn't litter
 
Posts: 88
Karma: 200
Join Date: Nov 2010
Location: Dortmund, Germany
Device: Kindle Paperwhite (10. Generation)
Weird. After messing around with my calibre portable (reinstalling, copying around some settings, ...) i got this to work.

Then I changed PCs and it stopped working again. I just got a new portable installation in a different location and that one does not work either, the created tweaks.py does not contain this key... weird...
silentguy is offline   Reply With Quote
Old 07-22-2013, 02:35 PM   #4
silentguy
Connoisseur
silentguy doesn't littersilentguy doesn't littersilentguy doesn't litter
 
Posts: 88
Karma: 200
Join Date: Nov 2010
Location: Dortmund, Germany
Device: Kindle Paperwhite (10. Generation)
Okay, solved it. It was a weird interaction with windows. For some reason windows still set the calibre_config_from variable even though I unset it, and this confused calibre. now it works
silentguy is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
To convert or not to convert - PDF marmistrz Workshop 7 06-20-2013 12:03 PM
How to batch-convert with ebook-convert? cypresstwist Conversion 8 02-22-2011 09:28 AM


All times are GMT -4. The time now is 03:21 AM.


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