Problem summary
The Write node errors when importing a script within Nuke's python.exe on Windows 10.
Customer reported version
nuke.13.1v1
Customer reported platform
windows10
Steps to reproduce
1) In Nuke, create a Checkerboard and a Write node.
2) Set the Write node's file path to a convenient location with read/write permissions.
3) Save and close the script. (i.e C:\Temp\test.nk)
4) Launch a Command Prompt and path to the Nuke installation directory.
5) Run python.exe, then run the following code changing the path to the correct script:
import nukenuke.scriptOpen("path\to\script.nk")nuke.execute("Write1")
6) View the command prompt for any errors.
Expected behavior
The write node should render the frames.
Actual behavior
Python throws an error for "Write1 cannot be executed for multiple frames"
Workaround
There is no available workaround at this time.
Reproduced by Support in:
Nuke 13.1v2 - Windows 10
Nuke 13.1v1- Windows 10
Nuke 13.0v1 - Windows 10
Nuke 12.2v4 - Windows 10 -
Regression
Unable to reproduce bug in:
Nuke 12.2v3 - Windows 10
Nuke 13.1v2 - macOS 10.15, CentOS 7
Earliest version tested
Nuke 12,2v3 - This issue doesn't appear in this version and has regressed