Comments (9)
Hi @bjtho08, could you please post the exact steps you followed to get this exception? Also, the complete stack trace would surely be helpful to track this issue down. See bug reporting best practices.
Hi @imagejan, thanks for replying!
Steps to reproduce error:
- On Ubuntu 16.04 open FIJI with HDF5 plugin installed
- Install any updates and restart FIJI
- Create a new multi-channel hyperstack
- Open File menu -> Save As -> HDF5 (new or replace) ...
- Choose default settings and click Save
This results in
Error while saving '/path/to/file.h5':
java.lang.ArrayIndexOutOfBoundsException
I have attached the dump stack from the moment of the error message on screen.
It works just fine on Windows 10, btw.
fiji dump stack.txt
from hdf5_vibez.
Hi @bjtho08, could you please post the exact steps you followed to get this exception? Also, the complete stack trace would surely be helpful to track this issue down. See bug reporting best practices.
from hdf5_vibez.
Update: It turns out that it does not work on my windows 10, either. unless it is a newly created empty multi-channel image. Trying to save an existing multi-channel image results in the above error.
from hdf5_vibez.
Hi @bjtho08,
I could not reproduce your issue. Could you please provide the exact parameters of the image you are trying to save (x, y, z, c, t dimensions), axis order of your hyperstack, as well as options that you have selected for saving? Could you please also provide Fiji info?
Plugins -> Debug -> System information
Thanks!
Radek
from hdf5_vibez.
Also, you seem to call HDF5 saver from within a script. Could we please take a look at your code?
from hdf5_vibez.
So, I tested in on my co-worker's computer and his is working fine. So at the moment the error is on two different computers with different OS'es, but apparently it is very localized.
For the new hyperstack image, the parameters are as follows:
(400, 300, 1, 3, 1) 8-bit
For some unknown reason, it works on my windows 10 machine if I create it as 32-bit, but 8-bit fails consistently.
When saving I use no compression and the preset named Standard (no time).
The output log contains the following two lines after it failed:
source level = 0 stackIndex = 1
I am not calling it from a script right now, so I don't have any code to show.
ij-info.txt
from hdf5_vibez.
Hi @bjtho08,
Could you please check what java versions you have on machines where it works vs those where it does not?
Thanks
from hdf5_vibez.
@rejsmont shouldn't that be whatever version that is packaged along with FIJI? I didn't think it would make a difference if I had another java version installed on my machine. It appears that I am running build 1.8.0_191-b12 on the windows machine. On Ubuntu, I get the following output from java -showversion
:
openjdk version "1.8.0_191"
OpenJDK Runtime Environment (build 1.8.0_191-8u191-b12-0ubuntu0.16.04.1-b12)
OpenJDK 64-Bit Server VM (build 25.191-b12, mixed mode)
I don't have access to my coworkers computer before monday, so I hope this will be useful in the meantime.
from hdf5_vibez.
The problem turned out to be because I was using the HDF5 update site which took priority over the version from java-8. Now, however, I have another problem. When I save a file as HDF5, I am unable to open it again. I get the following error log:
loci.formats.UnknownFormatException: Unknown file format: C:\Users\bjarnet\Pictures\test.h5
at loci.formats.ImageReader.getReader(ImageReader.java:197)
at loci.plugins.in.ImportProcess.createBaseReader(ImportProcess.java:620)
at loci.plugins.in.ImportProcess.initializeReader(ImportProcess.java:485)
at loci.plugins.in.ImportProcess.execute(ImportProcess.java:138)
at loci.plugins.in.Importer.showDialogs(Importer.java:140)
at loci.plugins.in.Importer.run(Importer.java:76)
at loci.plugins.LociImporter.run(LociImporter.java:78)
at ij.IJ.runUserPlugIn(IJ.java:228)
at ij.IJ.runPlugIn(IJ.java:192)
at ij.Executer.runCommand(Executer.java:137)
at ij.Executer.run(Executer.java:66)
at java.lang.Thread.run(Thread.java:748)
This is a standard 3-channel TIF image saved in HDF5 and then I attempt to open the newly created .h5 file. Is there some obvious solution or should I submit a new issue?
from hdf5_vibez.
Related Issues (11)
- Open API HOT 2
- zooming to selection fails
- Load hdf5 dataset > 2GB HOT 6
- "Type 'int32' not handled yet!" Error message when loading int-32 based pixel images HOT 1
- Apple M1 Support HOT 17
- Plugin is not working on the Fiji 1.53t version HOT 5
- float(), uint8(), ... and object() HOT 1
- Make it work with IJ2 data structures HOT 2
- Support for reading from external links HOT 2
- int16 data sets not read properly HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hdf5_vibez.