Open cmhulbert opened 11 months ago
I am attempting to use paintera conversion helper via anaconda in the mac terminal, but am met with java related error messages. What workflow should I follow to import the N5 Data into a scalar N5 format to Fiji ImageJ so I can finalize a conversion to tiff image.
I should note that I am on an M2 Mac
Error Listed here: Using Spark's default log4j profile: org/apache/spark/log4j-defaults.properties
23/08/30 14:58:01 WARN NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
Compression 'org.janelia.saalfeldlab.n5.blosc.BloscCompression' could not be registered because:
java.lang.UnsatisfiedLinkError: Can't load library: /var/folders/y4/hjrd9kx10hlbdf64x61brzfr0000gn/T/jna-1434575083/jna16727122965266139432.tmp
at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2633)
at java.base/java.lang.Runtime.load0(Runtime.java:768)
at java.base/java.lang.System.load(System.java:1837)
at com.sun.jna.Native.loadNativeDispatchLibraryFromClasspath(Native.java:947)
at com.sun.jna.Native.loadNativeDispatchLibrary(Native.java:922)
at com.sun.jna.Native.
libblosc is missing, it looks like your are on Linux, so this should be easy, e.g.
sudo apt install libblosc1
They mentioned they are on a M2 Mac:
I should note that I am on an M2 Mac
You can use conda or homebrew:
https://anaconda.org/conda-forge/blosc
conda install -c conda-forge blosc
https://formulae.brew.sh/formula/c-blosc
brew install c-blosc
Also see notes from the JBlosx package itself: https://github.com/Blosc/JBlosc
Depending on the circumstances you may need to set the Java configuration option jna.library.path
Currently possible via paintera-conversion helper, but should be possible from the UI.