File: | rrdtoolmodule.c |
Function: | initrrdtool |
Error: | calling PyDict_SetItemString with NULL as argument 3 (ErrorObject.2) at rrdtoolmodule.c:632 |
618 /* Initialization function for the module */
619 void initrrdtool(
620 void)
621 {
622 PyObject *m, *d, *t;
623
624 /* Create the module and add the functions */
625 m = Py_InitModule("rrdtool", _rrdtool_methods);
when Py_InitModule4_64() succeeds
626
627 /* Add some symbolic constants to the module */
628 d = PyModule_GetDict(m);
629
630 SET_STRCONSTANT(d, __version__);
when treating unknown const char * from rrdtoolmodule.c:42 as non-NULL
when PyString_FromString() succeeds
when PyDict_SetItemString() succeeds
taking True path
631 ErrorObject = PyErr_NewException("rrdtool.error", NULL, NULL);
when PyErr_NewException() fails
632 PyDict_SetItemString(d, "error", ErrorObject);
calling PyDict_SetItemString with NULL as argument 3 (ErrorObject.2) at rrdtoolmodule.c:632
found 5 similar trace(s) to this
633
634 /* Check for errors */
635 if (PyErr_Occurred())
636 Py_FatalError("can't initialize the rrdtool module");
637 }
File: | rrdtoolmodule.c |
Function: | initrrdtool |
Error: | calling PyDict_SetItemString with NULL as argument 3 (t) at rrdtoolmodule.c:630 |
618 /* Initialization function for the module */
619 void initrrdtool(
620 void)
621 {
622 PyObject *m, *d, *t;
623
624 /* Create the module and add the functions */
625 m = Py_InitModule("rrdtool", _rrdtool_methods);
when Py_InitModule4_64() succeeds
626
627 /* Add some symbolic constants to the module */
628 d = PyModule_GetDict(m);
629
630 SET_STRCONSTANT(d, __version__);
when treating unknown const char * from rrdtoolmodule.c:42 as non-NULL
when PyString_FromString() fails
calling PyDict_SetItemString with NULL as argument 3 (t) at rrdtoolmodule.c:630
found 1 similar trace(s) to this
631 ErrorObject = PyErr_NewException("rrdtool.error", NULL, NULL);
632 PyDict_SetItemString(d, "error", ErrorObject);
633
634 /* Check for errors */
635 if (PyErr_Occurred())
636 Py_FatalError("can't initialize the rrdtool module");
637 }