Joulescope UI fails to launch on Ubuntu 22.04

i am trying to run joulescope UI on my machine running 22.04.5 LTS (Jammy Jellyfish).
The issue started first on joulescope launcher version 1.2.2 where i get the following error message:

WARNING:2025-01-14 15:23:15,307:backend.c:380:jsdrv:zero length bulk in transfer
qt.qpa.wayland: eglSwapBuffers failed with 0x300d, surface: 0x0

I get the pop-up telling me a new version is available, when i press “later” the window closes and nothing more happens. There is a process running, but no window shows up.

When updating to 1.2.5 (latest at this time) i get this error when trying to run:
[PYI-107012:ERROR] Failed to load Python shared library ‘/home/esr/Documents/joulescope/joulescope_1_2_5/_internal/libpython3.11.so.1.0’: dlopen: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.38’ not found (required by /home/esr/Documents/joulescope/joulescope_1_2_5/_internal/libpython3.11.so.1.0)

Hi @eirseb and welcome to the Joulescope forum!

We use the ubuntu-latest GitHub Actions runner to build the Joulescope UI for Ubuntu. GitHub updated this runner to Ubuntu 24.04 a while back. It appears that the Joulescope UI Ubuntu 24.04 builds do not run on 22.04.

Distributing binary GUI applications for Linux is a nightmare. I have been told that Flatpak can help somewhat. However, we have not investigated…

If you want to stay on Ubuntu 22.04, you can use the Python package to run from Python. See the README for instructions.

Does this help you get up and running?

Here’s what worked for me. Install the older version, 1.1.11. List here:

https://download.joulescope.com/joulescope_install

If you get the Could not load the Qt platform plugin “xcb” error, then do:

sudo apt-get install -y libxcb-cursor-dev