tommysmartdrop Posted June 29, 2017 Report Share Posted June 29, 2017 Hello, I'm building an application in which there are 2 major components: a python server, which will send telnet commands to WATCHOUT WATCHOUT Production (Version 6.1.7b2) Although most of the telnet commands were successfully sent to WATCHOUT, sometimes I could continuously see a mystery error which makes me feel a bit worried: [0]Error 7 0 "Application in modal state (eg, a modal dialog)" I've checked the documentation and the "7" here means: "General Runtime Error. Other errors, not covered by any of the above cases. Always described further by a string as the second parameter, as well as further information in the third parameter (optional)." So I guess my questions are: What does the "Application in modal state" mean? Is there anything that I should / should not do to avoid this error? Thanks in advance! 0 Quote Link to comment Share on other sites More sharing options...
Moderator jfk Posted June 29, 2017 Moderator Report Share Posted June 29, 2017 ... So I guess my questions are: What does the "Application in modal state" mean? Is there anything that I should / should not do to avoid this error?... Application in modal state means it thinks a modal dialog box is open.(a modal dialog is one that locks out all other actions until it is closed) Did this occur when executing a setInput command? As you probably already know, that is not what is actually happening. It was my understanding that even though the error message appears, everything continues to work as it should. i.e. it is a phantom error. That bug has been identified and I thought it was already fixed in an earlier release, but maybe not, or maybe it crept back in the beta 0 Quote Link to comment Share on other sites More sharing options...
tommysmartdrop Posted June 30, 2017 Author Report Share Posted June 30, 2017 Thanks, @jfk, from the server log files I can see the same error occurred after executing "getStatus", "run", "kill", "setInput" etc... it seems that the error has occurred randomly. 0 Quote Link to comment Share on other sites More sharing options...
Mike Fahl Posted June 30, 2017 Report Share Posted June 30, 2017 As Jim alludes, it indicates the applicaiton is in a modal dialog or similar modal state (e.g., in the midst of a drag-and-drop operation). This can only happen with the production software. It will happen if someone is actively operating the production software while you're sending commands from outside to it. This is not an indication of a "bug" per se. It's an indication that the command could not be performed due to some application mode initiated by the local user. This "blocking" is done to avoid the jarring user experience that would otherwise ensue if an external command caused a timeline to jump while the local user was dragging media to drop onto a cue on that same timeline, or similar actions. The only way to not get this error occasionally is to not operate the production PC at the same time. Mike 0 Quote Link to comment Share on other sites More sharing options...
tommysmartdrop Posted July 8, 2017 Author Report Share Posted July 8, 2017 As Jim alludes, it indicates the applicaiton is in a modal dialog or similar modal state (e.g., in the midst of a drag-and-drop operation). This can only happen with the production software. It will happen if someone is actively operating the production software while you're sending commands from outside to it. This is not an indication of a "bug" per se. It's an indication that the command could not be performed due to some application mode initiated by the local user. This "blocking" is done to avoid the jarring user experience that would otherwise ensue if an external command caused a timeline to jump while the local user was dragging media to drop onto a cue on that same timeline, or similar actions. The only way to not get this error occasionally is to not operate the production PC at the same time. Mike Hello Mike, thank you for your clear and helpful explanation. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.