Dear colleagues,
I did the following:
1. I compiled phoebus from scratch with maven (master from gitlab), adding the elog application to build.xml
<ant dir="app/logbook/ui"/> <ant dir="app/logbook/elog"/> —-> My addiction
<ant dir="app/log-configuration"/>
2. I checked inside my elog installation to read the password:
<password encoding="SHA256”>My password</password>
3. I added the following to my settings file:
org.phoebus.logbook/logbook_factory=elog org.phoebus.logbook.ui/logbook_factory=elog org.phoebus.elog.api/username=shift org.phoebus.elog.api/password=My password org.phoebus.elog.api/categories=Info, Problem, Shift summary, Data quality, Micromegas, ECAL, MasterTime, MSADC org.phoebus.elog.api/types=
When I start Phoebus with ./phoebus.sh -settings my_settings.ini and I open the logbook, I get the following error:
2025-04-26 10:37:40 INFO [org.phoebus.logbook.olog.ui.LogEntryTableViewController] Single search: *
2025-04-26 10:37:40 SEVERE [org.phoebus.logbook.olog.ui.LogbookSearchJob] Failed to obtain logs
org.phoebus.logbook.LogbookException: java.lang.UnsupportedOperationException
at org.phoebus.logbook.LogClient.search(LogClient.java:494)
at org.phoebus.logbook.olog.ui.LogbookSearchJob.lambda$getRunnable$0(LogbookSearchJob.java:59)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:842)
Caused by: java.lang.UnsupportedOperationException
... 9 more
What I do not understand is why the “olog” app is referred to in this error, since I am not using it at all..
Thanks, Bests, Andrea Celentano
|