Closed p0las closed 2 months ago
It looks like when config.addEnvironmentVar is called, the internal environment variable lookup is reset with the default value provided (here the syntax to indicate none), so that later validate call can’t see the original value assigned with os.environ. You could do this before calling validate to refresh the lookup map:
config.setEnvironmentMode(OCIO.ENV_ENVIRONMENT_LOAD_PREDEFINED)
config.loadEnvironment()
why is the validation failing in this case? what am I missing?
it fails to resolve the env var for some reason:
Exception: Config failed validation expanding file transform paths. The file transform source cannot be resolved: '${SHOT_CDL_PATH}'.