drmaa-python icon indicating copy to clipboard operation
drmaa-python copied to clipboard

DRMAA_ERRNO_NO_RUSAGE ignore on wait

Open osallou opened this issue 10 years ago • 1 comments

On wait method, if method returns DRMAA_ERRNO_NO_RUSAGE, value is considered as an error.

This is a valid value, application simply consider there is no available usage data.

osallou avatar Dec 04 '15 14:12 osallou

It's considered an error because it's an error code, and returned as such by the C API. It is a bit strange that we don't have a more specific exception type for that error though, and instead just raise a generic DrmException.

dan-blanchard avatar Dec 07 '15 21:12 dan-blanchard