ID 519863 - Nuke cannot load movWriter from external Python

Follow

Problem summary
Nuke cannot load movWriter from external Python
 
Customer reported version
nuke.13.2v2
 
Customer reported platform
n_a_linux
 
Steps to reproduce
 
1) Install Python3.7.7 to make sure to match Nuke's version

2) Launch Python 3.7 in a Terminal

3) Run the following code, changing paths the Nuke version you are testing:
 

import syssys.path.append("/usr/local/Nuke13.2v4/lib/python3.7")sys.path.append("/usr/local/Nuke13.2v4/lib/python3.7/site-packages")import nukeprint(nuke.NUKE_VERSION_STRING)w = nuke.nodes.Write(file='out.mov')w.knob('file_type').setValue('mov')print([x for x in w.knobs().keys() if x.startswith('mov64')])
 
Expected behaviour
For Python to print all the mov keys:
['mov64_format', 'mov64_codec', 'mov64_fps', 'mov64_dnxhd_codec_profile', 'mov64_dnxhr_codec_profile', 'mov64_pixel_format', 'mov64_quality', 'mov64_ycbcr_matrix_type', 'mov64_audiofile', 'mov64_audio_offset', 'mov64_units', 'mov64_advanced', 'mov64_dnxhd_encode_video_range', 'mov64_fast_start', 'mov64_write_timecode', 'mov64_gop_size', 'mov64_b_frames', 'mov64_bitrate_divider', 'mov64_limit_bitrate', 'mov64_bitrate', 'mov64_bitrate_tolerance', 'mov64_quality_min', 'mov64_quality_max', 'mov64_write_nclc', 'mov64_mbDecision']
 
Actual behaviour
It prints an empty list:
[]
 
Workaround
None
 
Reproduced by support
This bug has been reproduced in:
Nuke 13.2v4 - CentOS 7
Nuke 13.2v1 - CentOS 7 - regression
 
Unable to reproduce bug in:
Nuke 13.1v4 - CentOS 7
 
Earliest version tested
Nuke 13.1v4 - This issue doesn't appear in this version and has regressed
 

    We're sorry to hear that

    Please tell us why