State:New|TargetRelease:No Target|icon_bug|icon_nuke|database:public|Resolution:Fixed|BugID:608019|
Problem summary:
The Shuffle node's fromInput1 and fromInput2 knobs can trigger knobChanged callbacks while a file is being Cleared
Customer reported version:
Nuke 14.1v7
Customer reported platform:
Rocky 9
Steps to reproduce:
1) Launch Nuke and paste the following nodes into the Node Graph:
CheckerBoard2 { inputs 0 name CheckerBoard1}CheckerBoard2 { inputs 0 name CheckerBoard2}Shuffle2 { inputs 2 fromInput1 { {0} B A } fromInput2 { {0} B A } name Shuffle1}2) Open the Script Editor and execute the following code to add a knobChanged callback:def knob_printer(): knob = nuke.thisKnob() print(f"{knob.name()} changed to {knob.value()}") nuke.addKnobChanged(knob_printer)3) Perform at least one of the actions below:fromInput1 changed to {0} B fromInput2 changed to {0} B ValueError: A PythonObject is not attached to a node errorsValueError: A PythonObject is not attached to a node warnings as knobChanged callbacks are executing after the script has been cleared.We're sorry to hear that
Please tell us why