[ImageJ-bugs] [Bug 1110] New: IJ paths are not set when running from console.
bugzilla at fiji.sc
bugzilla at fiji.sc
Fri Jul 10 04:08:22 CDT 2015
http://fiji.sc/bugzilla/show_bug.cgi?id=1110
Bug ID: 1110
Summary: IJ paths are not set when running from console.
Product: ImageJ
Version: unspecified
Hardware: Macintosh
OS: Mac OS
Status: NEW
Severity: major
Priority: P5
Component: Common
Assignee: ctrueden at wisc.edu
Reporter: radoslaw at ejsmont.net
CC: imagej-bugs at imagej.net
Hi,
IJ.getDirectory returns null/None for most paths when run from console:
/Applications/Fiji.app/Contents/MacOS/ImageJ-macosx --headless ~/test.py
home directory: /Users/u0078517/
startup directory: null/
imagej directory: null/
plugins directory: None
macros directory: None
luts directory: null/luts/
temp directory: /tmp/
current directory: None
default directory: None
image directory: None
This affects plenty of plugins :(
--- BEGIN test.py ---
from ij import IJ
for adir in ["home", "startup", "imagej", "plugins", "macros", "luts", "temp",
"current", "default", "image"]:
print adir + " directory: " + str(IJ.getDirectory(adir))
--- END test.py ---
--
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/20150710/604e57a9/attachment.html>
More information about the Imagej-bugs
mailing list