add jpg support. Please note that 32bit bitmaps require 4x the memory of 8bit, possib...
[enigma2.git] / lib / python / python.cpp
index 5ec07dff50d0b7e7d54aecb92c43d561b3c6a14f..84716e7226626f5b9ce119b4411d3b1c2d595793 100644 (file)
@@ -188,6 +188,11 @@ int ePython::call(ePyObject pFunc, ePyObject pArgs)
                } else
                {
                        PyErr_Print();
+                       ePyObject FuncStr = PyObject_Str(pFunc);
+                       ePyObject ArgStr = PyObject_Str(pArgs);
+                       eDebug("(PyObject_CallObject(%s,%s) failed)", PyString_AS_STRING(FuncStr), PyString_AS_STRING(ArgStr));
+                       Py_DECREF(FuncStr);
+                       Py_DECREF(ArgStr);
                        bsodFatal();
                }
        }