|
Bugzilla – Bug 1179 |
macro waitForUser issue |
Last modified: 2015-10-21 23:01:16 CDT |
| ⚠ |
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. |
|
|
|
||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||
I'm getting random failure of scripts with err mssg of "duplicate call 'waitForUser'" My input is a n-CH stack. I ask the user to scroll to 3 certain CHs. The script can stop on call 2 or call 3, OR run perfectly well ! My workaround was to add a line to do something {set current CH}, and that seems to avoid the random stoppage! example: waitForUser("cfp","find CFP"); Stack.getPosition(cfp, s, fr); Stack.setChannel(cfp); //bug fix, randomly stops due to 'duplicate call' if JUST get CH waitForUser("gfp","find GFP"); Stack.getPosition(gfp, s, fr); Stack.setChannel(gfp); waitForUser("rfp","find RFP"); Stack.getPosition(rfp, s, fr); running without the setChannel lines creates the problem [randomly] 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: E:\SEP201~1/java/win64/jdk1.6.0_24//jre imagej.dir => E:\SEP201~1 Information about the version of each plugin: Activated update sites: ImageJ: http://update.imagej.net/ (last check:20151016203411) Fiji: http://update.fiji.sc/ (last check:20151016212838) 3D ImageJ Suite: http://sites.imagej.net/Tboudier/ (last check:20151008015610) Bio-Formats: http://sites.imagej.net/Bio-Formats/ (last check:20151019202648) ClearVolume: http://sites.imagej.net/ClearVolume/ (last check:20150703051607) FFMPEG: http://fiji.sc/~schindelin/ffmpeg-plugins/ (last check:20130606102449) GDSC-SMLM: http://sites.imagej.net/GDSC-SMLM/ (last check:20151020071423) HDF5: http://sites.imagej.net/Ronneber/ (last check:20150214064119) Morphology: http://sites.imagej.net/Landini/ (last check:20140723095558) MS-ECS-2D: http://sites.imagej.net/MS-ECS-2D/ (last check:20150821142350) Stowers: http://research.stowers.org/imagejplugins/updates/ (last check:20151015110606) Files not up-to-date: 6e424a26 (UPDATEABLE) 20151019041345 jars/bio-formats/formats-api.jar 56e8145e (UPDATEABLE) 20151013073914 jars/bio-formats/formats-bsd.jar 6d337b7a (LOCAL_ONLY) 20140730142734 plugins/Accurate_Gaussian_Blur.class 6e9d50db (LOCAL_ONLY) 20140320051924 plugins/Adjustable_Watershed.class 306ad943 (LOCAL_ONLY) 20150721115948 plugins/Align3_TP.jar 12ec0761 (LOCAL_ONLY) 20120224100622 plugins/Align_RGB_planes.class f98ce4f3 (LOCAL_ONLY) 20150721120238 plugins/Auto_Align_2.jar b0398adb (LOCAL_ONLY) 20141028073350 plugins/DeconvolutionLab/DeconvolutionLab_.jar 11326750 (LOCAL_ONLY) 20050408103628 plugins/FFT1D.class 18f23277 (LOCAL_ONLY) 20050408103628 plugins/FourierSpace.class 44693e65 (LOCAL_ONLY) 20150325121214 plugins/Frac_Lac.jar 348da731 (LOCAL_ONLY) 20141126044659 plugins/GHT_.jar 15a0aac2 (LOCAL_ONLY) 20050408150536 plugins/GibsonPSF.class 52861b7c (LOCAL_ONLY) 20050408150244 plugins/GibsonPSFF.class f481dc68 (LOCAL_ONLY) 20120817074900 plugins/Hybrid_2D_Filters.class 6b2de3e5 (LOCAL_ONLY) 20120817084143 plugins/Hybrid_3D_Filters.class e9cb6eb7 (LOCAL_ONLY) 20150115083713 plugins/Image_CorrelationJ_1o.class 077159f3 (LOCAL_ONLY) 20150716125422 plugins/Image_Stabilizer.class 55624188 (LOCAL_ONLY) 20150716125430 plugins/Image_Stabilizer_Log_Applier.class 71ae5c42 (LOCAL_ONLY) 20140509130342 plugins/KalmanOpenStackFilter_.class d0d470a1 (LOCAL_ONLY) 20150910042624 plugins/MIST_.jar 53c5c1ad (LOCAL_ONLY) 20141103073745 plugins/NL_Means_.jar 21927175 (LOCAL_ONLY) 20140808090713 plugins/PIV_.jar b3b13b1f (LOCAL_ONLY) 20050408150244 plugins/PSFCredits$1.class cb99705d (LOCAL_ONLY) 20050408150244 plugins/PSFCredits.class de90b917 (LOCAL_ONLY) 20050408150536 plugins/PSFCreditsG$1.class e33950eb (LOCAL_ONLY) 20050408150536 plugins/PSFCreditsG.class 9f2412ff (LOCAL_ONLY) 20141028082626 plugins/PSF_Generator.jar 5a3abd78 (LOCAL_ONLY) 20050408150536 plugins/PSF_Gibson_.class 65b190f7 (LOCAL_ONLY) 20121002063426 plugins/PSF_Simple_.class 57317a41 (LOCAL_ONLY) 20151008100259 plugins/Polynomial_Surface_Fit.class 12289f6e (LOCAL_ONLY) 20110916093010 plugins/PureDenoise_.jar c800e20c (LOCAL_ONLY) 20151008092212 plugins/Thunder_STORM.jar 69b16199 (LOCAL_ONLY) 20050408103628 plugins/WaveDaub4.class f0990b22 (LOCAL_ONLY) 20050408103628 plugins/WaveDaub4Filter.class 27901023 (LOCAL_ONLY) 20050408152652 plugins/Wavelet_Deconvolution_.class 7ad8e0c0 (UPDATEABLE) 20150406040305 plugins/gdsc_smlm-0.3.1-SNAPSHOT.jar 71331805 (LOCAL_ONLY) 20140314082430 plugins/jacop_.jar 9bbfb280 (LOCAL_ONLY) 20140225135257 plugins/octane2_.jartry this: run("HeLa Cells (1.3M, 48-bit RGB)"); run("Set Measurements...", "area mean min integrated area_fraction limit display redirect=None decimal=3"); Stack.getDimensions(w, h, ch, s, fr); Stack.setDisplayMode("color"); setSlice(1); waitForUser("red","scroll to red ch"); Stack.getPosition(red, s, fr); waitForUser("grn","find green"); Stack.getPosition(grn, s, fr); waitForUser("blu","find blue"); Stack.getPosition(blu, s, fr); I get the 'duplicate call' error usually on the 'find green' step. Thanks!