I have a little python script I wrote and it works fine when I run it from the Script Editor window inside Nuke. I saved it out as a .py and added it to my menu in the menu.py
If I run it from the menu it will only work the first time, every time after that i get syntax errors.
For example - RuntimeError: Syntax error at "'red'" referring to this line -
s1 = nuke.nodes.Shuffle()
s1['red'].setValue('red')
Anyone know what's up with this?










