ID 598731 - hiero.core.TrackItem.thumbnail() does not work for MOV or MXF files

Follow

Problem summary
hiero.core.TrackItem.thumbnail() does not work for MOV or MXF files and the following error is returned:

RuntimeError: Layer does not exist 
 
Customer reported version
Nuke 16.0v1
 
Customer reported platform
Windows 10
 
Steps to reproduce
 
1) Open Nuke Studio.
 
2) Import a MOV or MXF file (File > Import File(s)...) and drop it on to the timeline.
 
3) Open the Script Editor and run the following line of code:
hiero.ui.getTimelineEditor(hiero.ui.activeSequence()).selection()[0].thumbnail(1, "colour")
 
Expected behaviour
The TrackItem.thumbnail() function should return a thumbnail of the frame specified as a QImage object, like it does for image sequences (such as EXR, PNG, DPX).
 
Actual behaviour
The following error is returned:
RuntimeError: Layer does not exist
 
Workaround
Unknown.
 
Reproduced by support
This bug has been reproduced in:
Nuke 16.0v1 - Windows 11  - macOS 12
 
Unable to reproduce bug in:
Nuke 15.2v1 - Windows 11  - macOS 12
 
Earliest version tested
Nuke 15.2v1
- This issue doesn't appear in this version and has regressed
 

    We're sorry to hear that

    Please tell us why