movieclips.load(filepath=None) or value crash Blender
Closed, ResolvedPublic

Description

Go to PyConsole

Type:
bpy.data.movieclips.load(filepath=None)
or a value for instance instead of None

Hit return and see Blender crashing

empty string or invalid paths get caught properly, but there doesn't seem to be a check for None / string var type

Windows 7
Blender 2.63a

Details

Type
Bug

Output from r42804:

>>> bpy.data.movieclips.load(filepath=None)
Traceback (most recent call last):
File "<blender_console>", line 1, in <module>
TypeError: BlendDataMovieClips.load(): error with keyword argument "filepath" - Function.filepath expected a string type, not NoneType

Fixed in svn rev48030. Thanks for the report, closing.

Reverted changes. Re-opening and re-assigning to Campbell for further investigation.

This is a bug in python, reported and attached fix for python - bugs.python.org/issue15859

applied a workaround r50373.