[ImageJ-bugs] [Bug 858] New: setting "FIJI_PREFS_DIR" without effect
bugzilla at fiji.sc
bugzilla at fiji.sc
Thu Jul 17 05:52:46 CDT 2014
http://fiji.sc/bugzilla/show_bug.cgi?id=858
Bug ID: 858
Summary: setting "FIJI_PREFS_DIR" without effect
Product: Fiji
Version: unspecified
Hardware: PC
OS: Windows
Status: NEW
Severity: enhancement
Priority: P5
Component: ImageJ1
Assignee: imagej-bugs at imagej.net
Reporter: Goosmann at mpiib-berlin.mpg.de
Despite having set "FIJI_PREFS_DIR" to an exsisting and writeable path
(C:\Fiji_Pref), Fiji uses an invalid path obtained by
system.get.property(user.home) See bug 187. Trying to save preferences results
in an error message: "error saving preferences
\\fileserver\profiles$\Desktop\.imagej\IJ_Prefs.txt (Zugriff verweigert)"
I checked whether a beanshell skript can retreive the set value of
"FIJI_PREFS_DIR" and what FIJI uses as PrefsDir instead. See content of
beanshell window below:
Starting BeanShell...
All ImageJ and java.lang and TrakEM2 classes imported.
Ready -- have fun.
>>>
>>> e = System.getenv("IJ_PREFS_DIR")
C:\Fiji_Pref
>>> print(ij.Prefs.getPrefsDir())
\\fileserver\profiles$\Desktop\.imagej
>>> ij.Prefs.savePreferences()
The last skript command leads to said error message.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://imagej.net/pipermail/imagej-bugs/attachments/20140717/4322f1de/attachment-0001.html>
More information about the Imagej-bugs
mailing list