ID 347725 - Hiero Example file custom_transcode.ui.py throws exceptions

Follow

Problem summary
In the latest 11.1 Example file 'custom_transcode_ui.py' it throws an exception when attempting to build the UI:  (The UI does not get built)



Line 29 of custom_transcode_ui.py is the problematic line:
self.buildCodecUI(layout)

Editing the line to add the second argument ( which is missing from the example ), throws another Pyside2 error, meaning we cant build the UI:
self.buildCodecUI(layout,hiero.core.TaskPresetBase.kSequence)



This is an issue as the UI cannot be built, the issue appears to only be a problem in Nuke11.0 and Nuke11.1

Steps to reproduce

1)  From the Hiero Development Documentation Examples, download custom_transcode.py and custom_transcode.ui.py

2)  Save the two Python files to .nuke/Python/Startup/

If you are unsure where the .nuke folder is located, check out our Knowledge base article below:

Q100048: Nuke Directory Locations


3)  Open NukeStudio, set up a basic sequence ( one image sequence within the timeline )

4)  In the timeline, open the export window with 'right click video track -> Export...'

5)  Within the export structure CONTENT column, edit one of your exporting sequences to 'custom transcode'

Result: The UI space will either be empty or not change any UI elements, you will receive the command prompt error from the summary within your NukeStudio console.


Workaround
Unknown. 

Reproduced by support

This bug has been reproduced in:
Hiero11.1 Development Documentation examples 
Hiero11.0 Development Documentation examples 

NukeStudio11.1v3
NukeStudio11.1v1
NukeStudio11.0v4
NukeStudio11.0v1 - regression

Unable to reproduce bug in:
NukeStudio10.5v7

Earliest version tested
- This issue no longer appears in this version and has regressed

Expected behaviour
The example scripts within the Hiero Development documentation should work on all versions

Actual behaviour
The example scripts custom_transcode.py and custom_transcode.ui.py , throw exceptions in NukeStudio11

    We're sorry to hear that

    Please tell us why