Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Poor error given when configuration completely missing #6772

Closed
Tobychev opened this issue Feb 7, 2023 · 2 comments
Closed

Poor error given when configuration completely missing #6772

Tobychev opened this issue Feb 7, 2023 · 2 comments

Comments

@Tobychev
Copy link

Tobychev commented Feb 7, 2023

Hello,
I was trying to check if my installation of DIRAC was working properly, and I got the following

$ dirac-proxy-info
Missing mandatory local configuration option /DIRAC/Setup
There were errors when loading configuration

and it took me some time to establish that the error was actually that no configuration file was found at all.

It would be helpful if DIRAC could make that distinction, as it more clearly points out that it is the install itself that is unhealthy.

@fstagni
Copy link
Contributor

fstagni commented Mar 29, 2023

I created a very simple PR for this: #6945

This is not the most precise solution, but the "problem" is that you could run DIRAC without a configuration file (and have the whole configuration on the command line...)...

@fstagni
Copy link
Contributor

fstagni commented Jul 6, 2023

This was solved by #6945

@fstagni fstagni closed this as completed Jul 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants