State:New|TargetRelease:No Target|icon_bug|icon_nuke|database:public|Resolution:Fixed|BugID:591912|
Problem summary
File access errors when exporting EDLs from NukeStudio produces a Python NameError
Customer reported version
hiero.16.0v4
Customer reported platform
rocky9
Steps to reproduce
1) In the file system, create a new directory and make it read only
2) Launch Nuke Studio/Hiero
3) Import any footage and add it to the timeline
4) Right click the Sequence > Export...
5) In the Export dialog, select the Custom tab>Process as Sequence, then select the CMX 3600 EDL
6) In the Export to: root path, select the the read only directory created in step 1
7) Export the EDL, it will error
Expected behaviour
For the EDL exporter to error with a permissions or other sensible error
Actual behaviour
It errors with a Python NameError:
ERROR:Hiero:name 'exportPath' is not definedTraceback (most recent call last): File "C:\Program Files\Nuke16.0v4\pythonextensions\site-packages\hiero\exporters\FnEDLExportTask.py", line 400, in write util.filesystem.makeDirs(dir) File "C:\Program Files\Nuke16.0v4\pythonextensions\site-packages\hiero\core\util\filesystem.py", line 20, in makeDirs os.makedirs(dirPath) File "<frozen os>", line 225, in makedirsPermissionError: [WinError 5] Access is denied: 'C:/temp/protect/Sequence 1'During handling of the above exception, another exception occurred:Traceback (most recent call last): File "C:\Program Files\Nuke16.0v4\pythonextensions\site-packages\hiero\exporters\FnEDLExportTask.py", line 535, in taskStep fileWriter.write( path ) File "C:\Program Files\Nuke16.0v4\pythonextensions\site-packages\hiero\exporters\FnEDLExportTask.py", line 405, in write log.error( "EDLFileWriter.write failed %s" % exportPath ) ^^^^^^^^^^NameError: name 'exportPath' is not defined Workaround
None
Reproduced by support
This bug has been reproduced in:
Nuke Studio 16.0v4 - Windows 11
Nuke Studio 13.0v1 - Windows 11
* Also confirmed by QA on Windows 11 and Rocky 9
Earliest version tested
Nuke Studio 13.0v1 - This issue appears to be in all tested versions of the product
We're sorry to hear that
Please tell us why