NOTICE! This is a static HTML version of a legacy Fiji BugZilla bug.

The Fiji project now uses GitHub Issues for issue tracking.

Please file all new issues there.

Bug 943 - smallest buging macro with Fiji script
smallest buging macro with Fiji script
Status: RESOLVED FIXED
Product: Fiji
Classification: Unclassified
Component: Plugins
unspecified
PC Windows
: P4 normal
Assigned To: ImageJ Bugs Mailing List
Depends on:
Blocks:
 
Reported: 2014-10-15 02:01 CDT by CARL
Modified: 2014-10-30 13:00 CDT
4 users (show)

See Also:

Description CARL 2014-10-15 02:01:17 CDT
Dear Fiji team,
when writing the following macro within the Fiji scripting window:
e = 0;
the fiji scripting window is compiling the code correctly.
But as soon as there is something after "e", like:
ea = 0;
eb = 0;
or even:
e0 = 0;
e1 = 0;
the following "Macro Error" gets outputed:
Statement cannot begin with '=' in line 2.
<=> ; call ( "net.imagej.legacy.plugin.IJ1MacroEngine.setOutput" , "result" , result ) ;
My best regards,
Philippe

Information about your version of Java:

  os.arch => amd64
  os.name => Windows 7
  os.version => 6.1
  java.version => 1.6.0_24
  java.vendor => Sun Microsystems Inc.
  java.runtime.name => Java(TM) SE Runtime Environment
  java.runtime.version => 1.6.0_24-b07
  java.vm.name => Java HotSpot(TM) 64-Bit Server VM
  java.vm.version => 19.1-b02
  java.vm.vendor => Sun Microsystems Inc.
  java.vm.info => mixed mode
  java.awt.graphicsenv => sun.awt.Win32GraphicsEnvironment
  java.specification.name => Java Platform API Specification
  java.specification.version => 1.6
  sun.cpu.endian => little
  sun.desktop => windows
  file.separator => \

The up-to-date check says: REMIND_LATER

Information relevant to JAVA_HOME related problems:

  JAVA_HOME is set to: C:\Work\SOFTWA~1\Fiji/java/win64/jdk1.6.0_24//jre
  imagej.dir => C:\Work\SOFTWA~1\Fiji

Information about the version of each plugin:

Activated update sites:
ImageJ: http://update.imagej.net/ (last check:20141014031802)
Fiji: http://fiji.sc/update/ (last check:20141013104435)

Files not up-to-date:
  1c354c8b (LOCAL_ONLY) 20000413165800 luts/S_Pet.lut
  07c05d23 (LOCAL_ONLY) 20121217160354 luts/multitxt.lut
  bf66597a (LOCAL_ONLY) 20121218140114 luts/physicsmodtxt.lut
  6e6ad239 (LOCAL_ONLY) 20121217155828 luts/physicstxt.lut
  12fce5aa (LOCAL_ONLY) 20140718101359 plugins/ExtendedDepthField.txt
  7433440a (LOCAL_ONLY) 20130204161151 plugins/Image Stabilizer/Image_Stabilizer.class
  03be9b84 (LOCAL_ONLY) 20130204161218 plugins/Image Stabilizer/Image_Stabilizer_Log_Applier.class
  2dd4867b (LOCAL_ONLY) 20141001084253 plugins/Integration_calculation.ijm
  42219c3a (LOCAL_ONLY) 20140825140700 plugins/Radial2/Radial_Profile_Angle_Ext.class
  d28cc6e8 (LOCAL_ONLY) 20140825140701 plugins/Radial2/multi_plot/MultyPlotExt.class
  0fdf7e65 (LOCAL_ONLY) 20140825140701 plugins/Radial2/multi_plot/MultyPlotWindowExt.class
  24c44d4d (LOCAL_ONLY) 20140506160726 plugins/Scripts/Ph_CARL/Close_All....ijm
  f12146b9 (LOCAL_ONLY) 20130206163024 plugins/Scripts/Ph_CARL/Close_All2.ijm
  9b4b29d2 (LOCAL_ONLY) 20140218154016 plugins/Scripts/Ph_CARL/Create_folder.ijm
  85c6344e (LOCAL_ONLY) 20131108164053 plugins/Scripts/Ph_CARL/Extract_coordinates.ijm
  ab3013fb (LOCAL_ONLY) 20131127144746 plugins/Scripts/Ph_CARL/Extract_coordinates2.ijm
  4d456e4f (LOCAL_ONLY) 20131119161132 plugins/Scripts/Ph_CARL/Fast/Reduce_Dimensionality2.ijm
  5110a5ad (LOCAL_ONLY) 20131119152640 plugins/Scripts/Ph_CARL/Fast/Set_slice_and_contrast.ijm
  7588f796 (LOCAL_ONLY) 20140718093041 plugins/Scripts/Ph_CARL/Fiji_always_on_top.js
  afaf85ed (LOCAL_ONLY) 20140718093035 plugins/Scripts/Ph_CARL/Fiji_always_on_top_end.js
  72733ef5 (LOCAL_ONLY) 20140220161413 plugins/Scripts/Ph_CARL/Filter_Images.ijm
  bb04c482 (LOCAL_ONLY) 20140704110222 plugins/Scripts/Ph_CARL/Maximum_Finder_Mod_Ext.class
  cb190657 (LOCAL_ONLY) 20130424162624 plugins/Scripts/Ph_CARL/Measure_ROI_values.ijm
  134592f3 (LOCAL_ONLY) 20121213101213 plugins/Scripts/Ph_CARL/Microscope_Scale_iMIC.class
  cbe8f8c1 (LOCAL_ONLY) 20121218094342 plugins/Scripts/Ph_CARL/Open_Recent_File_0.class
  8ba195e6 (LOCAL_ONLY) 20121218094751 plugins/Scripts/Ph_CARL/Open_Recent_File_1.class
  76008cf7 (LOCAL_ONLY) 20121218094721 plugins/Scripts/Ph_CARL/Open_Recent_File_2.class
  4f38fb08 (LOCAL_ONLY) 20140414135258 plugins/Scripts/Ph_CARL/Particle_Tracker_PIV_Inputs.jar
  b143d1c5 (LOCAL_ONLY) 20131004145906 plugins/Scripts/Ph_CARL/Reduce_Dimensionality.ijm
  8ab755b8 (LOCAL_ONLY) 20130528171542 plugins/Scripts/Ph_CARL/Resize_and_Save_as_TIFF_and_Close.ijm
  48262963 (LOCAL_ONLY) 20140218154016 plugins/Scripts/Ph_CARL/Save_FTTC_Pictures_Full_Experiment.ijm
  5c369cb4 (LOCAL_ONLY) 20130924104247 plugins/Scripts/Ph_CARL/Save_JPG_Traction.ijm
  fb4a4385 (LOCAL_ONLY) 20140218154016 plugins/Scripts/Ph_CARL/Save_JPG_Traction_Full_Experiment.ijm
  d11f8fb2 (LOCAL_ONLY) 20140218154016 plugins/Scripts/Ph_CARL/Save_PIV_FTTC_JPG_Full_Experiment.ijm
  4c3c67b6 (LOCAL_ONLY) 20140217095124 plugins/Scripts/Ph_CARL/Save_PIV_Pictures.ijm
  8bd3841b (LOCAL_ONLY) 20140217092614 plugins/Scripts/Ph_CARL/Save_PIV_Pictures_Full_Experiment.ijm
  f99cafae (LOCAL_ONLY) 20121108104349 plugins/Scripts/Ph_CARL/Save_SCFS_Data.ijm
  4da1c631 (LOCAL_ONLY) 20140207144548 plugins/Scripts/Ph_CARL/Save_SCFS_Data_new.ijm
  01611468 (LOCAL_ONLY) 20130118143346 plugins/Scripts/Ph_CARL/Save_as_TIFF_and_Close.ijm
  f7ff1d43 (LOCAL_ONLY) 20140610102635 plugins/Scripts/Ph_CARL/SegFA_PseudoTIRF.ijm
  3b022ee2 (LOCAL_ONLY) 20121212114323 plugins/Scripts/Ph_CARL/Shift_latéral.ijm
  70e6a55b (LOCAL_ONLY) 20130311151957 plugins/Scripts/Ph_CARL/Stack_to_Hyperstack.ijm
  ff04c0b0 (LOCAL_ONLY) 20140425094242 plugins/Scripts/Ph_CARL/Translation_Alignment.class
  96df2830 (LOCAL_ONLY) 20131007085502 plugins/Scripts/Ph_CARL/test/NumberParticles8_.ijm
  d34b5256 (LOCAL_ONLY) 20140730164535 plugins/Scripts/Ph_CARL/test/Versatile_Wand.class
  83cb8345 (LOCAL_ONLY) 20140723154636 plugins/Scripts/Ph_CARL/test/morphology_collection.jar
  99308836 (LOCAL_ONLY) 20131217165922 plugins/Traction Force 2/FTTC_.jar
  ec703275 (LOCAL_ONLY) 20140416161333 plugins/Traction Force 2/PIV_.jar
  7d5b3965 (LOCAL_ONLY) 20120711154540 plugins/Traction Force 2/javacv.jar
  90915f54 (LOCAL_ONLY) 20120711154548 plugins/Traction Force 2/jna.jar
  f68a9b5d (LOCAL_ONLY) 20140826164737 plugins/Traction Force/Traction_Force_Calculation_with_FRAP.class
  1a4c5bdf (LOCAL_ONLY) 20121129112014 plugins/X Shifter/X_Shifter.class
  d198e2f0 (LOCAL_ONLY) 20140702170514 plugins/arf/SegFA_PseudoTIRF_Dialog.ijm
Comment 1 Mark Hiner 2014-10-15 08:37:59 CDT
Confirmed. See also https://github.com/fiji/fiji/issues/104
Comment 2 Johannes Schindelin 2014-10-15 16:44:50 CDT
Thank you for the bug report: it was very helpful that you made sure to reduce it to a very simple way to reproduce.

It is fixed in the source code; we are very close to release a couple of related components, therefore the relevant file will be uploaded to the ImageJ update site only tomorrow or so.

It would be very nice, though, if you could download http://jenkins.imagej.net/job/ImageJ-legacy/182/artifact/target/imagej-legacy-0.8.5-SNAPSHOT.jar and replace your Fiji.app/jars/imagej-legacy-0.8.4.jar and verify that we really managed to resolve the problem.

Thanks.
Comment 3 CARL 2014-10-16 03:44:04 CDT
Dear Johannes,
I have replaced the imagej-legacy-0.8.4.jar file with the new one and played with different conditions and everything seems to work fine now.
So thanks a lot for fixing this issue.
My best regards,
Philippe
Comment 4 Curtis Rueden 2014-10-30 13:00:18 CDT
Thanks for confirming the fix, Philippe.