Page MenuHome fails in external python script on Windows
Closed, DuplicatePublic


System Information
Windows 10 Home
Version: 1703
OS Build: 15063.726

Installed RAM: 8GB

Graphics card: AMD Radeon HD 7800 Series

Blender Version
Broken: 2.79 5bd8ac9
Worked: 2.78c e92f235283

Short description of error works in Blender's internal python console, but when executed from an external python script at load from a bash session, Blender closes, and Error: EXCEPTION_ACCESS_VIOLATION is printed to the bash console.

Exact steps for others to reproduce the error

Save this script or something like it to "", including a valid path to a local image file:

import bpy"C:\\path\\to\\image.png")

Then open Blender from a bash window (eg git bash), passing the python script with: ./blender.exe --python



Event Timeline

LazyDodo (LazyDodo) triaged this task as Confirmed priority.Dec 2 2017, 1:04 AM
LazyDodo (LazyDodo) claimed this task.
LazyDodo (LazyDodo) lowered the priority of this task from Confirmed to Incomplete.Dec 2 2017, 2:21 AM

I Can repro with 2.79, but master seems fine, try a nightly build from