NodeData.Message raises confusing exception when method returns non-conformant return value type.


on R23, Win, c4d.plugins.NodeData.Message will raise AttributeError: 'function' object has no attribute 'im_func' when the implementation of the method does not (fully) conform to returning a Boolean.

I am not sure if this is considered to be "known", but since the exception comes with no stack frame and is in itself rather cryptic, I thought I document it here. I do not expect an answer in any form. The error message might also be raised erroneously for other methods when the return type is non-conformant. So, dear search function user, when you get this exception, check your NodeData.Message (and possibly also other overwritten methods) for them always returning the correct return value type (a Boolen in case of NodeData.Message).


MAXON SDK Specialist

Hi thanks for the report this was already reported in Phong Tag with ObjectData and this is going to be fixed in the release after R23 SP1.