Meyan has a bot that can send tasks for rendering. But I need it to check if pose Mode is set in the scene. If yes, switch it to object and select everything. If not, then just select everything. But I get an error when I run the script through the Linux terminal.
bpy.ops.object.select_all(action='SELECT')
bpy.ops.object.mode_set(mode='OBJECT')
Here is a piece of code that is executed through the console. This is all I can show without nda please understan
error text