Skip to content

Directory check fails at startup #29

@pnuu

Description

@pnuu

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions