-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BloscCompression Class Not Found #39
Comments
thanks for reporting @AdvancedImagingUTSW |
I definitely meant to post this to the n5-utils repository. I apologize, our coffee isn't as good as Janelia's. Mark mentioned that it would be helpful to have a have a full traceback. To my knowledge, my .bashrc profile has nothing related to the execution of this program. Shell input calls a program named 2022-04-29-n5view.sh. Within this shell script, it simply calls the n5-view compiled program with the necessary flags.
Shell output.
Thank you, |
Thanks Kevin, I see it now. |
This is compounded by several issues:
In the near term, users can can extract libblosc.so from the Fiji.app folder and add it to the library load path (e.g. Another option may be to install a prepared libblosc, blosc, or c-blosc package or their dev companion packages for your system, and symlink libblosc.so.1 to libblosc.so. A more intensive option involves building c-blosc from scratch. See the README at https://github.com/Blosc/c-blosc In the long term, Fiji.app and the relevant Saalfeld Lab packages should probably link against libblosc.so.1 rather than libblosc.so so that the native library could be provided by the Linux system if not provided by FIJI. cc: @ctrueden |
I am operating on a RedHat Linux server where I do not have sudo privileges. I thus took a different approach to testing this out.
at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:303)
at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:427)
at com.sun.jna.Native.register(Native.java:1647)
at com.sun.jna.Native.register(Native.java:1360)
at org.blosc.IBloscDll.(IBloscDll.java:15)
at org.blosc.JBlosc.init(JBlosc.java:30)
at org.blosc.JBlosc.(JBlosc.java:24)
at org.janelia.saalfeldlab.n5.blosc.BloscCompression.(BloscCompression.java:70)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at org.janelia.saalfeldlab.n5.CompressionAdapter.update(CompressionAdapter.java:82)
at org.janelia.saalfeldlab.n5.CompressionAdapter.getJsonAdapter(CompressionAdapter.java:166)
at org.janelia.saalfeldlab.n5.AbstractGsonReader.(AbstractGsonReader.java:58)
at org.janelia.saalfeldlab.n5.N5FSReader.(N5FSReader.java:116)
at org.janelia.saalfeldlab.n5.N5FSReader.(N5FSReader.java:136)
at org.janelia.saalfeldlab.N5Factory.createN5FS(N5Factory.java:259)
at org.janelia.saalfeldlab.N5Factory.createN5(N5Factory.java:207)
at org.janelia.saalfeldlab.N5Factory.createN5Reader(N5Factory.java:186)
at org.janelia.saalfeldlab.View.call(View.java:281)
at org.janelia.saalfeldlab.View.call(View.java:175)
at picocli.CommandLine.executeUserObject(CommandLine.java:1853)
at picocli.CommandLine.access$1100(CommandLine.java:145)
at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2255)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2249)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2213)
at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2080)
at picocli.CommandLine.execute(CommandLine.java:1978)
at org.janelia.saalfeldlab.View.main(View.java:514)
Not sure if it is only needed if compression is used when the N5 data is saved. But thought I would report it nonetheless.
The text was updated successfully, but these errors were encountered: