State:New|TargetRelease:No Target|icon_bug|icon_nuke|database:public|Resolution:Fixed|BugID:495323|
Problem summary
When calling the metadata() method for a second time on a Read node in a terminal mode, the Read node is evaluated with "default" view, resulting in an error.
This issue does not appear to happen when executing the same code in a Nuke GUI session.
Customer reported version
Nuke 12.2v5
Customer reported platform
CentOS 6
Steps to reproduce
1) To reproduce this issue, you will need a script that has been set up for multiple views, and is reading in an EXR sequence with %V notation.
2) Launch Nuke via Command Prompt/Terminal using the -t flag.
3) Open the script in the terminal session, using the following command:
nuke.scriptOpen("path/to_some/script.nk")
print(nuke.toNode("Read1").metadata())
print(nuke.toNode("Read1").metadata())
ERROR: Read1: C:/temp/test_default_0001.exr: Read error: No such file or directory
print(nuke.toNode("Read1").metadata("exr/type", view="left"))
We're sorry to hear that
Please tell us why