Open picca opened 5 years ago
It could be a bad installation of Qt5 in case png and svg media are not supported.
Could you try to print the result of
# with python2.7
from silx.gui import qt
qt.supportedImageFormats()
It expect to have at least "png".
Or maybe an extra Qt5 module have to be installed
Just in case it helps, the module QtSvg is not always available in debian.
One has to install it (package python-pyqt5.qtsvg)
In [2]: from silx.gui import qt
In [3]: qt.supportedImageFormats()
Out[3]:
{'bmp',
'cur',
'gif',
'ico',
'jpeg',
'jpg',
'pbm',
'pgm',
'png',
'ppm',
'svg',
'svgz',
'xbm',
'xpm'}
but I am not sure that this is the same during the build...
Maybe you could try this command line in the build context?
python -c "from silx.gui import qt; print(qt.supportedImageFormats())"
BTW the GUI application is not supposed to work on Python 2, then we could disable the GUI tests on Python 2.
Hello, here the link to the build
https://salsa.debian.org/science-team/pyfai/-/jobs/64655/raw
it failed with