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

Fix Unrecognized job_state '?' warning #3107

Closed
chrisjsewell opened this issue Jul 1, 2019 · 3 comments · Fixed by #6040
Closed

Fix Unrecognized job_state '?' warning #3107

chrisjsewell opened this issue Jul 1, 2019 · 3 comments · Fixed by #6040

Comments

@chrisjsewell
Copy link
Member

Just a minor annoyance, but when I use engine.run in an interactive terminal, if the process takes more than a few minutes, I start getting a lot of warnings printed:

07/01/2019 05:56:01 PM <26394> aiida.scheduler.direct: [WARNING] Unrecognized job_state '?' for job id 8399
@sphuber
Copy link
Contributor

sphuber commented Jul 1, 2019

This is with the direct scheduler on a localhost computer?

@chrisjsewell
Copy link
Member Author

chrisjsewell commented Jul 1, 2019

This is with the direct scheduler on a localhost computer?

Yep. There doesn't seem to be any issue with the runs actually completing.

@ltalirz
Copy link
Member

ltalirz commented Jan 22, 2021

Confirmed; e.g. using the script from #4298 (comment)
(to set up the code, do verdi code setup --config .github/config/add.yaml).

It does not need to be in an interactive terminal, I've also seen it happen simply with verdi run script.py
I may have misunderstood what Chris meant by "interactive terminal" - in any case, it happens when you use engine.run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants