Open sifriede opened 19 hours ago
In both applications the UI invokes a search based on the default query, e.g. search for log entries for the past 12 hours.
However, the elog LogClient
does not implement the search
method, and the default implementation throws an UnsupportedException
.
I think you would need to reach out to @ffeldbauer who I think is the original contributor of the elog module.
Aside from the logbook error, the ExceptionDetailsErrorDialog
should be fixed.
You ought to see the error dialog, in this case then showing that there's an UnsupportedOperationException
.
Not sure how the ExceptionDetailsErrorDialog
is called in this case, maybe the exception needs to be passed on.
As a fallback, doOpenError
should check if the exception is null and not crash.
https://github.com/ControlSystemStudio/phoebus/blob/master/core/ui/src/main/java/org/phoebus/ui/dialog/ExceptionDetailsErrorDialog.java
Dear George,
In a talk by Florian he showed,that it did work in 2020 with the search string. https://indico.fhi-berlin.mpg.de/event/52/contributions/564/attachments/222/683/phoebus-elog-client.pdf
As far as I know, Florian is not actively maintaining the elog app anymore.
Do you have any idea what could have changed this behavior? Elog was fixed for newer versions of Phoebus in the codeathon 2023, right?
Best regards
Von: Georg Weiss Gesendet: Fri Nov 22 18:41:38 GMT+01:00 2024 An: ControlSystemStudio/phoebus Cc: "Friederich, Dr. Simon" , Author Betreff: Re: [ControlSystemStudio/phoebus] Elog - Log Entry Calender and Table exceptions (Issue #3198)
In both applications the UI invokes a search based on the default query, e.g. search for log entries for the latest 12 hours. However, the elog LogClient does not implement the search method, and the default implementation throws an UnsupportedException.
I think you would need to reach out to @ffeldbauerhttps://github.com/ffeldbauer who I think is the original contributor of the elog module.
— Reply to this email directly, view it on GitHubhttps://github.com/ControlSystemStudio/phoebus/issues/3198#issuecomment-2494400417, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHDLLDPGQVQB44VUJKY6NBT2B5UFBAVCNFSM6AAAAABSJUOPBCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOJUGQYDANBRG4. You are receiving this because you authored the thread.Message ID: @.***>
OK.
Though I have not confirmed it, I think this could be a mismatch between the build and your settings. While the tar ball you reference includes the newer Olog UI, the elog module depends on the older UI as implemented in app-logbook-ui
. In other words, you need to build a product that includes that module and excludes app-logbook-olog
Dear Georg,
I have now downloaded the Source file and I have compiled phoebus-product as is:
... [INFO] app-logbook ........................................ SUCCESS [ 0.004 s] [INFO] app-logbook-inmemory ............................... SUCCESS [ 1.245 s] [INFO] app-logbook-ui ..................................... SUCCESS [ 3.257 s] [INFO] app-logbook-olog ................................... SUCCESS [ 0.003 s] [INFO] app-logbook-olog-client ............................ SUCCESS [ 1.114 s] [INFO] app-logbook-olog-client-es ......................... SUCCESS [ 1.661 s] [INFO] app-logbook-olog-ui ................................ SUCCESS [ 4.162 s] [INFO] app-logbook-elog ................................... SUCCESS [ 0.862 s] ...
I guess, I have now all apps included. Unfortunately, the error remains.
Best regards
Am 22.11.2024 um 20:13 schrieb Georg Weiss:
OK. Though I have not confirmed it, I think this could be a mismatch between the build and your settings. While the tar ball you reference includes the newer Olog UI, the elog module depends on the older UI as implemented in |app-logbook-ui|. In other words, you need to build a product that includes that module and excludes |app-logbook-olog|
— Reply to this email directly, view it on GitHub https://github.com/ControlSystemStudio/phoebus/issues/3198#issuecomment-2494607006, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHDLLDP2GZT7CZF2QK235BD2B565LAVCNFSM6AAAAABSJUOPBCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOJUGYYDOMBQGY. You are receiving this because you authored the thread.Message ID: @.***>
--------------xaZjcIhMX4F2J6nFbnOrUo5K Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: 8bit
<!DOCTYPE html>
Dear Georg,
I have now downloaded the Source file and I have compiled phoebus-product as is:
...
[INFO] app-logbook ........................................
SUCCESS [ 0.004 s]
[INFO] app-logbook-inmemory ...............................
SUCCESS [ 1.245 s]
[INFO] app-logbook-ui .....................................
SUCCESS [ 3.257 s]
[INFO] app-logbook-olog ...................................
SUCCESS [ 0.003 s]
[INFO] app-logbook-olog-client ............................
SUCCESS [ 1.114 s]
[INFO] app-logbook-olog-client-es .........................
SUCCESS [ 1.661 s]
[INFO] app-logbook-olog-ui ................................
SUCCESS [ 4.162 s]
[INFO] app-logbook-elog ...................................
SUCCESS [ 0.862 s]
...
I guess, I have now all
apps included. Unfortunately, the error remains.
Best regards
OK.
Though I have not confirmed it, I think this could be a mismatch between the build and your settings. While the tar ball you reference includes the newer Olog UI, the elog module depends on the older UI as implemented inapp-logbook-ui
. In other words, you need to build a product that includes that module and excludesapp-logbook-olog
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.
--------------xaZjcIhMX4F2J6nFbnOrUo5K--
I think your build still contains a bit too much... With the dependencies and exclusions I have defined in a build for your use case I have the following app-logbook
related jars in the lib
directory:
app-logbook-elog-4.7.4-SNAPSHOT.jar
app-logbook-ui-4.7.4-SNAPSHOT.jar
Dear Phoebus team and developer,
Short description
I get exceptions, when I try to use the Log Entry Calender and Table with elog.
My environment
Phoebus version
I used the latest release version: https://github.com/ControlSystemStudio/phoebus/releases/download/v4.7.3/Phoebus-4.7.3-linux.tar.gz
OS
settings.ini
elog logbook config
Based on Florian Feldbauers example
Problem description
Using "Send to Logbook" I can successfully add entries to the elog. If I click on logbooks or tags I retrieve the corresponding types and categories defined in elog automatically. I see these entries in the elog web view.
But if I use the Log Entry Calender or Table, I retrieve the following exceptions and don't see any log entries:
Log Entry Calender
Log Entry Table
Thanks in advance. Best regards Simon