pytroll / pytroll-aapp-runner

Pytroll runner for AAPP
http://pytroll-aapp-runner.readthedocs.io/en/develop/
GNU General Public License v3.0
1 stars 8 forks source link

Directory check fails at startup #29

Open pnuu opened 2 years ago

pnuu commented 2 years ago

Problem description

At startup I got this error message:

Checking directories...
ERROR: Cannot write to directory! /lustre/tmp/data/oper/avhrr/ears:[Errno 2] No such file or directory: '/lustre/tmp/data/oper/avhrr/ears/tmp_write_test.tmp'
Number of failures:  1
Checking directories failed.
Traceback (most recent call last):
  File "/home/users/satman/current/bin/aapp_dr_runner.py", line 1053, in <module>
    aapp_run_config.check_config()
  File "/home/users/satman/current/lib/python3.9/site-packages/aapp_runner/read_aapp_config.py", line 407, in check_config
    raise ConfigFileOptionsError('File options not okay"')
aapp_runner.read_aapp_config.ConfigFileOptionsError: File options not okay"

The directory in question exists and is writable. This results AAPP being in a non-responsive state without the program crashing, so the problem can be hidden for a long time.

After another restart there was nothing in the log about this check being run, but now AAPP is processing data.

Versions of Python, package at hand and relevant dependencies

pytroll-aapp-runner: 0.9.2.dev48+ga7c460c