Problem summary Layers on the Shuffle node are not set via Python, when it is executed from command line.
The following error is also returned in command prompt:
Warning: Test is not a layer or channel name
Customer reported version Nuke 13.1v4
Customer reported platform macOS 12
Steps to reproduce
1) In Nuke, write out an EXR with an additional layer or download the attached EXR file.
2) Save the following code as a Python (.py) file, where path/to/folder/test.exr is the location of the EXR from step 1 and path/to/folder/shuffleTest.nk is where you will save the resulting .nk file.
Expected behaviour The layer on the Shuffle node should be set via Python, when executed from command line, like it is when executing similar code in the Script Editor.
Actual behaviour After executing the Python script, the following error is returned in command prompt:
Warning: Test is not a layer or channel name
Then, when viewing the resulting .nk script in a GUI Nuke session, you can see that the layer has not been set: Workaround Unknown.
Reproduced by support This bug has been reproduced in: Nuke 14.0v1 - Windows 10 - Linux CentOS 7 Nuke 12.0v1 - Windows 10 - Linux CentOS 7 Nuke 9.0v1 - Windows 10
Earliest version tested Nuke 9.0v1 - This issue appears to be in all tested versions of the product