aiidateam / aiida-core

The official repository for the AiiDA code
https://aiida-core.readthedocs.io
Other
431 stars 187 forks source link

CLI: Fix `verdi process list` if no available workers #6358

Closed sphuber closed 5 months ago

sphuber commented 5 months ago

Fixes #6357

It is possible to have the daemon running without available workers, in which case verdi process list would raise a ZeroDivisionError in the daemon load check. This case is now explicitly checked for and a warning is emitted to say that no daemon workers are running.