while trying to start coot, I get this error message.
$ coot
INFO:: built with GTK 4.12.5
pdd /usr/share/coot
WARNING:: Coot REFMAC dictionary override COOT_REFMAC_LIB_DIR /usr/share/coot/lib failed to find the monomer library
WARNING:: COOT_PREFIX set, but no dictionary lib found
WARNING: Failed to read restraints dictionary.
ERROR:: Failure to read or parse /usr/share/coot/ui/coot-gtk4.ui
No function named `on_active_map_ok_button_clicked`.
It would be great if you could add an autopkgtest with timetout in order to check if the coot GUI could start
something like
#!/bin/sh -ex
# display glxinfo
glxinfo
# Check that the GUI can be started
timeout --preserve-status 10s coot
ec=$?
# do not fail if the exit code is 143, it seems that there is an
# issue with mesa 16/04/2024. (I do not know if this is still required)
if [ $ec -eq 143 ]; then
exit 0;
else
exit $ec;
fi
Cheers
https://salsa.debian.org/science-team/silx/-/blob/master/debian/tests/gui?ref_type=heads
I forgot to add that you start this script like this Test-Command: xvfb-run -s "-screen 0 1024x768x24 -ac +extension GLX +render -noreset" sh debian/tests/gui Depends: mesa-utils, coot, xauth, xvfb, Restrictions: allow-stderr
Hi, Thanks for spotting this. Interestingly, I had to problem with version 1.1.07.705.gb7e2c16a2+dfsg-1, thus this is be a regression. I will investigate. Good idea - thanks for proposing a suggestion for such autopkgtest. Best, Andrius