File: gstobject.override
Function: _wrap_gst_object_set_property
Error: returning (PyObject*)NULL without setting an exception
133 static PyObject *
134 _wrap_gst_object_set_property(PyGObject *self, PyObject *args)
135 {
136     gchar *param_name;
137     GParamSpec *pspec;
138     PyObject *pvalue;
139 
140     if (!PyArg_ParseTuple(args, "sO:gst.Object.set_property", &param_name,
when PyArg_ParseTuple() succeeds
taking False path
141 			  &pvalue))
142       return NULL;
143     
144     if (!GST_IS_OBJECT (self->obj)) {
when treating unknown struct GObject * from gstobject.override:144 as non-NULL
taking False path
when treating unknown struct GTypeClass * from gstobject.override:144 as NULL
taking False path
when considering range: -0x80000000 <= value <= -1
taking False path
145       PyErr_Format (PyExc_TypeError,
146 		    "object at %p of type %s is not initialized",
147 		    self, self->ob_type->tp_name);
148       return NULL;
149     }
150     
151     pspec = g_object_class_find_property(G_OBJECT_GET_CLASS(self->obj),
when treating unknown struct GObject * from gstobject.override:151 as non-NULL
152 					 param_name);
153     if (!pspec) {
when treating unknown struct GParamSpec * from gstobject.override:151 as non-NULL
taking False path
154 	PyErr_Format(PyExc_TypeError,
155 		     "object of type `%s' does not have property `%s'",
156 		     g_type_name(G_OBJECT_TYPE(self->obj)), param_name);
157 	return NULL;
158     }
159     
160     if (!set_property_from_pspec(self->obj, param_name, pspec, pvalue))
when considering value == (gboolean)0 from gstobject.override:160
taking True path
161 	return NULL;
162     
163     Py_INCREF(Py_None);
164     return Py_None;
165 }
returning (PyObject*)NULL without setting an exception
found 3 similar trace(s) to this