You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Open a script in the script editor, with File → Open
Delete or rename the folder containing the script
Try to open a script in the script editor, with File → Open
See the exception
18:07:12.434 [JavaFX Application Thread] ERROR qupath.lib.gui.QuPathUncaughtExceptionHandler Folder parameter must be a valid folder java.lang.IllegalArgumentException: Folder parameter must be a valid folder
at com.sun.glass.ui.CommonDialogs.convertFolder(CommonDialogs.java:239)
at com.sun.glass.ui.CommonDialogs.showFileChooser(CommonDialogs.java:191)
at com.sun.javafx.tk.quantum.QuantumToolkit.showFileChooser(QuantumToolkit.java:1719)
at javafx.stage.FileChooser.showDialog(FileChooser.java:419)
at javafx.stage.FileChooser.showOpenDialog(FileChooser.java:354)
Expected behavior
The open dialog opens properly.
Desktop (please complete the following information):
OS: All (presumably, definitely macOS)
QuPath Version: 0.5.0
Additional context
This happens when the previous directory used in the dialog doesn't exist. Other commands may be affected as well.
The text was updated successfully, but these errors were encountered:
petebankhead
changed the title
QuPath script editor error when trying to open saved script
Exception when opening script if the last directory isn't available
Mar 2, 2024
Bug report
Describe the bug
See https://forum.image.sc/t/qupath-script-editor-error-when-trying-to-open-saved-script/89826/1
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The open dialog opens properly.
Desktop (please complete the following information):
Additional context
This happens when the previous directory used in the dialog doesn't exist. Other commands may be affected as well.
The text was updated successfully, but these errors were encountered: