diff --git a/tmtc_client_cli.py b/tmtc_client_cli.py index d3f5b15..3fc7ded 100755 --- a/tmtc_client_cli.py +++ b/tmtc_client_cli.py @@ -35,6 +35,7 @@ from pus_tm.factory_hook import ccsds_tm_handler try: from tmtccmd.runner import initialize_tmtc_commander, run_tmtc_commander, add_ccsds_handler from tmtccmd.ccsds.handler import CcsdsTmHandler + import spacepackets except ImportError as error: run_tmtc_commander = None initialize_tmtc_commander = None @@ -46,7 +47,8 @@ except ImportError as error: def main(): hook_obj = EiveHookObject() - print(f"-- eive tmtc version {__version__}") + print(f'-- eive tmtc version {__version__} --') + print(f'-- spacepackets version {spacepackets.__version__} --') initialize_tmtc_commander(hook_object=hook_obj) ccsds_handler = CcsdsTmHandler() ccsds_handler.add_tm_handler(apid=PUS_APID, pus_tm_handler=ccsds_tm_handler, max_queue_len=50) diff --git a/tmtc_client_gui.py b/tmtc_client_gui.py index ddcfa07..09d363c 100755 --- a/tmtc_client_gui.py +++ b/tmtc_client_gui.py @@ -35,6 +35,7 @@ from pus_tm.factory_hook import ccsds_tm_handler try: from tmtccmd.runner import initialize_tmtc_commander, run_tmtc_commander, add_ccsds_handler from tmtccmd.ccsds.handler import CcsdsTmHandler + import spacepackets except ImportError as error: run_tmtc_commander = None initialize_tmtc_commander = None @@ -47,6 +48,7 @@ except ImportError as error: def main(): hook_obj = EiveHookObject() print(f"-- eive tmtc version {__version__}") + print(f'-- spacepackets version {spacepackets.__version__} --') initialize_tmtc_commander(hook_object=hook_obj) ccsds_handler = CcsdsTmHandler() ccsds_handler.add_tm_handler(apid=PUS_APID, pus_tm_handler=ccsds_tm_handler, max_queue_len=50)