State:Closed|icon_bug|icon_nuke|database:public|Resolution:Fixed|TargetRelease:12.0v6|BugID:423935|
Problem summary
Incorrect ordering occurs when using nukescripts.create_read() to create and view Read file output.
Customer reported version
nuke.12.0v4
Customer reported platform
n/a
Steps to reproduce
1) Download the attached readOrderTest.zip file and extract.
2) Open Nuke and run the following in the Script Editor:
print nuke.getClipname( "Select File(s)“, multiple=True)
3) Disable the 'sequences' checkbox to read the files as individual images.
4) Select all 5 of the image files in the browser and press Open.
5) View the output for ordering of the Read files.
Expected Results
The file names should correspond to the Read number in alphabetical order.
Actual Results
The file names are not alphabetized in order.
Workaround
Running the following snippet before the command in step 2 fixes this issue:
orig_getClipname = nuke.getClipname
def sorted_getClipname(*args, **kw):
files = orig_getClipname(*args, **kw)
files.sort()
return files
nuke.getClipname = sorted_getClipname
Reproduced by Support in
Nuke 12.0v4 - Windows 10, CentOS 7, macOS 10.13.6
Nuke 12.0v3 - Windows 10
Nuke 12.0v1 - Windows 10
Nuke 11.3v5 - Windows 10
Nuke 11.3v1 - Windows 10, CentOS 7, macOS 10.13.6
Unable to reproduce bug in:
Nuke 11.2v7 - Windows 10
Earliest version tested
Nuke 11.2v7 - This issue doesn't appear in this version and has regressed
We're sorry to hear that
Please tell us why