|
Bugzilla – Bug 1266 |
'path' is required but is unset |
Last modified: 2016-05-03 10:40:08 CDT |
| ⚠ |
NOTICE! This is a static HTML version of a legacy Fiji BugZilla bug. The Fiji project now uses GitHub Issues for issue tracking. Please file all new issues there. |
|
|
|
||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||
More technical details on the cause: After running a macro which errors out, the IJ.isMacro() method still returns true, because Interpreter.getInstance() is still non-null (i.e.: the interpreter does not get cleaned up). This causes later code to assume a macro is currently running and hence behave differently. You can clear the problematic condition by executing any macro which completes successfully; e.g.: showMessage("Back to normal!"); Subsequently, ImageJ2 commands will work again, since this resets the interpreter back to null -- at least until the next macro which errors out. Still investigating to determine the best way to fix this in general.Updating to daily build 1.51a19 did not fix this problem for me. I am still getting the same error ('path' is required but is unset) when I try to use File->Open... after running a macro that does not complete successfully