ID 516268 - Nuke displays "ValueError: A PythonObject is not attached to a node" in the terminal on shutdown when using nuke.root().name()

Follow

Problem summary
Nuke displays "ValueError: A PythonObject is not attached to a node" in the terminal on shutdown when using nuke.root().name()
 
Customer reported version
Nuke 13.2v3
 
Customer reported platform
Windows 10
 
Steps to reproduce
 
1) Launch Nuke through a command prompt\terminal window.

2) Create a Text node and Input [python nuke.root().name()] into the message box within the Text nodes properties window.

3) Make sure the Text nodes properties window is still open and shut down Nuke.
 
Expected behaviour
For Nuke to close with no errors
 
Actual behaviour
Nuke displays the following error in the command prompt\terminal window

Traceback (most recent call last):
  File "<string>", line 1, in <module>
ValueError: A PythonObject is not attached to a node
 
Workaround
Unknown.
 
Reproduced by support
This bug has been reproduced in:
Nuke 13.2v3 - Windows 10 - macOS 12.4 - CentOS 7
Nuke 12.0v1 - Windows 10 - macOS 12.4 - CentOS 7
Nuke 9.0v1 - Windows 10
 
Earliest version tested
Nuke 9.0v1 - This issue appears to be in all tested versions of the product
 
 

    We're sorry to hear that

    Please tell us why