-
Notifications
You must be signed in to change notification settings - Fork 89
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
No user message if settings are not found #3099
Comments
A swing dialog from the phoebus launcher for You can already provide a launcher for your site. In there, you decide which mandatory and optional settings you want to support.
.. or like this if it should be required:
Trying to handle all this in the phoebus launcher would mean that we need |
The point is to avoid console and start script, and Of course no more logic is needed/wanted, just a message and then exit. |
+1 I think a swing dialog would fix your use case right... we could also create a crash log ~/.phoebus/logs/why_phoebus_did_not run I have encountered a variety of problems of this nature where people try to install our Phoebus on their own. It would be a lot of work to figure out all of them ( missing file, file present but permissions are wrong, etc... add remote file systems and other infrastructure specific things can result in a lot of unique issues ) |
OK, thanks for the feed-back. I will implement this based on this discussion. |
With the recent changes to properties/settings handling, user might end up in a situation where startup of Phoebus fails without any useful error message. For instance:
jpackage
.settings.ini
in install directory.-settings /user/home/my-settings.ini
/user/home/my-settings.ini
does not exists, Phoebus will shut down and no message is available as console is not included in the launcher configuration.In this case user must be aware of the requirement to create a file (even if empty)
/user/home/my-settings.ini
.It would be nice to be able to show an error dialog when Phoebus launches. However, as the startup is structured currently, this would have to be a Swing or AWT dialog, but maybe that is OK?
The text was updated successfully, but these errors were encountered: