Maniphest T95188

crash after loading and saving via python
Closed, Duplicate

Assigned To
None
Authored By
Lendo (Lendo)
Jan 24 2022, 10:11 PM
Tags
  • BF Blender
Subscribers
Lendo (Lendo)

Description

System Information
Operating system: Linux-5.16.2-arch1-1-x86_64-with-glibc2.33 64 Bits
Graphics card: NVIDIA GeForce GTX 1080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 495.46

Blender Version
Broken: version: 3.0.0, branch: makepkg (modified), commit date: 2021-12-02 18:35, hash: rBf1cca3055776

Short description of error
Blender crashes directly after loading and saving a .blend file with python API.

Exact steps for others to reproduce the error
Run this script

import bpy, os
bpy.ops.wm.read_homefile()
bpy.ops.wm.save_as_mainfile(filepath=os.path.join(os.environ["HOME"], "test.blend"))

Event Timeline

Lendo (Lendo) created this task.Jan 24 2022, 10:11 PM
Jesse Yurkovich (deadpin) closed this task as a duplicate of T93949: save_as_mainfile will crash if context has no screen.Jan 24 2022, 10:14 PM
Lendo (Lendo) updated the task description.Jan 24 2022, 10:14 PM