File: ./gst.override
Function: _wrap_GstURIHandler__do_get_protocols_full
Error: returning (PyObject*)NULL without setting an exception
1600 static PyObject *
1601 _wrap_GstURIHandler__do_get_protocols_full(PyObject *cls, PyObject *args, PyObject *kwargs)
1602 {
1603     GstURIHandlerInterface *iface;
1604     static char *kwlist[] = { "self", "type", NULL };
1605     PyGObject *self;
1606     PyObject *py_type = NULL;
1607     GType type;
1608     gchar **ret;
1609 
1610     if (!PyArg_ParseTupleAndKeywords(args, kwargs,"O!O:GstURIHandler.get_protocols_full", kwlist, &PyGstURIHandler_Type, &self, &py_type))
when PyArg_ParseTupleAndKeywords() succeeds
taking False path
1611         return NULL;
1612     if ((type = pyg_type_from_object(py_type)) == 0)
when treating unknown struct _PyGObject_Functions * from /usr/include/pygtk-2.0/pygobject.h:207 as non-NULL
calling unknown GType (*) (struct PyObject *) from ./gst.override:1612
when considering value == (GType)0 from ./gst.override:1612
taking True path
1613         return NULL;
1614     iface = g_type_interface_peek(g_type_class_peek(pyg_type_from_object(cls)), GST_TYPE_URI_HANDLER);
1615     if (iface->get_protocols_full)
1616         ret = iface->get_protocols_full(type);
1617     else {
1618         PyErr_SetString(PyExc_NotImplementedError, "interface method GstURIHandler.get_protocols_full not implemented");
1619         return NULL;
1620     }
1621     if (ret) {
1622         guint size = g_strv_length(ret);
1623         PyObject *py_ret = PyTuple_New(size);
1624         gint i;
1625         for (i = 0; i < size; i++)
1626             PyTuple_SetItem(py_ret, i,
1627                 PyString_FromString(ret[i]));
1628         return py_ret;
1629     }
1630     return PyTuple_New (0);
1631 
1632 }
returning (PyObject*)NULL without setting an exception

File: ./gst.override
Function: _wrap_GstURIHandler__do_get_protocols_full
Error: calling PyTuple_SetItem with NULL as argument 1 (py_ret) at ./gst.override:1626
1600 static PyObject *
1601 _wrap_GstURIHandler__do_get_protocols_full(PyObject *cls, PyObject *args, PyObject *kwargs)
1602 {
1603     GstURIHandlerInterface *iface;
1604     static char *kwlist[] = { "self", "type", NULL };
1605     PyGObject *self;
1606     PyObject *py_type = NULL;
1607     GType type;
1608     gchar **ret;
1609 
1610     if (!PyArg_ParseTupleAndKeywords(args, kwargs,"O!O:GstURIHandler.get_protocols_full", kwlist, &PyGstURIHandler_Type, &self, &py_type))
when PyArg_ParseTupleAndKeywords() succeeds
taking False path
1611         return NULL;
1612     if ((type = pyg_type_from_object(py_type)) == 0)
when treating unknown struct _PyGObject_Functions * from /usr/include/pygtk-2.0/pygobject.h:207 as non-NULL
calling unknown GType (*) (struct PyObject *) from ./gst.override:1612
when considering range: 1 <= value <= 0xffffffffffffffffL
taking False path
1613         return NULL;
1614     iface = g_type_interface_peek(g_type_class_peek(pyg_type_from_object(cls)), GST_TYPE_URI_HANDLER);
calling unknown GType (*) (struct PyObject *) from ./gst.override:1614
1615     if (iface->get_protocols_full)
when treating unknown void * from ./gst.override:1614 as non-NULL
when treating unknown gchar * * (*) (GType) from ./gst.override:1615 as non-NULL
taking True path
1616         ret = iface->get_protocols_full(type);
calling unknown gchar * * (*) (GType) from ./gst.override:1616
1617     else {
1618         PyErr_SetString(PyExc_NotImplementedError, "interface method GstURIHandler.get_protocols_full not implemented");
1619         return NULL;
1620     }
1621     if (ret) {
when treating unknown gchar * * from ./gst.override:1616 as non-NULL
taking True path
1622         guint size = g_strv_length(ret);
1623         PyObject *py_ret = PyTuple_New(size);
when PyTuple_New() fails
1624         gint i;
1625         for (i = 0; i < size; i++)
when considering range: 1 <= value <= 0xffffffff
taking True path
1626             PyTuple_SetItem(py_ret, i,
when treating unknown gchar * * from ./gst.override:1622 as non-NULL
when PyString_FromString() succeeds
calling PyTuple_SetItem with NULL as argument 1 (py_ret) at ./gst.override:1626
PyTuple_SetItem() invokes Py_TYPE() on the pointer via the PyTuple_Check() macro, thus accessing (NULL)->ob_type
found 1 similar trace(s) to this
1627                 PyString_FromString(ret[i]));
1628         return py_ret;
1629     }
1630     return PyTuple_New (0);
1631 
1632 }