-
Notifications
You must be signed in to change notification settings - Fork 95
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
Unable to locate authorization.conf file from Phoebus #3142
Comments
Old version that worked reported from about/preference settings/ window within Phoebus application |
I think this might be related to |
I agree, could not write this out quickly enough :) |
New latest build (today) that does not work reports the following from the about/preference settings/ window within Phoebus application |
I tried the following
and it converted it properly to
|
Would it be possible to try a location that contains a space in the path please? |
translated to
This is working for me. |
I think this is what you are looking for - from our settings file. org.phoebus.security/authorization_file=$(phoebus.install)/ISIS/authorization.conf |
Hmm...The resolved url looks correct to me.
If you hard code this location does it work? ... |
This was my interpretation. Let me test your request ... |
The full path entered in settings.ini appears to work. i.e. Am now beginning to doubt myself ... |
OK, let me confirm and make sure I have not done something silly. I will come back to you. Thanks. G |
After clarification, with the latest build/compiled/jpackage/installed version into Program Files (java.version = 21.0.3): Not working We do appear to be suffering from the space (%20) in Program Files - at least from what I can see. My apologies if this is misleading. I may hard code the paths for the moment. |
I think I have found the issue. We might want to look into if the AuthorizationServices should use an filename( with spaces and everything) or use valid URI's (file:///C:/Program%20Files/...) |
This is good to know. Your suggestion looks to fall in line with other services and would make it common. Thumbs up to the suggestion. |
I can resolve my immediate problem with a minor modification before compiling. So far this appears to work. sed -i 's|.replace(" ", "%20");|;|' /phoebus/core/framework/src/main/java/org/phoebus/framework/preferences/PropertyPreferenceLoader.java |
It should be noted that other apps like the Display Builder Runtime are handling this change well. We might want to use the same resource loading |
Our latest build of a Phoebus and the creation of an installer using jpackage is unable to reach the authorization.conf file. It is thus unable to lauch the screen editor and access color and class definition files.
Details are :
Would it be possible to confirm the issue please? We have been stable to quite a long time and our settings have not been changed.
The text was updated successfully, but these errors were encountered: