Plugin scripts no longer appear in plugin menu on mac osx

development
plugin
Tags: #<Tag:0x00007fa2ff320dd0> #<Tag:0x00007fa2ff320c68>

#1

This is an odd issue that I cant figure out:
I wrote a few simple jython scripts added them to a folder, and dragged that folder to my Fiji.app/plugins directory. I could then see and run the scripts from my Plugins menu. I made an update site and added these scripts to it for easy distribution to my lab (called Lab-utility-plugins http://imagej.net/List_of_update_sites , source: https://github.com/Macklin-Lab/imagej-microscopy-scripts/tree/master/Lab-utility-plugins – you can see the names are formatted properly with _ and .py). This was all fine, but I recently updated Fiji, and the scripts all disappeared from my machine. I removed and added the update site, uninstalled and re-installed Fiji, still no luck.
I tried adding other dummy files to my plugins folder, things like test_.clj test_two.py test_macro.ijm test_ja.jar` and still nothing shows up.
Oddly, everyone in my lab and friends are able to install and use the plugins from the update site still. I tried a fresh install on a Windows machine I have access to and again it worked without a problem. I am stuck-- it seems like my plugins folder is no longer checking for updates.
any help would be appreciated.

java info:

Nicholass-MacBook-Air:~ Nick$ java -version
java version "1.8.0_144"
Java(TM) SE Runtime Environment (build 1.8.0_144-b01)
Java HotSpot(TM) 64-Bit Server VM (build 25.144-b01, mixed mode)

#2

This issue was discussed here as well:

The issue seems to appear on Mac OSX only. The workaround I mentioned there is to put the scripts into ./Fiji.app/scripts/ instead of ./Fiji.app/plugins/.

In your case, this would mean to move your scripts from:

  • ./Fiji.app/plugins/Lab-utility-plugins/

to:

  • ./Fiji.app/scripts/Plugins/Lab-utility-plugins/

I didn’t have time to investigate further what’s causing the issue, though.


#3

Thanks for pointing me at that post, I didn’t see it before. The workaround does indeed add the scripts to the main menu at the top of the screen. I’ll keep an eye out for updates and in the meantime I’ll change the update site to install to scripts/Plugins/ if that is possible. Thanks.