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

Empty config.yaml casues tasks to not run #567

Closed
mdgreenwald opened this issue May 17, 2024 · 1 comment
Closed

Empty config.yaml casues tasks to not run #567

mdgreenwald opened this issue May 17, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@mdgreenwald
Copy link

mdgreenwald commented May 17, 2024

Steps to repeat:

mv .dagu/config.yaml .dagu/backup.config.yaml
touch .dagu/config.yaml
dagu start-all

Now, try to run any task, even a simple command: echo hello will result in the bug.

Error Message:

2024/05/17 15:13:46 EOF
2024/05/17 15:13:46 starting a DAG failed. exit status 1

Additionally a config.yaml with all configuration lines commented out will also cause this bug.

Might be nicer to get a warning; WARN: empty config.yaml or a clearer error message; ERROR: empty config.yaml

Thanks!

@yohamta yohamta added bug Something isn't working up-for-grabs labels May 17, 2024
@yohamta yohamta self-assigned this May 22, 2024
@yohamta
Copy link
Collaborator

yohamta commented May 25, 2024

Now it's fixed in v1.13.0

@yohamta yohamta closed this as completed May 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants