You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I expect that cat.py verifies that kai or whatever command was used exits successfully (exit code 0). If it doesn't, it should copy the stderr output for the process to the logfile and it should not send a posttroll message.
Actual behaviour
In reality cat.py monitors only stdout, appears to assume everything is fine, and sends a posttroll message in any case. It's up to the next program in the chain to realise the expected input file is absent.
The text was updated successfully, but these errors were encountered:
Describe the bug
When
cat.py
is used to concatenate EPS files, for example using kai, it fails to test if kai ran successfully. When configuringcat.py
with:then the command run with
kai
may be, for example:If the output directory
/data/pytroll/TMP/avhrr
does not exist, the actualkai
command will finish with a message to stderr:and exit with exit code 1. The
cat
log however only monitors stdout, happily noting:Expected behaviour
I expect that
cat.py
verifies thatkai
or whatever command was used exits successfully (exit code 0). If it doesn't, it should copy the stderr output for the process to the logfile and it should not send a posttroll message.Actual behaviour
In reality
cat.py
monitors only stdout, appears to assume everything is fine, and sends a posttroll message in any case. It's up to the next program in the chain to realise the expected input file is absent.The text was updated successfully, but these errors were encountered: