Issue with Auto Run Python Scripts and Windows 10 #48484
Labels
No Label
Interest
Animation & Rigging
Interest
Blender Cloud
Interest
Collada
Interest
Core
Interest
Documentation
Interest
Eevee & Viewport
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
Import and Export
Interest
Modeling
Interest
Modifiers
Interest
Nodes & Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds, Tests & Devices
Interest
Python API
Interest
Rendering & Cycles
Interest
Sculpt, Paint & Texture
Interest
Translations
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Meta
Good First Issue
Meta
Papercut
Module
Add-ons (BF-Blender)
Module
Add-ons (Community)
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#48484
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
Changed status to: 'Open'
Added subscriber: @MichaelParucha
Added subscriber: @Blendify
Can you give an example file?
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
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?
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?
Added subscriber: @mont29
Changed status from 'Open' to: 'Archived'
No news since over a month, more than time to close!