Library.txt is not being loaded

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Library.txt is not being loaded

Carnë Draug
Hi everyone,

for some reason, ImageJ is not loading the Library.txt file. When I
write a macro that uses one of its functions, I get the error
"Undefined identifier" for the functions defined on Library.txt

I have placed it at ~/.imagej/macros and then at /usr/lib/fiji/ macros
all without success. I have both write and read permissions for the
file (I even tried chmod 777).

I'm using the FIJI version on the FIJI repositories for debian (Debian
squeeze). When that didn't work I have also downloaded the latest
version of Fiji from Fiji's website (I am, however, unable to check
and make update due to the weird proxy configuration of my university
and the downloaded file has the date of 2011/03/07 on its filename).

Any idea how to fix this?

Thanks in advance,
Carnë

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

Re: Library.txt is not being loaded

Michael Schmid
Hi Carnë,

I have never tried this, but the 1.38n release notes say, it should be in your macros directory
  ImageJ/macros/

Looking at the source code of Menus.setupPluginsAndMacrosPaths it seems that the situation is more complex; you should be able to see the correct location with the ImageJ command Plugins>Utilities>ImageJ Properties.
The 'Menus.getMacrosPath' item should show you the correct location.

Strange enough, the 1.38n release notes also say, it should be named "FunctionLibrary.txt", but the source code (in Menus.installStartupMacroSet) has it named "Library.txt".

--

Proxy problem - maybe someone else has a clue...

Michael
________________________________________________________________
On Jun 28, 2012, at 19:47, Carnë Draug wrote:

> Hi everyone,
>
> for some reason, ImageJ is not loading the Library.txt file. When I
> write a macro that uses one of its functions, I get the error
> "Undefined identifier" for the functions defined on Library.txt
>
> I have placed it at ~/.imagej/macros and then at /usr/lib/fiji/ macros
> all without success. I have both write and read permissions for the
> file (I even tried chmod 777).
>
> I'm using the FIJI version on the FIJI repositories for debian (Debian
> squeeze). When that didn't work I have also downloaded the latest
> version of Fiji from Fiji's website (I am, however, unable to check
> and make update due to the weird proxy configuration of my university
> and the downloaded file has the date of 2011/03/07 on its filename).
>
> Any idea how to fix this?
>
> Thanks in advance,
> Carnë
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html

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

Re: Library.txt is not being loaded

Carnë Draug
On 28 June 2012 19:29, Michael Schmid <[hidden email]> wrote:
> Looking at the source code of Menus.setupPluginsAndMacrosPaths it seems that the situation is more complex; you should be able to see the correct location with the ImageJ command Plugins>Utilities>ImageJ Properties.
> The 'Menus.getMacrosPath' item should show you the correct location.
>
> Strange enough, the 1.38n release notes also say, it should be named "FunctionLibrary.txt", but the source code (in Menus.installStartupMacroSet) has it named "Library.txt".

Hi Michael,

thank you for checking this but it didn't solve my problem. Checking
the properties I see the following:

  Menus.getMacrosPath: /usr/lib/fiji/macros/

so this much seemed to be right. I then renamed the file on that
directory from Library.txt to FunctionLibrary.txt but the problem
persists. Also, my FIJI version comes with ImageJA 1.45i

Carnë

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