Issue with Auto Run Python Scripts and Windows 10 #48484

Closed
opened 2016-05-21 13:00:48 +02:00 by Michael P. · 12 comments

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.

python-windows-10-freeze_python-win.jpg

**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. ![python-windows-10-freeze_python-win.jpg](https://archive.blender.org/developer/F314023/python-windows-10-freeze_python-win.jpg)
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @MichaelParucha

Added subscriber: @MichaelParucha
Member

Added subscriber: @Blendify

Added subscriber: @Blendify
Member

Can you give an example file?

Can you give an example file?
Author

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.

python-windows-10-freeze.blend

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. [python-windows-10-freeze.blend](https://archive.blender.org/developer/F314199/python-windows-10-freeze.blend)

Added subscriber: @ideasman42

Added subscriber: @ideasman42

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?

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?
Author

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.

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, @MichaelParucha, could you check if changing the render-engine has any impact on this bug?

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, @MichaelParucha, could you check if changing the render-engine has any impact on this bug?

Added subscriber: @mont29

Added subscriber: @mont29

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Bastien Montagne self-assigned this 2016-07-15 16:11:53 +02:00

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

No news since over a month, more than time to close!
Sign in to join this conversation.
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#48484
No description provided.