Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reload_config is called with non existing publisher argument #182

Open
TAlonglong opened this issue Sep 12, 2023 · 0 comments
Open

reload_config is called with non existing publisher argument #182

TAlonglong opened this issue Sep 12, 2023 · 0 comments
Labels

Comments

@TAlonglong
Copy link
Collaborator

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.

@TAlonglong TAlonglong added the bug label Sep 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant