<html>
    <head>
      <base href="http://fiji.sc/bugzilla/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - macro waitForUser issue"
   href="http://fiji.sc/bugzilla/show_bug.cgi?id=1179">1179</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>macro waitForUser issue
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Fiji
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P4
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Plugins
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>imagej-bugs@imagej.net
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>vbindoka@bsd.uchicago.edu
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>vbindoka@bsd.uchicago.edu
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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: <a href="http://update.imagej.net/">http://update.imagej.net/</a> (last check:20151016203411)
Fiji: <a href="http://update.fiji.sc/">http://update.fiji.sc/</a> (last check:20151016212838)
3D ImageJ Suite: <a href="http://sites.imagej.net/Tboudier/">http://sites.imagej.net/Tboudier/</a> (last check:20151008015610)
Bio-Formats: <a href="http://sites.imagej.net/Bio-Formats/">http://sites.imagej.net/Bio-Formats/</a> (last check:20151019202648)
ClearVolume: <a href="http://sites.imagej.net/ClearVolume/">http://sites.imagej.net/ClearVolume/</a> (last check:20150703051607)
FFMPEG: <a href="http://fiji.sc/~schindelin/ffmpeg-plugins/">http://fiji.sc/~schindelin/ffmpeg-plugins/</a> (last check:20130606102449)
GDSC-SMLM: <a href="http://sites.imagej.net/GDSC-SMLM/">http://sites.imagej.net/GDSC-SMLM/</a> (last check:20151020071423)
HDF5: <a href="http://sites.imagej.net/Ronneber/">http://sites.imagej.net/Ronneber/</a> (last check:20150214064119)
Morphology: <a href="http://sites.imagej.net/Landini/">http://sites.imagej.net/Landini/</a> (last check:20140723095558)
MS-ECS-2D: <a href="http://sites.imagej.net/MS-ECS-2D/">http://sites.imagej.net/MS-ECS-2D/</a> (last check:20150821142350)
Stowers: <a href="http://research.stowers.org/imagejplugins/updates/">http://research.stowers.org/imagejplugins/updates/</a> (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_.jar</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>