I'm experiencing issues using Bio-Formats to read Imaris files (5.5, HDF5-based) in FiJi on Windows 64bit. While trying to reproduce my errors I probably discovered some more bugs unrelated to the ims file format as well. Here's what I did:
First of all, I downloaded a fresh ("vanilla", dating back to 2011-03-07) copy of FiJi from fiji.sc for Win64 bundled with JRE to make sure I have a clean setup. Next, I deleted my IJ_prefs.txt to exclude this as a possible source of problems. Then I tried all kinds of combinations of FiJi and loci_tools.jar to open an Imaris file (for my tests I created one using Imaris 7.5.0 having one channel and 5x5x5 voxels, but I also tried on other ims files with identical results).
For the FiJi vanilla with recent LOCI tools combinations I used the integrated LOCI updater, so except for the loci_tools.jar this was still the plain and fresh FiJi environment as unpacked from the ZIP. For the FiJi versions marked as "latest" all updates available via the FiJi updater were installed with no extra update sites configured but the two default ones (ImageJ + FiJi). I've condensed my observations here:
- Code: Select all
| FiJi version | LOCI version | read imaris file | notes
----------------------------------------------------------------------------------------
| vanilla (2011-03-07) | vanilla (2011-02-16) | ok |
| vanilla (2011-03-07) | trunk (2012-01-02) | ok |
| vanilla (2011-03-07) | stable (2012-08-25) | ok | [1]
| vanilla (2011-03-07) | daily (2012-09-04) | ok | [1]
| latest (2012-09-04) | vanilla (2011-02-16) | ERROR |
| latest (2012-09-04) | trunk (2012-01-02) | ERROR |
| latest (2012-09-04) | stable (2012-08-25) | ERROR | [1]
| latest (2012-09-04) | daily (2012-09-04) | ERROR | [1]
| latest (2012-09-04) | included (4.4-SNAPSHOT) | no file open dialog | [2]
Most surprising to me was the behavior of the last combination, not even the file open dialog was shown there (and nothing strange is shown in ImageJ's debug mode). BTW, this was not true for my local FiJi installation where the LOCI repository has been added to the FiJi update sites, here the file open window is displayed (imaris files still can't be opened though).
The version marked with "ERROR" above display the following message after a file has been chosen and the settings dialog was presented (line numbers vary across different versions):
- Code: Select all
java.lang.IllegalArgumentException: Invalid C size: 0
at loci.formats.FormatTools.getZCTCoords(FormatTools.java:408)
at loci.formats.FormatTools.getZCTCoords(FormatTools.java:369)
at loci.formats.FormatReader.getZCTCoords(FormatReader.java:980)
at loci.formats.in.ImarisHDFReader.getImageData(ImarisHDFReader.java:330)
at loci.formats.in.ImarisHDFReader.initFile(ImarisHDFReader.java:225)
at loci.formats.FormatReader.setId(FormatReader.java:1178)
at loci.plugins.in.ImportProcess.initializeFile(ImportProcess.java:475)
at loci.plugins.in.ImportProcess.execute(ImportProcess.java:138)
at loci.plugins.in.Importer.showDialogs(Importer.java:125)
at loci.plugins.in.Importer.run(Importer.java:77)
at loci.plugins.LociImporter.run(LociImporter.java:77)
at ij.IJ.runUserPlugIn(IJ.java:185)
at ij.IJ.runPlugIn(IJ.java:152)
at ij.IJ.runPlugIn(IJ.java:141)
at loci.plugins.shortcut.ShortcutPanel$1.run(ShortcutPanel.java:189)
NOTES:
[1]: calling the LOCI updater from this version yields an error dialog showing: "An error occurred while downloading the LOCI plugins."
[2]: calling the LOCI updater from this version results in an error message displayed within the log window:
- Code: Select all
java.lang.ExceptionInInitializerError
at loci.plugins.Updater.install(Updater.java:98)
at loci.plugins.Updater.run(Updater.java:87)
at ij.IJ.runUserPlugIn(IJ.java:185)
at ij.IJ.runPlugIn(IJ.java:152)
at ij.IJ.runPlugIn(IJ.java:141)
at loci.plugins.shortcut.ShortcutPanel$1.run(ShortcutPanel.java:192)
Caused by: java.lang.IllegalStateException: org.slf4j.LoggerFactory could not be successfully initialized. See also http://www.slf4j.org/codes.html#unsuccessfulInit
at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:282)
at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:248)
at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:261)
at loci.formats.UpgradeChecker.<clinit>(UpgradeChecker.java:126)
... 6 more
My Imaris test file is attached to this post. Please note it's NOT a ZIP file, just remove the ".zip" suffix from the filename (had to add it due to the forum software not accepting ".ims" files... very "safe" )
Any help is greatly appreciated!
Niko