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

move it server fails to start when config uses listen instead of origin #194

Closed
TAlonglong opened this issue Mar 1, 2024 · 0 comments · Fixed by #195
Closed

move it server fails to start when config uses listen instead of origin #194

TAlonglong opened this issue Mar 1, 2024 · 0 comments · Fixed by #195

Comments

@TAlonglong
Copy link
Collaborator

Describe the bug
move it server fails to start when config uses listen instead of origin

[2024-02-29 16:47:05,110 DEBUG    trollmoves.server] Created request manager on port 9152
Traceback (most recent call last):
  File "/software/miniconda/envs/pytroll/bin/move_it_server.py", line 113, in <module>
    main()
  File "/software/miniconda/envs/pytroll/bin/move_it_server.py", line 103, in main
    server.reload_cfg_file(cmd_args.config_file)
  File "/software/miniconda/envs/pytroll/lib/python3.10/site-packages/trollmoves/server.py", line 360, in reload_cfg_file
    self.reload_config(filename,
  File "/software/miniconda/envs/pytroll/lib/python3.10/site-packages/trollmoves/server.py", line 330, in reload_config
    old_glob = _update_chains(self.chains, new_chain_configs, self.request_manager, use_polling,
  File "/software/miniconda/envs/pytroll/lib/python3.10/site-packages/trollmoves/server.py", line 698, in _update_chains
    chain.create_notifier(notifier_builder, use_polling, function_to_run_on_matching_files)
  File "/software/miniconda/envs/pytroll/lib/python3.10/site-packages/trollmoves/server.py", line 753, in create_notifier
    pattern = globify(self.config["origin"])
KeyError: 'origin'

Environment Info:

  • OS: linux jammy
  • Trollmoves Version: 0.14.0
@TAlonglong TAlonglong changed the title move i server fails to start when config uses listen instead of origin move it server fails to start when config uses listen instead of origin Mar 1, 2024
@pnuu pnuu closed this as completed in #195 May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant