Login  Register

problem running plugins in subdirectory

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options Options
Embed post
Permalink
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

problem running plugins in subdirectory

Aryeh Weiss
468 posts
I seem to have a problem running plugins that are one level of
subdirectory into the plugins folder.
As an example, the RGB Measure Plus plugin sits in the
plugins/Colour Functions directory.
If I run it from there, I get;

Fiji/ImageJ 1.47o3; Java 1.6.0_43 [64-bit]; Mac OS X 10.8.3; 88MB of
12271MB (<1%)

java.lang.NoClassDefFoundError: Colour functions/RGB_Measure_Plus (wrong
name: RGB_Measure_Plus)
        at java.lang.ClassLoader.defineClass1(Native Method)
        ...

If I move it up one level to the plugins directory, it works fine. If i
compile and runt eh Java source it runs fine.
It used to work, but I had not used it in a long time, so I am not sure
when it broke.

Moving all of the plugins from the subdirectory into plugins make my
plugins menu even more of a mess than it already is.

I have seen similar issues discussed in the archive, but I have not
found a solution. I know that multiple subdirectory level do not work,
but one level have worked, and works with many other plugins.
I am using the Fiji distribution, but I think that this is not specific
to Fiji.

Any help will be appreciated.

--aryeh
--
Aryeh Weiss
Faculty of Engineering
Bar Ilan University
Ramat Gan 52900 Israel

Ph:  972-3-5317638
FAX: 972-3-7384051

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: problem running plugins in subdirectory

Jan Eglinger
211 posts
Hi Aryeh,

On 19.04.2013 8:23 AM, Aryeh Weiss wrote:
> I seem to have a problem running plugins that are one level of
> subdirectory into the plugins folder.

I observed the same, and filed a bug some time ago. Details how to
reproduce can be found on the bugzilla page:
http://fiji.sc/bugzilla/show_bug.cgi?id=576

Cheers,
Jan



> As an example, the RGB Measure Plus plugin sits in the
> plugins/Colour Functions directory.
> If I run it from there, I get;
>
> Fiji/ImageJ 1.47o3; Java 1.6.0_43 [64-bit]; Mac OS X 10.8.3; 88MB of
> 12271MB (<1%)
>
> java.lang.NoClassDefFoundError: Colour functions/RGB_Measure_Plus (wrong
> name: RGB_Measure_Plus)
>     at java.lang.ClassLoader.defineClass1(Native Method)
>     ...
>
> If I move it up one level to the plugins directory, it works fine. If i
> compile and runt eh Java source it runs fine.
> It used to work, but I had not used it in a long time, so I am not sure
> when it broke.
>
> Moving all of the plugins from the subdirectory into plugins make my
> plugins menu even more of a mess than it already is.
>
> I have seen similar issues discussed in the archive, but I have not
> found a solution. I know that multiple subdirectory level do not work,
> but one level have worked, and works with many other plugins.
> I am using the Fiji distribution, but I think that this is not specific
> to Fiji.
>
> Any help will be appreciated.
>
> --aryeh

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: problem running plugins in subdirectory

dscho
1631 posts
Hi Aryeh, hi Jan,

On Fri, 19 Apr 2013, Jan Eglinger wrote:

> On 19.04.2013 8:23 AM, Aryeh Weiss wrote:
> > I seem to have a problem running plugins that are one level of
> > subdirectory into the plugins folder.
>
> I observed the same, and filed a bug some time ago. Details how to
> reproduce can be found on the bugzilla page:
> http://fiji.sc/bugzilla/show_bug.cgi?id=576

Thanks for getting this to my attention. I fixed it and added a
regresstion test so we'll be notified in case I manage to break this
functionality again... *grins* (in case you are interested, please see the
BugZilla ticket for more detailed information).

Ciao,
Dscho

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: problem running plugins in subdirectory

Aryeh Weiss
468 posts
On 4/21/13 12:10 AM, Johannes Schindelin wrote:

> Hi Aryeh, hi Jan,
>
> On Fri, 19 Apr 2013, Jan Eglinger wrote:
>
>> On 19.04.2013 8:23 AM, Aryeh Weiss wrote:
>>> I seem to have a problem running plugins that are one level of
>>> subdirectory into the plugins folder.
>>
>> I observed the same, and filed a bug some time ago. Details how to
>> reproduce can be found on the bugzilla page:
>> http://fiji.sc/bugzilla/show_bug.cgi?id=576
>
> Thanks for getting this to my attention. I fixed it and added a
> regresstion test so we'll be notified in case I manage to break this
> functionality again... *grins* (in case you are interested, please see the
> BugZilla ticket for more detailed information).
>
>

Hi Johannes,

Works as advertised. Many thanks.

--aryeh
--
Aryeh Weiss
Faculty of Engineering
Bar Ilan University
Ramat Gan 52900 Israel

Ph:  972-3-5317638
FAX: 972-3-7384051

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html