Error reporting not sure where this belongs?
#1
06:46:18.996 T:9720   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <class 'TypeError'>
                                            Error Contents: 'xbmcgui.Dialog' object is not callable
                                            -->End of Python script error report<--
06:46:18.996 T:9720   ERROR: Traceback (most recent call last):

I am seeing Roman kodi.six addon.... does this mean just to use the basic kodi core modules I will need his addon?
Shield TV | Windows 10 | Mariadb | Mii Box
Evolve Ecosystem Repo | TV Melodies | Madnox Holiday Mod
Reply
#2
"There are no psychics" © "The Mentalist". Please read @ronie 's pinned topic about how to report a problem. As for kodi-six, using it is not mandatory, but if you are writing a 2/3 compatible addon it will save you from the pain of using ad hoc type checking and conditions that are hard to maintain.
Reply
#3
This error statement TypeError: 'module' object is not callable is raised as you are being confused about the Class name and Module name. The problem is in the import line . You are importing a module, not a class. This happend because the module name and class name have the same name .

If you have a class "MyClass" in a file called "MyClass.py" , then you should import :
 
Code:
from MyClass import MyClass

In Python , a script is a module, whose name is determined by the filename . So when you start out your file MyClass.py with import MyClass you are creating a loop in the module structure.
Reply

Logout Mark Read Team Forum Stats Members Help
Error reporting not sure where this belongs?0