[ImageJ-bugs] [Bug 835] Fiji hangs when installing macro tool

bugzilla at fiji.sc bugzilla at fiji.sc
Thu Aug 28 02:50:10 CDT 2014


http://fiji.sc/bugzilla/show_bug.cgi?id=835

--- Comment #19 from Ilan Tal <ilan.tal at gmail.com> ---
I wanted to try something different. I have the Window_Level_Tool compiled as a
jar file which both Fiji and ImageJ pick up with no problems. Wayne prefers a
class file, so I thought I would erase my jar file and put a class file in
instead. How would that work?

It turns out that both the jar and class files work perfectly well in both
ImageJ and Fiji. Still I decided to see the results under control of the
debugger. In addition to the .txt files I mentioned earlier, I picked up a
whole load of other files:

Dynamic_ROI_Profiler.clj
random_noise_example.clj
chess_.py
downsample_.js
compose_rgb-stacks.bsh
Delayed_Snapshot.py
list_all_threads.py
Plasma_Cloud.rb
Fiji_Cube.ijm
Window_Level_Tool.class
Postage_Action_Tool.ijm

I got bored at a certain stage and entered only interesting files. .txt files
we already know don't get picked up by validMacroName, but it seems like
nothing else gets picked up either. clj is not supposed to be picked up, but
py, js, bsh are supposed to be picked up (isFiji = false).

I saw there is another Fiji_Cube.ijm which has a similar name which also
failed. Window_Level_Tool.class gets properly classified which is what I wanted
to check, compared to the jar file which also works.

Of course my Postage_Action_Tool.ijm also fails - no big surprise here. In sort
validMacroName always fails in Fiji and it works in ImageJ. If I look at the
code it looks plain vanilla to me, so I have no explanation of why it should
fail. Adding trim() would do no damage, but it would probably do no good as
well. Aside from classifying this as an unsolvable bug, I have no idea what to
think.

Ilan

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://imagej.net/pipermail/imagej-bugs/attachments/20140828/dd7b0462/attachment.html>


More information about the Imagej-bugs mailing list