command line render

Blender (Export script developed by yoyoz; Integrated Plugin developed by JimStar)
Post Reply
Maskeline
Licensed Customer
Posts: 67
Joined: Tue Sep 09, 2014 10:16 am

Hello.
I have tried to render from the command line, but I get an error (I think with the OCIO) but I don't know what to do to fix it.
I leave here the CMD text

Code: Select all

C:\>blender W:\3D\temp\TestBlenderCMD\Test_Cube_v01.blend -E octane -b -s 5 -e 7
Color management: Using P:\3D_pipeline\ACES\aces_1.0.3\config.ocio as a configuration file
Blender 3.1.2 (hash 7e24bcf7dda2 built 2022-06-10 05:11:59)
Read prefs: C:\Users\javier.urosas\AppData\Roaming\Blender Foundation\Blender\3.1\config\userpref.blend
Color management: display "sRGB" used by scene not found, setting to default ("ACES").
Color management: scene view "Filmic" not found, setting default "sRGB".
Color management: sequencer colorspace "sRGB" not found, will use default instead.
OctaneBlender Engine Init
Octane Ocio Management Update Start
Octane Ocio Management Update End
Traceback (most recent call last):
  File "C:\Program Files\BlenderOctane\3.1\scripts\addons\octane\version_update.py", line 44, in do_versions
    check_color_management()
  File "C:\Program Files\BlenderOctane\3.1\scripts\addons\octane\version_update.py", line 82, in check_color_management
    bpy.context.scene.display_settings.display_device = 'sRGB'
TypeError: bpy_struct: item.attr = val: enum "sRGB" not found in ('ACES')
Clear Octane Resource Cache System
Read blend: W:\3D\temp\TestBlenderCMD\Test_Cube_v01.blend
Clear Octane Resource Cache System
OctaneBlender Engine Exit
OctaneBlender Engine Free

Blender quit
Thanks!!
Maskeline
Licensed Customer
Posts: 67
Joined: Tue Sep 09, 2014 10:16 am

Hi...
Can anyone in support say anything about this....

Thanks!!
elsksa
Licensed Customer
Posts: 784
Joined: Sat Jul 24, 2021 1:06 am

Hi,
I'm not from OTOY support, but may be I can help.

There might be a conflict between the native "colormanagement" folder from Blender, containing Filmic OCIO (legacy) and the ACES OCIO package.

How was ACES OCIO set?
From the Octane preferences, environment-variable, else?

Some additional information:
• The ACES version used (1.0.3) is "deprecated" (not the latest).
Octane Blender Color Management Guide
Octane Color Management Guide
Octane ACES Guide
Maskeline
Licensed Customer
Posts: 67
Joined: Tue Sep 09, 2014 10:16 am

Hi...
Thanks a lot!!
We are using version 1.03 of ACES...
We also have the same ACES configuration in Bleder (for cylces).
We have set the variable OCIO in the user variables... But I don't know if there is another one specific for octane OCIO....
kabakZ
Licensed Customer
Posts: 48
Joined: Sat Sep 28, 2019 1:23 am

Hi, have you tried using the batch render addon such as loom instead of running this from the command line? For me, this solved the compatibility problem.
Post Reply

Return to “Blender”