Hi,
My computer ran out of power while Calibre was on. It caused an error that no longer allows me to even open Generate Cover.
Every time I try, I get this error: "ZeroDivisionError:float division by zero" error.
Long story short. I tried deleting and re-installing the plug-in. I tried deleting and re-installing Calibre. I tried a few of the basic de-bug commands. (I'm not entirely sure how accurately I put those in). Even tried to wipe out all traces of the software with a few simple tricks. Stopped short of digging through the registry bc I dont have enough knowledge not to screw something up...
Any guesses on how to fix this problem? I heavily rely on this plugin. It would be a sad day if I no longer had access to it.
Here is the full code for the error:
calibre, version 2.85.1
ERROR: Unhandled exception: <b>ZeroDivisionError</b>:float division by zero
calibre 2.85.1 embedded-python: True is64bit: False
Windows-8-6.2.9200 Windows ('32bit', 'WindowsPE')
32bit process running on 64bit windows
('Windows', '8', '6.2.9200')
Python 2.7.9
Windows: ('8', '6.2.9200', '', 'Multiprocessor Free')
Successfully initialized third party plugins: EpubSplit (2, 2, 0) && Modify ePub (1, 3, 13) && food network Recipe Reader (1, 0, 2) && EpubMerge (2, 1, 0) && Kindle Collections (1, 7, 15) && Manage Series (1, 2, 8) && FanFicFare (2, 10, 0) && Generate Cover (1, 5, 21) && Prettify Cover (0, 9, 8) && Resize Cover (1, 0, 2) && Count Pages (1, 6, 9)
Traceback (most recent call last):
File "calibre_plugins.generate_cover.action", line 65, in _generate_cover
File "calibre_plugins.generate_cover.dialogs", line 1377, in __init__
File "calibre_plugins.generate_cover.dialogs", line 1669, in display_preview
File "calibre_plugins.generate_cover.draw", line 330, in generate_cover_for_book
File "calibre_plugins.generate_cover.draw", line 227, in create_cover_page
File "calibre_plugins.generate_cover.draw", line 128, in scaleup_image
ZeroDivisionError: float division by zero
Thanks.