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
When the configuration file passed to gatherer does not exist (or otherwise cannot be read), there is neither a warning nor an error from gatherer.py. From the console output (or logfile output) there is no direct indication that anything is wrong — only the indirect evidence from the observation that it doesn't seem to be doing much.
MCVE
$ gatherer.py -v /does/not/exist
Expected output
I think this should fail immediately, as I don't see any way in which this error could be recoverable.
Actual output
$ gatherer.py -v /does/not/exist
Setting timezone to UTC
[INFO: 2021-01-14 15:02:24 : posttroll.publisher] publisher started on port 38155
The text was updated successfully, but these errors were encountered:
gerritholl
added a commit
to gerritholl/pytroll-collectors
that referenced
this issue
Jul 1, 2022
Files that cannot be opened are silently ignored; this is designed so that you can specify an iterable of potential configuration file locations (e.g. current directory, user's home directory, systemwide directory), and all existing configuration files in the iterable will be read. A single filename may also be given.
Summary
When the configuration file passed to gatherer does not exist (or otherwise cannot be read), there is neither a warning nor an error from gatherer.py. From the console output (or logfile output) there is no direct indication that anything is wrong — only the indirect evidence from the observation that it doesn't seem to be doing much.
MCVE
Expected output
I think this should fail immediately, as I don't see any way in which this error could be recoverable.
Actual output
The text was updated successfully, but these errors were encountered: