ID 518799 - Runtime error on startup with locales that use a comma decimal separator

Follow

Problem summary
On Linux, locales that use the commas for decimal separator ‘,’ causes a runtime error and an Interactive Katana session crashes on startup.
 
Customer reported version
katana.5.0v3
 
Customer reported platform
ubuntu
 
Steps to reproduce
 
1) Start Katana with a locale that uses a comma decimal separator:

LC_NUMERIC=fr_CA.utf8 /opt/Katana5.0v4/katana
 
Expected behavior
Katana starts up without any issues.
 
Actual behavior
Katana crashes with the following error:
[ERROR python.root]: A RuntimeError occurred in "ViewportWidget.py": The specified transform file '/opt/Katana5.0v4/etc/ocio/nuke-default/luts/srgb.spi1d' could not be loaded. Invalid 'From' Tag    Traceback (most recent call last):      File "python/Main/Main.py", line 529, in <module>      File "python/Main/Main.py", line 509, in __main      File "MainUI.py", line 16, in Main      File "MainUI.py", line 46, in Main      File "MainUI.py", line 160, in InitializeInterface      File "MainUI.py", line 452, in IterativeInitializeInterface      File "App/Layouts.py", line 187, in ActivateDefault      File "App/Layouts.py", line 930, in SetXmlLayout      File "App/Layouts.py", line 1341, in loadLayoutXml      File "App/Tabs.py", line 308, in ApplySettings      File "HydraViewerTab.py", line 1035, in applySettings      File "HydraViewerTab.py", line 1258, in setViewportLayoutStyle      File "HydraViewerTab.py", line 1248, in __createPanes      File "HydraViewerTab.py", line 1147, in createViewportPane      File "HydraViewerTab.py", line 2017, in __createViewportWidget      File "Tabs/BaseViewerTab.py", line 692, in addViewport      File "Widgets/ViewportWidget.py", line 473, in addLayer    RuntimeError: The specified transform file '/opt/Katana5.0v4/etc/ocio/nuke-default/luts/srgb.spi1d' could not be loaded. Invalid 'From' Tag
 
Workaround
Temporarily change the locale to one that supports a decimal separator '.' for Katana. For example, set the environment variable LC_NUMERIC=en_US.utf8 before launching Katana. 
 
LC_NUMERIC=en_US.utf8 /opt/Katana5.0v4/katana 
 
Reproduced by support
This bug has been reproduced in:
Katana 5.0v4 - CentOS 7
Katana 5.0v1 - CentOS 7
Katana 4.5v4 - CentOS 7
Katana 4.5v1 - CentOS 7
 
Unable to reproduce bug in:
Katana 4.0v8 - CentOS 7
Katana 4.0v1 - CentOS 7
Katana 3.6v1 - CentOS 7
Katana 3.5v1 - CentOS 7
Katana 3.2v1 - CentOS 7
Katana 3.1v1 - CentOS 7
 
Katana 5.0v4 - Windows 10
Katana 5.0v1 - Windows 10
Katana 4.5v4 - Windows 10
Katana 4.5v1 - Windows 10
Katana 4.0v5 - Windows 10
Katana 3.5v1 - Windows 10

This issue appears to have regressed in Katana 4.5v1.
 

    We're sorry to hear that

    Please tell us why