From 29f94ddc8534b89f6dc274b86f85be418395b2ae Mon Sep 17 00:00:00 2001 From: "Robin.Mueller" Date: Thu, 17 Jun 2021 18:55:57 +0200 Subject: [PATCH] better error for import issue --- tmtc/tmtc_client_cli.py | 5 +++-- tmtc/tmtccmd | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/tmtc/tmtc_client_cli.py b/tmtc/tmtc_client_cli.py index 356f80a..e4a49df 100755 --- a/tmtc/tmtc_client_cli.py +++ b/tmtc/tmtc_client_cli.py @@ -30,10 +30,11 @@ import sys from config.hook_implementation import FsfwHookBase try: from tmtccmd.runner import run_tmtc_commander, initialize_tmtc_commander -except ImportError: +except ImportError as error: run_tmtc_commander = None initialize_tmtc_commander = None - print("Python tmtccmd submodule not installed") + print(error) + print("Python tmtccmd submodule could not be imported") print("Install with \"cd tmtccmd && python3 -m pip install -e .\" for interactive installation") sys.exit(0) diff --git a/tmtc/tmtccmd b/tmtc/tmtccmd index 0d91e26..e0b36e1 160000 --- a/tmtc/tmtccmd +++ b/tmtc/tmtccmd @@ -1 +1 @@ -Subproject commit 0d91e26bc576c2dea7769d16d3b5a8a8bc10482c +Subproject commit e0b36e1e479a8608f4268cede6a6add8d433b436