Problem summary
Shaders containing non-ASCII characters in parameter labels will prevent the project from being re-opened/reverted and produce a decoding error.
Customer reported version
katana.n_a
Customer reported platform
rhel7
Steps to reproduce
Set the RMAN_SHADERPATH environment variable to the folder containing the BrokenAscii.oso shader file. (contains a superscript 3 character: ³)
Create a NetworkMaterialCreate node.
Add the BrokenAscii shading node.
Save the Katana file.
File > Revert
Expected behaviour
Upon reverting, the project would load without producing an error.
Actual behaviour
The following error is produced:
[ERROR python.UI4.Util.FileHelpers]: 'ascii' codec can't decode byte 0xc2 in position 25232: ordinal not in range(128)
Workaround
Set PYTHONUTF8=1 in Katana's environment.
Reproduced by support
This bug has been reproduced in:
Katana 5.0v3 - CentOS 7
Unable to reproduce bug in:
Katana 5.0v3 - Windows 10
Katana 4.5v3 - Windows 10, CentOS 7
Earliest version tested
Katana 4.5v3 - This issue doesn't appear in this version and has regressed