![]() |
#1 |
Connoisseur
![]() ![]() ![]() 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' |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Connoisseur
![]() ![]() ![]() 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... |
![]() |
![]() |
![]() |
#4 |
Connoisseur
![]() ![]() ![]() 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
|
![]() |
![]() |
![]() |
|
![]() |
||||
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 |