AllenCellModeling / napari-aicsimageio

Multiple file format reading directly into napari using pure Python
GNU General Public License v3.0
33 stars 9 forks source link

Issue with libxml2=2.11.4 on Windows #76

Open haesleinhuepf opened 1 year ago

haesleinhuepf commented 1 year ago

Description

Hi all,

we noticed on a couple of Windows computers that in some environments napari crashes without any error message, in case napari-aicsimageio is installed together with libxml2=2.11.4. To fix the issue, we had to downgrade to libxml2=2.10.4. It may make sense to pin this version.

Expected Behavior

Napari should start or give an error message when failing to start.

Reproduction

Setup an environment like this:

mamba create --name test101 napari napari-aicsimageio libxml2=2.11.4

And start napari:

mamba activate test101
napari

Napari will crash without any error.

The crash does not happen if the environment is created like that:

mamba create --name test102 napari napari-aicsimageio libxml2=2.10.4

I also tested an environment where napari-aicsimageio is not installed. Here, napari runs fine too.

mamba create --name test103 napari libxml2=2.11.4

Thus, I conclude that the combination of napari-aicsimageio and libxml2=2.11.4 causes the problem.

See also:

Environment

Any additional information about your environment

environment-test102.yml.txt environment-test103.yml.txt environment-test101.yml.txt

psobolewskiPhD commented 1 year ago

I suspect this might be upstream? but can you do: mamba repoquery depends libxml2 and mamba repoquery whoneeds libxml2