I've built Blender as a bpy-only module meaning I can call it directly from Python. I was able to run some commands, but at the moment is failing with simply opening a main file.
My code is super simple:
@app.route('/') def hello(): bpy.context.scene.render.engine = 'CYCLES' bpy.ops.wm.open_mainfile(filepath='/home/yuranos/development/3D/model_all_parts.blend')
And yet I'm failing when trying to open my file:
Process finished with exit code 139 (interrupted by signal 11: SIGSEGV)
The interesting bit is that the same python version with the same
bpy-related code runs perfectly well from console. I'm new to Python and don't understand if it's a problem with the way I use
Flask or with