Start and log error (rather than refusing to start) if -settings flag points to nonexistent file
Maintainer antworten meist innerhalb von 2 Tagen
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- Ein halber Tag
- Anfängerfreundlichkeit
- 62/100
Rechercherichtung
The payload does not name the file, so begin by finding where the -settings command-line argument is parsed and where the settings file is loaded at startup. Reproduce by launching Phoebus with a path that does not exist and note where it exits. Done means startup continues with the normal defaults and logs an error that includes the missing path, with the change covered by a test if one exists for settings loading.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
We are looking to use a base settings.ini file with all the 'defaults', and then override some settings per machine. One option is to distribute multiple versions of Phoebus with different settings.ini files, but this is a pain in many ways.
So seemingly the easiest way to do this is to have our default settings in the install directory (which guarantees they will always be loaded), and then to pass -settings <path>/overrides.ini to the application when it is launched. This works, except that if the file passed to -settings is not found, Phoebus will refuse to start. Since we don't want to force every user to create an empty overrides.ini file, the ideal solution is that Phoebus still starts, and instead logs an error if the file is not found. This seems like more useful functionality in general anyway - from the code it seems like the -settings flag is meant to work as an override
This would be a simple case of adding a try-catch around the relevant code
- Vorherrschende Sprache
- Java
- Sterne
- 130
- Forks
- 132
- Ø Merge
- 3 T. 1 Std.
- Gemergte PRs (30 T.)
- 24
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Kein Beitragsleitfaden
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus ControlSystemStudio/phoebus
-
Create CONTRIBUTING.mdOffen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
ControlSystemStudio/phoebus#3979 ·
Maintainer antworten meist innerhalb von 2 Tagen
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 80/100
ControlSystemStudio/phoebus#3962 ·
Maintainer antworten meist innerhalb von 2 Tagen
-
PVA/SPVA: track SPVA version independently and move XDG keychain dir pva/<ver> -> spva/<n.n.n>Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
ControlSystemStudio/phoebus#3865 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 2 Tagen
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 52/100
ControlSystemStudio/phoebus#3980 ·
Maintainer antworten meist innerhalb von 2 Tagen
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 45/100
ControlSystemStudio/phoebus#3978 ·
Maintainer antworten meist innerhalb von 2 Tagen
Alle Issues in ControlSystemStudio/phoebus
Ähnliche Issues
-
[Bug] DefaultSerializationExceptionWrapper does not implement Cleanable, so cleanup() is never invoked by codecsEvtl. vergeben @binbin0325 hat das heute übernommen. Offencomponent/need-triage type/need-triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Maintainer antworten meist innerhalb von 1 Tag
-
2026 Error Report
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
triplea-game/triplea#15096 ·
Maintainer antworten meist innerhalb von 1 Tag
-
[Bug][API] Switching workflow versions leaves schedules onlineEvtl. vergeben @zhuangchong hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
apache/dolphinscheduler#18731 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Implement JDBC Domain Enums (`SqlCategory`, `SqlExecutionStatus`, `SqlExecutionType`) in Core ModuleOffencore-module enhancement good first issue
Schwierigkeit 1/5 1-3 Stunden Anfängerfreundlichkeit 87/100
sdlc-pro/spring-lens#531 ·
Maintainer antworten meist innerhalb von 1 Tag