Page MenuHome

bpy.ops.wm.append message
Closed, ResolvedPublic


System Information
Mac OS X 10.9.3

Blender Version
Broken: 2.71 671f75a
Worked: 2.71

Short description of error and Exact steps for others to reproduce the error
using append from menu will result in this message in terminal: RNA_boolean_get: WM_OT_append.relative_path not found.
using append from script and providing missing parameter will result in this error:

File "/Applications/Blender/blender-2.71-671f75a-OSX-10.6-x86_64/", line 188, in __call__
  ret = op_call(self.idname_py(), None, kw)

TypeError: Converting py args to operator properties: : keyword "relative_path" unrecognized

Event Timeline

Jakub Uhlik (carbon14) set Type to Bug.
Jakub Uhlik (carbon14) created this task.
Jakub Uhlik (carbon14) raised the priority of this task from to Needs Triage by Developer.

Andrea, you changed those ops recently, mind having a look? thanks. :)

WM_operator_properties_filesel() in the append operator is missing the "WM_FILESEL_RELPATH" flag. But I don't think this is a bug. For appending, relative paths are not needed, as the data will be copied into the current blend, no need to keep a reference of the path.

Oh and I don't get an error message in my terminal with 50d6067.

Andrea Weikert (elubie) triaged this task as Confirmed, Medium priority.Sep 7 2014, 2:31 PM

I'll take a look, looks like the relative path property is accessed even though it is not needed as Thomas mentioned.