ID 384166 - ExternalEditorDialog cannot be closed

Follow

Problem summary
When choosing External editor... from a parameter’s context menu to edit its value in a temporary text file and no text editor is specified under Edit > Preferences > externalTools > editor, Katana throws the following error:
 
On Windows:

Error launching external editor command "file/path/FormWidgetExternalEdit.txt":[Error 193] %1 is not a valid Win32 application

On Linux:


Error launching external editor command "file/path/FormWidgetExternalEdit.txt": [Errno 13] Permission denied
In Katana 3.0 and above, after dismissing the error message the "ExternalEditorDialog" window cannot be closed via the 'Cancel' button or the 'X' and the user has to force quit Katana.

  

Customer reported platform
Windows 10

Steps to reproduce

1) Open Katana

2) Add a primitiveCreate node to the Node Graph

3) Select the Primitive polymesh in the Scene Graph

4) Open the Attributes tab and navigate to 'tabs -> scenegraph'

5) Right click on stopExpand attribute then -click 'External Editor...'

The following error dialog will appear: 

​​

​​


6) Close the dialog box
 

7) Attempt to close the 'ExternalEditorDialog' window below the error message:


Result: The window will not close.

Workaround
This issue can be worked around by choosing a Text Editor within Edit > Preferences > externalTools > editor :



Reproduced by support

This bug has been reproduced in:
Katana3.1v3 - Windows 7 - CentOS7
Katana3.1v1 - Windows 7 - CentOS7
Katana3.0v1 - Windows 7 - CentOS7 - regression

Unable to reproduce bug in:
Katana2.6v4 - Windows 7 - CentOS7

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

Expected behaviour
The 'Waiting for External Editor...' window should close as expected.

Actual behaviour
The dialogue "ExternalEditorDialog" reports "Waiting for external editor..." cannot be cancelled or closed.  
It has to be killed via Task Manager or Terminal.

    We're sorry to hear that

    Please tell us why