Page MenuHome

Issue with Auto Run Python Scripts and Windows 10
Closed, InvalidPublic

Description

System Information
OS: Windows 10

Blender Version
Broken: 2.77a
Worked: (optional)

Short description of error
Blender freezes on opening a blend file that contains a registered script
if the checkbox Auto Run Python Scripts is set in the Preferences.

Exact steps for others to reproduce the error
Based on a (as simple as possible) attached .blend file with minimum amount of steps

Blender freezes on opening a blend file that contains a registered script
if the checkbox Auto Run Python Scripts is set in the Preferences.

Workaround is to deactive the Option in the Preferences and then open the file.

I report this, because I didn't knew it was an issue and I rebuild the complete file,
because I thought the file was corrupt.

On Windows 7, prior to the update to Windows 10, there war no issue with the
settings or the file.

Details

Type
Bug

Event Timeline

Michael P. (forest-house) raised the priority of this task from to Needs Triage by Developer.
Michael P. (forest-house) updated the task description. (Show Details)
Michael P. (forest-house) set Type to Bug.
Aaron Carlisle (Blendify) lowered the priority of this task from Needs Triage by Developer to Needs Information from User.May 22 2016, 3:16 AM

Make sure Auto Run Python Scripts is set in the Preferences and then open the attached blend file.

The active script is registered and auto renders and auto saves an image with the name "python-windows-10-freeze-test-render.png" where your blend file is located.

Tested this file with 2.77a release, and its working as expected.
The file loads, does nothing for ~7 seconds while it renders, then the file can be used.

Is the file usable after the render is complete? or does it hang indefinitely?

The file I work with renders a lot more than the example file does, but I can't provide it.

Under Windows 7 I have no issues at all, can open the file and everything auto runs smooth. But under Windows 10 Blender hangs up (not responding) and I have to kill the process through the Windows Task Manager.

But if the Auto Run Python Script is deactivated, I can open the file without any issues and then run the script and everything runs smooth again.

Short:

  • Issue: Open the file with Auto Run Python Script under Windows 10 Blender hangs up.
  • No Issue: Open the file with deactivated Auto Run Python Script under Windows 10 Blender and manually start the script.
  • No Issue: Open the file with Auto Run Python Script under Windows 7 Blender and the script runs.

It seems most likely this is a threading/rendering bug.
I don't have access to Windows-10. Could someone else on Windows-10 try to redo this bug?

Also, @Michael P. (forest-house), could you check if changing the render-engine has any impact on this bug?

Bastien Montagne (mont29) claimed this task.

No news since over a month, more than time to close!