Thank you.
To save you a bit of extra testing, I got a different error opening a book cover when there is none:
Code:
calibre, version 5.8.1
ERROR: Unhandled exception: <b>IndexError</b>:tuple index out of range
calibre 5.8.1 [64bit] embedded-python: True is64bit: True
Windows-10-10.0.19041 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19041')
Python 3.8.5
Windows: ('10', '10.0.19041', '', 'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: Action Chains (0, 5, 3) && Barnes & Noble (1, 2, 16) && Calibre Power Search Plugin (1, 7, 0) && Comments Cleaner (1, 3, 1) && Count Pages (1, 11, 0) && Embed Comic Metadata (1, 5, 2) && EpubCheck (0, 2, 3) && EpubMerge (2, 11, 0) && Extract ISBN (1, 5, 0) && FanFicFare (3, 27, 2) && Fantastic Fiction (1, 4, 0) && Favourites Menu (1, 0, 5) && Find Duplicates (1, 8, 3) && Generate Cover (2, 0, 1) && GetFileName (0, 1, 1) && Goodreads (1, 5, 1) && Import List (1, 5, 4) && Job Spy (1, 0, 189) && Kindle hi-res covers (0, 5, 0) && Kobo Books (1, 8, 0) && Kobo Utilities (2, 11, 8) && KoboTouchExtended (3, 4, 2) && Library Codes (1, 0, 50) && Manage Series (1, 2, 11) && Modify ePub (1, 6, 2) && Open With (1, 5, 13) && Quality Check (1, 11, 0) && Reading List (1, 7, 1) && Save To Format (0, 0, 6) && Save Virtual Libraries To Column (2, 0, 1) && Save Virtual Libraries To Column GUI (2, 3, 0) && Search The Internet (1, 8, 1) && SmartEject (2, 3, 0) && Sum Column (0, 3, 1) && View Manager (1, 6, 0)
Traceback (most recent call last):
File "calibre_plugins.action_chains.actions.open_with", line 283, in run
File "calibre_plugins.action_chains.actions.open_with", line 246, in get_file_path
calibre_plugins.action_chains.actions.open_with.OpenError: ('Cannot open with', 'Book has no cover')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "calibre_plugins.action_chains.action", line 237, in run_chain
File "calibre_plugins.action_chains.chain_tools", line 120, in run_loop
File "calibre_plugins.action_chains.chain_tools", line 100, in run_loop
File "calibre_plugins.action_chains.actions.open_with", line 288, in run
File "calibre\db\legacy.py", line 872, in func
File "calibre\db\view.py", line 145, in get_property
IndexError: tuple index out of range
Thankfully this error shouldn't be applicable to path.