<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">Le 18/08/2023 à 09:37, Emmanuel FARHI a
écrit :<br>
</div>
<blockquote type="cite"
cite="mid:0f0a4930-06d7-4604-4a73-8966aed0f9da@synchrotron-soleil.fr">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<p>Hi Roland,</p>
</blockquote>
Hi,<br>
<blockquote type="cite"
cite="mid:0f0a4930-06d7-4604-4a73-8966aed0f9da@synchrotron-soleil.fr">
<p>I've just tested the recent napari packages that have been
prepared by yourself.</p>
<p>The installation goes as it should with packages:</p>
<blockquote>
<p>python3-app-model_0.2.0-2_all.deb
python3-in-n-out_0.1.8-2_all.deb
python3-napari-plugin-engine_0.2.0-3_all.deb<br>
python3-cachey_0.2.1-3_all.deb
python3-magicgui_0.7.2-3_all.deb
python3-npe2_0.7.2-2_all.deb<br>
python3-docstring-parser_0.15-2_all.deb
python3-napari_0.5.0~a1-3_all.deb
python3-psygnal_0.9.1-2_all.deb</p>
</blockquote>
<p>obtained from tracker.debian.org</p>
<p>Then I have created a small launcher script for the GUI itself:</p>
<blockquote>
<p><font face="monospace">#!/usr/bin/python3<br>
<br>
# -*- coding: utf-8 -*-<br>
import re<br>
import sys<br>
from napari.__main__ import main<br>
if __name__ == '__main__':<br>
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '',
sys.argv[0])<br>
sys.exit(main())</font><br>
</p>
</blockquote>
</blockquote>
<p>You shouldn't need to create that script, as it's already present
in /usr/bin/napari :-)<br>
</p>
<blockquote type="cite"
cite="mid:0f0a4930-06d7-4604-4a73-8966aed0f9da@synchrotron-soleil.fr">
<blockquote>
<p> </p>
</blockquote>
<p>In principle, the main GUI should be displayed (at least it
does from a pip3 installation in a venv).<br>
</p>
<p>The execution in a vanilla Bookworm with Cinnamon brings an
error:</p>
<p>[…]<br>
<br>
</p>
<p>I do not exactly know what is the issue. Any idea ?<br>
</p>
</blockquote>
<p>I think it's related to python-vispy. I prepared and uploaded a
package for a new upstream version of python-vispy (0.13.0-1) and
tightened the dependency and build-dependency of napari on it, and
now it does launch a GUI. The new napari (0.5.0~a1-4) is uploaded
to unstable too.</p>
<p>Roland.<br>
</p>
<br>
</body>
</html>