Pogo on Tango 10.1 (on Ubuntu 24) fails to generate C++ project

Dear all,

I tried to install the Tango system from source on Ubuntu 24. I could build it without problems, but pogo fails if I try to generate a C++ project (it can store the xmi file, but fails to generate the C++ filed and the Makefile). I tried it with openjdk 1.17 and 1.21. The error message I get is

com.google.inject.internal.util.$ComputationException: com.google.inject.internal.util.$ComputationException: java.lang.ExceptionInInitializerError

What is a bit strange: I also read “backend=/fr/esrf/tango/pogo/generator/PogoDslGeneratorMWE.mwe2”. Is this a path to a file from ESRF?

Thanks a lot for your help!

Best,
Yves

Hi,

when you say from source, what did you use? the TangoSourceDistribution? and if so which version?
Which version of pogo are you using then?

There are known issues with openjdk 22, not sure about 1.21, but you’re better off with 1.17 I believe. But your problem is elsewhere anyway…

Hi

Thanks for writing back! I was using the release Release 10.1.0-rc1 . It includes Pogo 9.8.0. Could it be a problem with Ubuntu 24? Should we install Ubuntu 22 instead?

Thanks a lot!
Best,
Yves

Ok,

you need java 8 for this version…

You can download the latest release, fresh from today, that should fix your issue:

https://gitlab.com/tango-controls/pogo/-/releases/9.10.4/downloads/Pogo-9.10.4-openjdk-17.jar

Or use java 8 if you want to stick to the version you have now. But we will update pogo version in the final release of 10.1.0

Cheers

Ah, great! Thanks a lot!! I will try!

Have a great day!
Best,
Yves

It works, thanks a lot!!