State:Closed|icon_bug|icon_nuke|database:public|Resolution:Fixed|TargetRelease:12.2v4|BugID:418171|
Problem summary
Using Editorial > Copy Selected Cuts on the timeline errors on Linux and doesn't copy the cuts
Customer reported version
nuke.12.0v2
Customer reported platform
centos7
Steps to reproduce
1) Open Nuke Studio/Hiero
2) Import footage, and add it to the timeline twice, directly above eachother
3) On the bottom track, add some cuts

4) Select the clips on the bottom track, then Right Click>Editorial>Copy Cuts...
5) In the Copy Cuts dialog, select Copy Selected Cuts and press OK.
Expected behaviour
The selected cuts to copy from track one to track two
Actual behaviour
Nothing happened in the GUI, and in the script editor it errored saying:
"/usr/local/Nuke12.0v3/pythonextensions/site-packages/hiero/ui/CopyCuts.py", line 297, in doCuts
cutItems = [item for item in hiero.ui.activeView().selection() if isinstance(item, hiero.core.TrackItem) and not isinstance(item, hiero.core.Transition)]
AttributeError: 'NoneType' object has no attribute 'selection'"
Workaround
Unknown.
Reproduced by support
This bug has been reproduced in:
Nuke 12.0v3 - CentOS 7.7
Nuke 11.2v1 - CentOS 7.7
Nuke 11.0v1 - CentOS 7.7
Nuke 10.5v1 - CentOS 7.7
Nuke 10.0v1 - CentOS 7.7
Unable to reproduce bug in:
Nuke 12.0v3 - Windows 10 - MacOSX 10.13
Earliest version tested
Nuke 10.0v1 - This issue appears to be in all versions of the product
We're sorry to hear that
Please tell us why