ID 384324 - Using 'External Editor...' with no external text editor set in Preferences errors

Follow

Problem summary
When you click "External editor..." in a parameter's or attribute's context menu and no editor is specified in preferences, Katana should ask to specify the Text Editor to use.
This is how the OpScript functions when selecting the 'Edit in External Editor' Button.

For Attributes and Parameters, Katana throws the following message and does not open a Text Editor:

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

If you specify a Text Editor in Edit > Preferences > externalToolseditor, the chosen text editor will load without issues.


Customer reported version
katanaunsure/unknown

Customer reported platform
windows10

Steps to reproduce

1) Open Katana

2) Add a primitiveCreate node to the Node Graph

3) Within the Parameters tab, Right click a node and select'External Editor...'

Result: The following error dialog will appear: 
​​
​​



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




Reproduced by support

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



Earliest version tested
- This issue appears in all versions of the product

Expected behaviour
Katana should ask you to specify a Text Editor if no preference is chosen ( OpScript Behaviour )

Actual behaviour
An exception appears, no external editor is opened

Please Note: In Katana3.0 and later, there currently is a bug which stops the ExternalEditor dialog from closing:

    We're sorry to hear that

    Please tell us why