Python 'View' functions for Sequencer/Preview makes Blender crash #56859
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
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#56859
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?
Blender 2.79b on Windows 8
This line crashes Blender in the script context bellow:
And so does:
Script to expose the crash:
Added subscriber: @tintwotin
Added subscriber: @mont29
Cannot reproduce any crash here with this code (once tabulation is fixed…). Please at the very least give us error message!
Strange. It crashes here on 2.8 too.
I get no error message. The Blender UI just disappears.
The bug was encountered on StackExchange: https:*blender.stackexchange.com/questions/118741/how-to-make-the-sequencer-preview-area-fullscreen-with-python
Apparently, it can be worked-around by delaying the call.
Changed status from 'Open' to: 'Archived'
OK finally managed to reproduce (that operator only works when VSE editor is in only-preview mode).
You simply have invalid context for the crashing op call, just pass your
override
to it and it works as expected.Also, We do not handle user support on this tracker, only bug reports. User forums like blenderartists.org or blender.stackexchange.com should be used for that matter.
Added subscriber: @snuq
I was working with him on this script, we did end up getting it to work, and yes, the context was the problem... but regardless, shouldn't blender give an error rather than just crashing? Seems like it is still a bug.
There are gazillions of ways to make Blender crash with bad py code… ideally yes, that should be checked in the poll callback of the operators, but that’s not a bug.