I am trying to write a render queue. After I render the first animation, i want the callback for render_complete to run another render from a globaly defined list.
Problem is that I receive this error RuntimeError: Operator bpy.ops.render.render.poll() Missing ‘window’ in context the first time the callback function tries to render.
I have tried saving the context to a global variable and setting the window area and screen through bpy.context.temp_overide but I get the same error.
I seem to be stuck. Also there is this link from this forum from 4 years ago but I do not understand the sollution they have found: RuntimeError: Operator bpy.ops.render.render.poll() Missing 'window' in context