ID 247793 - The pythonextensions/site-packages/hiero/ui/init_.py file in the Nuke install directory refers to hiero.core.rawArgs which doesn't exist

Follow

Problem summary
The /pythonextensions/site-packages/hiero/ui/init_.py file in the Nuke install directory refers to hiero.core.rawArgs which doesn't actually exist so it should refer to nuke.rawArgs

Customer reported version
nuke.10.0v4

Customer reported platform
centos6

Steps to reproduce

Navigate to the pythonextensions/site-packages/hiero/ui/  directory in a Nuke install direcotry and open the __init__.py file in a text editor.
On line 26 there is an if statement which checks hiero.core.rawArgs.  There is no hiero.core.rawArgs attribute so the evaluation step won't work.

This can also be seen in the error messages printed by bug 221636 "Nuke process won't close with an active thread running"


if not _isWaitForRunningThreads():
File ".../pythonextensions/site-packages/hiero/ui/
init_.py", line 
32, in _isWaitForRunningThreads
if ("--script" in hiero.core.rawArgs):
AttributeError: 'module' object has no attribute 'rawArgs'


Reproduced by support
Reproduced in Nuke 9.0v1 to 10.5v1 on Windows.
Check in Nuke 10.0v5 on Linux and OSX.

Expected behaviour
The code should either refer to nuke.rawArgs or a hiero.core.rawArgs attribute should exist which matches nuke.rawArgs

Actual behaviour
Nuke produces an error message because hiero.core.rawArgs doesn't exist.
 

    We're sorry to hear that

    Please tell us why