Crash after bpy.ops.file.direrectory_new() #29734

Closed
opened 2011-12-30 17:33:38 +01:00 by Jason van Gumster · 3 comments

%%%I'm writing a script that requires me to temporarily create a directory for storing PNG frames before encoding them to a video format that's not directly supported in Blender (ffmpeg's qtrle, FWIW). The plan was to create directory in the same space as the finished file... and that directory would have the same name as the finished file. Unfortunately, Blender crashes after creating the directory.

I've attached a .blend file that should reliably reproduce the bug (simply run the script, go to the 3D View's Toolshelf, select the location of an output file not a directory, and click the Generate Temp Directory button) as well as a gdb backtrace of my crash.%%%

%%%I'm writing a script that requires me to temporarily create a directory for storing PNG frames before encoding them to a video format that's not directly supported in Blender (ffmpeg's qtrle, FWIW). The plan was to create directory in the same space as the finished file... and that directory would have the same name as the finished file. Unfortunately, Blender crashes after creating the directory. I've attached a .blend file that should reliably reproduce the bug (simply run the script, go to the 3D View's Toolshelf, select the location of an output file *not a directory*, and click the Generate Temp Directory button) as well as a gdb backtrace of my crash.%%%
Author
Member

Changed status to: 'Open'

Changed status to: 'Open'

%%%fixed r43022.

making a dir is something python would likely handle better its self though.%%%

%%%fixed r43022. making a dir is something python would likely handle better its self though.%%%

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 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#29734
No description provided.