Page MenuHome

Saving images with python causes Blender to hang
Closed, ResolvedPublic


System Information
elementaryOS 0.4.1, GTX 1080

Blender Version
Broken: 2.79.5, 0827443
Worked: 2.79, 59b4c675

Short description of error
Blender hangs when I try to save an image with python.['test'].save()
--> Blender stops responding.
That did work like a week ago.
Exact steps for others to reproduce the error
Open this file

and run the script. It does save the image in 2.79, also worked about a week ago, but does cause Blender to hang in revision rBa6f750d.

EDIT: Actually the problem seems to be different. The file I uploaded does not show the error, because of the way I construct the path. It seems that giving the path directly is the problem:

image.filepath = "/home/sebastian/test.png"
causes blender to hang, but
image.filepath = os.path.join("/home/sebastian", "test.png")