From 8199d6427a89a69758da49d5f6248440061d9359 Mon Sep 17 00:00:00 2001 From: nshadskiy Date: Mon, 3 Aug 2026 13:40:49 +0200 Subject: [PATCH] update error message for libMyDicts loading --- processor/tasks/helpers/GetQuantitiesMap.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/processor/tasks/helpers/GetQuantitiesMap.py b/processor/tasks/helpers/GetQuantitiesMap.py index c39e017..31dd390 100644 --- a/processor/tasks/helpers/GetQuantitiesMap.py +++ b/processor/tasks/helpers/GetQuantitiesMap.py @@ -30,7 +30,10 @@ def extract_quantities_map(input_file, libdir): err_type = ( "Version mismatch" if result == -2 else "Linker error/Missing dependency" ) - raise ImportError(f"Load failed ({result}): {err_type} for {lib_path}") + raise ImportError( + f"Load failed ({result}): {err_type} for {lib_path}\n" + f"Hint: Try removing the .cache directory in CROWN." + ) f = ROOT.TFile.Open(input_file) name = "shift_quantities_map"