Error running function fpmi.system.invokeLater

ValueError: window xxxx is not currently open

I got this when I opened a window that had a long running query on it. I then switch windows before the response came back. Then I assume the response came back and this error popped up.

Can it be suppressed? I’d rather not see errors about windows I’ve closed.

In scripting you can use the try except block to catch exceptions:try: win = system.gui.getWindow("WindowName") .... except: system.gui.messageBox("WindowName not opened")You can do whatever you want in the except part.