[Debian-pan-maintainers] SOLEIL debian packaging status: pyimagetool and freeart/tomogui
Emmanuel FARHI
emmanuel.farhi at synchrotron-soleil.fr
Fri Aug 11 16:43:29 BST 2023
Hi Roland,
some progress around pyimagetool. It is not intended to be used as an
application, but only as a widget or through a jupyter notebook.
However, it requires some files to be writable, which is wierd.
A solution to identify the issue is to brute force:
* sudo chmod -R a+rwx /usr/lib/python3/dist-packages/pyimagetool
Then one can launch for instance
* jupyter-notebook /usr/share/pyimagetool/examples/ExampleNotebook.ipynb
which fully works on bullseye.
But is now broken on bookworm, as pyqt6 has changed some of its API.
File/usr/lib/python3/dist-packages/pyimagetool/PGImageTool.py:24, inPGImageTool()
22 index_to_coord: List[str]= ['x','y','z','t']
23 frame_rate= 60
---> 24 bin_pen= pg.mkPen(style=pg.Qt.QtCore.Qt.DashLine)
26 mouse_hover= QtCore.Signal(str)# event fired when the mouse moves on an image
28 def __init__(self, data: RegularDataArray, parent=None, layout=0):
AttributeError: type object 'Qt' has no attribute 'DashLine'
I pushed an issue on the relevant github project:
* https://github.com/kgord831/PyImageTool/issues/5
So my conclusion is that this is deprecated, and not maintained anymore
(last commit dates from Jan 2021).
An adaption to current QT6 would be needed. The only solution, as it
works for bullseye, is to save the package into bullseye-backport.
For freeart/tomogui, this is the same, the package is not anymore
adapted to Debian libraries and not maintained. It does not even build.
Let's send bug reports to debian lists, and let them be kicked-out.
Emmanuel.
--
signature
/ ___|__/\_| | | ____|_ _| | FARHI Emmanuel
\___ \\ | | | _| | || | Div Exp/Data Reduction and Analysis Team
___) /_ _| |___| |___ | || |___ Tel : +33 (1) 69 35 96 04
<callto:+33%20%281%29%2069%2035%2096%2004>
|____/ \/ |_____|_____|___|_____| Saint-Aubin BP 48 - 91192 GIF/YVETTE
CEDEX
SYNCHROTRON http://www.synchrotron-soleil.fr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-pan-maintainers/attachments/20230811/da571de3/attachment.htm>
More information about the Debian-pan-maintainers
mailing list