In the script editor in Blender 2.79 on Windows, I can open an image with:


However, if I put this code in a .py file and open Blender from the command line (git bash, in this case), passing the .py file with a --python flag, Blender crashes:


What's up here?

  • $\begingroup$ Can you show exactly all what you run in that script which gives you that error? I tried on linux, and it seems to work. $\endgroup$
    – m.ardito
    Commented May 18, 2018 at 6:33
  • $\begingroup$ Details are in the bug report: developer.blender.org/T53446 $\endgroup$
    – meetar
    Commented May 18, 2018 at 18:18

1 Answer 1


Looks like a bug, it works in Blender 2.78c – I've reported it here: https://developer.blender.org/T53446

Update: Fixed in 2.79a: https://developer.blender.org/rB5b3c15e3363aa7bea5d26c56191b7e8e74021868


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .