ID 157428 - Viewer - Opening a script with an invalid viewerProcess causes a RuntimeError

Follow


Created an attachment (id=10034)
viewerProcess_test

Opening a script with an invalid viewerProcess from 6.3 in 7.0v1 and later causes a RuntimeError in the terminal and an error dialog displaying the text from the backdrop node in the script.

To repro this, either:

1. Open the attached viewerProcess_test.nk script in 7.0v1 or later.

or, to repro from scratch:

1. Launch 6.3v9. Add a ColorBars, Roto and connect to the Viewer.
2. Add a backdrop node around the nodes and enter some text in the label.
3. Change the viewerProcess and save the script.
4. Open the .nk in a text editor, scroll to the bottom and replace the name of the viewerProcess with some random text and save the script.
5. Open the resaved script in 7.0v1 or later.
> You should see a RuntimeError in the terminal: "Viewer1.viewerProcess: Bad value for viewerProcess : gibberish" and a dialog with the test in the backdrop node should pop in the UI.
Host(s):

    We're sorry to hear that

    Please tell us why