ID 308519 - When using %V notation, an error occurs on all views if any of the views are missing, when viewed through an EXR Write node

Follow

Problem summary
When using %V notation, an error occurs on all views if any of the views are missing, when viewed through an EXR Write node. The error will also prevent the Write node from being rendered.


Customer reported version
Nuke 10.0v1

Customer reported platform
rhel7

Steps to reproduce

Open the attached .nk script and view the Write node, or follow the steps below:

1) Create a Nuke script with multiple views, a Read node, and a Write node set to use the EXR format.
 

2) Create input image files for some, but not all, of the views.

3) Load the images into the Read node using %V notation.

4) Connect the output of the Read node to the input of the Write node.

5) Set the Write node’s output file path so that it uses the %V notation.

6) Load the Write node into a viewer.

7) Set the viewer to a view for which an input files exist.

Workaround
There is currently no workaround and the only option has been to embed all the views into one exr file.

Reproduced by support
This problem has been reproduced on:

Nuke 12.0v2 - Windows 7 - MacOSX 10.13.5 - CentOS 7
Nuke 11.0v1 - Windows 7 - MacOSX 10.12 - CentOS 6.9
Nuke 10.5v5 - Windows 7
Nuke 10.5v1 - Windows 7 - MacOSX 10.12 - CentOS 6.9
Nuke 10.0v6 - Windows 7
Nuke 10.0v1 - Windows 7 - MacOSX 10.12 - CentOS 6.9
Nuke 9.0v9 - Windows 7
Nuke 9.0v1 - Windows 7
Nuke 8.0v7 - Windows 7
Nuke 8.0v1 - Windows 7
Nuke 7.0v10 - Windows 7 - MacOSX 10.12 - CentOS 6.9

Earliest version tested
Nuke 7.0v10 - earliest required regression version.

Expected behaviour
The exrWriter plugin should only pull the views being requested, rather than all the views selected in the Write node’s “views” knob. 

Actual behaviour
The exrWriter plugin reports an error for views whose inputs don’t exist but are also not being requested.

    We're sorry to hear that

    Please tell us why