napari-aicsimageio icon indicating copy to clipboard operation
napari-aicsimageio copied to clipboard

Issue with libxml2=2.11.4 on Windows

Open haesleinhuepf opened this issue 2 years ago • 1 comments
trafficstars

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:

  • https://github.com/haesleinhuepf/devbio-napari/issues/40

Environment

Any additional information about your environment

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

haesleinhuepf avatar Jun 07 '23 18:06 haesleinhuepf

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

psobolewskiPhD avatar Jun 08 '23 15:06 psobolewskiPhD