[ome-users] NumberFormatException import .zvi file

Curtis Rueden ctrueden at wisc.edu
Wed Sep 24 23:04:10 BST 2008


Hi Susan,

Thanks for the file; the bug should be fixed in the latest trunk build of
Bio-Formats, and hence the next release of OMERO.

If you want to update your existing OMERO installation with the fix, you
will need to inject the new ZeissZVIReader into the OMERO.importer
application. Before proceeding, please note that though this procedure
should work in theory, it is untested and unsupported, and will void your
warranty. :-)

First, download loci_tools.jar to your Desktop. Assuming you have installed
OMERO.importer in your Applications folder with the default folder name
(OMERO.clients-Beta3.0.1.mac), you can then run the following commands from
the Terminal:

export SRC_JAR=~/Desktop/loci_tools.jar
export
DEST_JAR=/Applications/OMERO.clients-Beta3.0.1.mac/OMERO.importer.app/Contents/Resources/Java/jar_1.jar
jar xvf $SRC_JAR 'loci/formats/in/ZeissZVIReader.class'
jar xvf $SRC_JAR 'loci/formats/in/ZeissZVIReader$1.class'
jar uvf $DEST_JAR 'loci/formats/in/ZeissZVIReader.class'
jar uvf $DEST_JAR 'loci/formats/in/ZeissZVIReader$1.class'
rm -rf loci

This sequence of commands will update the jar_1.jar resource with the new
ZeissZVIReader code.  You may want to back up your existing jar_1.jar file
first, just in case.

-Curtis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openmicroscopy.org.uk/pipermail/ome-users/attachments/20080924/72701a94/attachment.html>


More information about the ome-users mailing list