diff --git a/gstlal/python/pipeparts/__init__.py b/gstlal/python/pipeparts/__init__.py
index f518943e1bbdba7235e789b3c696396a4af99c4e..1e41450da9344bba00dff1c5c3ce2d1af6c3e0e5 100644
--- a/gstlal/python/pipeparts/__init__.py
+++ b/gstlal/python/pipeparts/__init__.py
@@ -90,6 +90,8 @@ def mkgeneric(pipeline, src, elem_type_name, **properties):
 		elem = Gst.ElementFactory.make(elem_type_name, properties.pop("name"))
 	else:
 		elem = Gst.ElementFactory.make(elem_type_name, None)
+	if elem is None:
+		raise RuntimeError("unknown failure creating \"%s\" element: confirm that the correct plugins are being loaded" % elem_type_name)
 	for name, value in properties.items():
 		elem.set_property(name.replace("_", "-"), value)
 	pipeline.add(elem)