State:New|TargetRelease:No Target|icon_bug|icon_nuke|database:public|Resolution:Fixed|BugID:537103|
ocionuke.config.getOCIOConfig() does not account for the OCIO environment variable/plugins/OCIOConfigs/configs/aces_<version>/config.ocio file.~/Desktop directory and rename it "envar_config.ocio"export or set the OCIO environment variable to the ~/Desktop/envar_config.ocio file.
export OCIO=~/Desktop/envar_config.ocio
import os, ocionukeif "OCIO" in os.environ: print("OCIO path is: %s"%os.environ["OCIO"])else: print("OCIO Enironment Variable is not set")print(ocionuke.config.getOCIOConfig()) 

ocionuke.config.getOCIOConfig() should return the OCIO config that is currently active.ocionuke.config.getOCIOConfig() returns the config in the root node's OCIO_config knob, not the config specified by the OCIO environment variable.print(ocionuke.config.getOCIOConfig()) only returns the Python object. For example, <OCIO.Config object at 0x7f2ea5e1cdc8>
We're sorry to hear that
Please tell us why