If I have a calibre://book-details link to a book with no cover.jpg I get this error when I click on it :
Code:
calibre, version 6.16.0
ERROR: Unhandled exception: <b>ZeroDivisionError</b>:float division by zero
calibre 6.16 embedded-python: True
Windows-10-10.0.19045-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19045')
Python 3.10.1
Windows: ('10', '10.0.19045', 'SP0', 'Multiprocessor Free')
Interface language: en_AU
Successfully initialized third party plugins: BRMenu Menu (1, 2, 0) && CalibreSpy (1, 0, 92) && Count Pages (1, 13, 0) && Favourites Menu (1, 3, 0) && Find Duplicates (1, 10, 8) && GetFileName (0, 2, 0) && Job Spy (1, 0, 235) && Modify ePub (1, 8, 1) && Scroll Book Details (1, 0, 2) && View Manager (1, 10, 2)
Traceback (most recent call last):
File "calibre\gui2\dialogs\book_info.py", line 342, in resize_cover
File "calibre\__init__.py", line 353, in fit_image
ZeroDivisionError: float division by zero
BR