From 97041abaa40af15fc440b077687326c1ad7d7adc Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 24 Apr 2021 12:04:33 +0530 Subject: [PATCH] Ignore failures to load cached metadata plugins --- src/calibre/ebooks/metadata/sources/update.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/calibre/ebooks/metadata/sources/update.py b/src/calibre/ebooks/metadata/sources/update.py index 0f13c9add2..c43836c61d 100644 --- a/src/calibre/ebooks/metadata/sources/update.py +++ b/src/calibre/ebooks/metadata/sources/update.py @@ -82,7 +82,10 @@ def patch_plugins(): continue if name == 'search_engines': patch_search_engines(val) - p = load_plugin(val) + try: + p = load_plugin(val) + except Exception: + p = None if p is not None: patches[p.name] = p patch_metadata_plugins(patches)