No more popups: system or scripted. Don't know my errors

I’ve been creating a form to enter values into a SQL database. In the beginning I was fine, the system popup would tell me my errors and the scripted popups would notify me if I did what I needed to do. The script is tied to an actionPerformed button as the button to submit the form.

Suddenly, I lost all popups: system, scripted, whatever. Even trying something simple like creating a new button with actionPerformed: print(“Hello”). Nothing.

Nothing is showing in the output console so I can’t tell what my errors are at.

You will have to share much more data. Ignition version? Vision vs. Perspective? Script details? (Post as preformatted text, not as a quotation.)

2 Likes

Is you project disabled on the gateway or inheritable set to true?

Vision

Tried these two methods and nothing shows. The script for running my button did work. I’ll spare posting the entire script (I really don’t think it’s the code. I get the feeling it’s the software)

def actionPerformed(event):
        print("hello")

def actionPerformed(event):
        system.gui.messageBox("hello")

Everything was fine when I had the SQL commands written in the script then when I moved the SQL commands to a Named Query, I wasn’t able to see popups anymore.

I’m pretty sure I can enter something explicitly incorrect and the popup still won’t show.

Project is enabled. All of the projects are false on Inheritable. I changed it but made no difference.

Exactly like that? Indented with 8 spaces?

What if you do:

def actionPerformed(event):
	print "hello"

Have you relaunched the designer?

I’ve restarted everything. Still nothing.

I changed back to where the SQL command is all in the script (not using Named Query) and no change.

You should contact support.

Vision and the entire designer are sharing the same fundamental architecture and following the same fundamental code paths. If Swing's event handling was broken, you wouldn't be able to use the designer at all, so something else is going on.