From 7489dd91681bb94a11cf029943f632d5fb696471 Mon Sep 17 00:00:00 2001 From: Vasileios Karakasis Date: Fri, 23 Aug 2019 13:40:33 +0200 Subject: [PATCH 1/2] Print debug info when preload environment fails to load --- reframe/frontend/cli.py | 1 + 1 file changed, 1 insertion(+) diff --git a/reframe/frontend/cli.py b/reframe/frontend/cli.py index 19a066d0f8..3fa91b22d7 100644 --- a/reframe/frontend/cli.py +++ b/reframe/frontend/cli.py @@ -500,6 +500,7 @@ def main(): except EnvironError as e: printer.error("failed to load current's system environment; " "please check your configuration") + printer.debug(str(e)) raise for m in options.user_modules: From 1e9b98e8c0d2bcad5dabdeea8b3bb3839c2d2558 Mon Sep 17 00:00:00 2001 From: Vasileios Karakasis Date: Fri, 23 Aug 2019 13:43:58 +0200 Subject: [PATCH 2/2] Fix typo in comment --- reframe/frontend/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reframe/frontend/cli.py b/reframe/frontend/cli.py index 3fa91b22d7..e145218fe1 100644 --- a/reframe/frontend/cli.py +++ b/reframe/frontend/cli.py @@ -498,7 +498,7 @@ def main(): try: rt.system.preload_environ.load() except EnvironError as e: - printer.error("failed to load current's system environment; " + printer.error("failed to load current system's environment; " "please check your configuration") printer.debug(str(e)) raise