Posted by
Snider, Kaitlin on
Jun 25, 2014; 7:11pm
URL: http://imagej.273.s1.nabble.com/Macro-in-Plugin-Menu-fails-to-run-tp5008423p5008431.html
And I forgot to include the debug console log - here it is.
Thanks again everyone for your patience!
Kaitlin Snider
________________________________________
From: Snider, Kaitlin
Sent: Wednesday, June 25, 2014 3:09 PM
To: Johannes Schindelin;
[hidden email]
Cc:
[hidden email]
Subject: RE: Macro in Plugin Menu fails to run
Hi Johannes and Wayne,
Re: Johannes suggestions and questions: I'm currently running ImageJ 1.49b. I double-checked and I don't have any locally modified files. I ran it through the debug mode and copied the output the debug log produced to a file, but I'm not sure how to read the debug report and haven't the faintest idea if it points to anything of interest - I've inserted that file if anyone else wants to take a look.
Also, I glanced at my code again and I know exactly where the "Number or numeric function expected" error is coming from. It's a new line I added today while trying to get it to run from the plugin menu. Basically line 3 can just be removed. I'm quite sure that line 3 has nothing to do with the failure to run from the plugin menu.
Re: Wayne's suggestion to report a bug: my apologies - I figured this was something odd in my macro code, I never considered that it could be a bug in Fiji. I will certainly submit a bug report.
Thanks!
Kaitlin Snider
________________________________________
From: Johannes Schindelin <
[hidden email]>
Sent: Wednesday, June 25, 2014 2:09 PM
To: Snider, Kaitlin
Cc:
[hidden email]
Subject: RE: Macro in Plugin Menu fails to run
Hi Kaitlin,
On Wed, 25 Jun 2014, Snider, Kaitlin wrote:
> Yes - sorry, I should have specified, it does expect an image to be
> open.
Even so, it still gives me that error... Are you using a custom version of
ImageJ 1.x? Or maybe another version than ImageJ 1.49b?
> Any idea why it would start in your Fiji and not do anything in mine?
> If I try it in my Fiji with no image open, it gives me the same result
> as with an open image: reads "Command finished: Cell nuclei macro x" on
> the status line, no error message. Am I possibly missing a .jar or
> plugin that it needs to run from the plugin menu?
One thing you could do would be to run the updater and switch to advanced
mode to figure out whether there are locally-modified files, or local-only
ones that might interfere.
Another thing would be to start Fiji from the command-line and inspect the
console log:
http://fiji.sc/Command-Line_DebuggingCiao,
Johannes
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html