Just add this to Scene.link(): if(object->data == NULL) return EXPP_ReturnPyObjError(PyExc_AttributeError, "object must be linked to a datablock before being added to the scene..."); Now it flags the problem when you run that script again, and tells you you need to link the object to data before it can be rendered.