kick not finding ocio config in Azure batch with correct command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
So I am trying to get kick to render on a VM in Azure batch and I managed to get kick to start up but it fails because it can not find the ocio config even when I use the -set color_manager_ocio.config, it seems not to be able to find it. The very command works when I try it on my machine when I have a custom path but it continues to not work when I am trying it on the Azure batch VM.
This is the code that I am using on Azure batch that starts up kick successfully and then tries to read the ocio.config file.
cmd /c kick DBF0001.ass -o DBF0001.png -dw -dp -set color_manager_ocio.config c\ ocio.config
To explain a little how I manage to get kick to start on the Azure batch VM, was to have the kick.exe and all necessary .dll files, imported as recourse files and not an application package. So this means all the files are from my understanding, located in the root directory that I believe is C:\. I have tried different commands to try and locate the ocio.config file which is located in the very same place as the kick.exe.
These are the different ways to write the location of the ocio.config file I have tried when using the -set color_manager_ocio.config command when the ocio.config file is located in the same recourse file import and then in what I believe, is the same directory that, as said, I also believe is C:\.
-set color_manager_ocio.config ocio.config
-set color_manager_ocio.config C:\ocio.config
-set color_manager_ocio.config c:\ocio.config
-set color_manager_ocio.config /c:/ocio.config
-set color_manager_ocio.config /c:/ocio.config
-set color_manager_ocio.config c/ ocio.config
-set color_manager_ocio.config c\ ocio.config
-set color_manager_ocio.config /c\ocio.config
In the one below I have censored the full blob storage address for security reasons
-set color_manager_ocio.config https://.blob.core.windows.net/kick/config.ocio
This is the log of the latest failed kick rendering on Azure batch.
00:00:00 68MB | log started Thu May 26 12:41:06 2022
00:00:00 68MB | Arnold 7.1.1.1 [68f16a3f] windows clang-10.0.1 oiio-2.4.0 osl-1.12.0 vdb-7.1.1 adlsdk-6.3.1.44 clmhub-2.0.0.235 rlm-14.1.3 optix-6.6.0 2022/04/21 17:03:24
00:00:00 68MB | running on aeb343423000000, pid=3528
00:00:00 68MB | 1 x Intel(R) Xeon(R) Platinum 8272CL CPU @ 2.60GHz (1 cores, 1 logical) with 2047MB
00:00:00 68MB | Windows Server (version 10.0, build 14393)
00:00:00 68MB | soft limit for open files is set at 2048
00:00:00 68MB |
00:00:00 86MB WARNING | [color_manager_ocio] unable to find default OCIO config, expected in D:\batch\tasks\workitems\dite_azurebatch_testjob\job-1\rendertest25\wd\../ocio/configs/arnold/config.ocio
00:00:00 86MB WARNING | [color_manager_ocio] unable to find default OCIO config, expected in D:\batch\tasks\workitems\dite_azurebatch_testjob\job-1\rendertest25\wd\../ocio/configs/arnold/config.ocio
00:00:00 102MB | [kick] command: kick DBF0001.ass -o DBF0001.png -dw -dp -set color_manager_ocio.config c\ ocio.config
00:00:00 102MB | loading plugins from . ...
00:00:00 105MB | loaded 116 plugins from 5 lib(s) in 0:00.12
00:00:00 107MB | [ass] loading DBF0001.ass ...
00:00:00 107MB | [ass] read 13868 bytes, 12 nodes in 0:00.00
00:00:00 107MB | [kick] applying 1 attr value override
00:00:00 107MB |
00:00:00 107MB | authorizing ...
00:00:00 110MB | [azure] successfully entitled in 0:00.16
00:00:00 110MB | [azure] Id : token-a7535d8f-0263-45ba-8464-abd1a11bb932VmId: ebf603ff-9ffa-45ca-85bb-5498ace14871
00:00:00 110MB |
00:00:00 110MB | [color_manager] using color manager of type "color_manager_ocio"
00:00:00 110MB ERROR | [color_manager_ocio] could not read 'c\ ocio.config' OCIO profile.
00:00:00 110MB WARNING | [color_manager] unable to determine rendering color space chromaticities for "ACEScg": using default "linear sRGB" chromaticities
00:00:00 110MB | r(0.6400, 0.3300) g(0.3000, 0.6000) b(0.1500, 0.0600) and w(0.3127, 0.3290)
00:00:00 118MB WARNING | [kick] render aborted due to earlier errors
00:00:00 123MB |
00:00:00 123MB | rendering image at 960 x 540, 6 AA samples
00:00:00 123MB | AA samples max <disabled>
00:00:00 123MB | AA sample clamp <disabled>
00:00:00 123MB | diffuse samples 2 / depth 1
00:00:00 123MB | specular samples 2 / depth 1
00:00:00 123MB | transmission samples 2 / depth 8
00:00:00 123MB | volume indirect <disabled by depth>
00:00:00 123MB | total depth 10
00:00:00 123MB | bssrdf samples 2
00:00:00 123MB | transparency depth 10
00:00:00 123MB WARNING | Aborted by user: unknown reason
00:00:00 123MB |
00:00:00 123MB | releasing resources
00:00:00 97MB |
00:00:00 97MB | releasing resources
00:00:00 75MB | Arnold shutdown