Describe the bug
reload_config is called with a non existing publisher argument
reload_config is defined: https://github.com/pytroll/trollmoves/blob/main/trollmoves/client.py#L901 with only two arguments.
https://github.com/pytroll/trollmoves/blob/main/trollmoves/client.py#L1050-L1051 is called with a publisher argument not available.
A kill -HUP can trigger traceback like this:
move_it_client] reload_config() got an unexpected keyword argument 'publisher'
Traceback (most recent call last):
File "/software/miniconda/envs/pytroll/bin/move_it_client.py", line 92, in main
client.run()
File "/software/miniconda/envs/pytroll/lib/python3.10/site-packages/trollmoves/move_it_base.py", line 99, in run
time.sleep(1)
File "/software/miniconda/envs/pytroll/lib/python3.10/site-packages/trollmoves/client.py", line 1050, in signal_reload_cfg_file
reload_config(self.cmd_args.config_file, self.chains,
TypeError: reload_config() got an unexpected keyword argument 'publisher'
[2023-09-04 11:44:00,078 DEBUG posttroll.publisher] exiting publish
Environment Info:
- OS: Linux ubuntu
- Trollmoves Version: 0.13.0
Additional context
Add any other context about the problem here.
Describe the bug
reload_config is called with a non existing publisher argument
reload_config is defined: https://github.com/pytroll/trollmoves/blob/main/trollmoves/client.py#L901 with only two arguments.
https://github.com/pytroll/trollmoves/blob/main/trollmoves/client.py#L1050-L1051 is called with a publisher argument not available.
A kill -HUP can trigger traceback like this:
Environment Info:
Additional context
Add any other context about the problem here.