Interface stops during script with SQL query

Call the project script with invokeAsynchronous(). Within the script, you can write to tags, but don’t access any windows or components in any way. If you must, use invokeLater() to spawn functions that can interact with the GUI. Consider using something like later.py, as described in this thread, to help with sending data back and forth with these functions.

1 Like