xbmcgui.WindowXMLDialog.__init__(self, *args, **kwargs) causes exception
#1
Hey there,

I'm currently porting script.skin.helper.colorpicker to support Python3 but I getting an init exception.

Is this a Matrix Py3 build bug or do I miss a Python3 change?

Init:
https://github.com/sualfred/script.skin....ult.py#L16

Dialog init:
https://github.com/sualfred/script.skin....ker.py#L92

Exception:
Code:

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: object.__init__() takes no arguments
                                            Traceback (most recent call last):
                                              File "C:\Users\su4lf\AppData\Roaming\Kodi\addons\script.skin.helper.colorpicker\default.py", line 65, in <module>
                                                Main()
                                              File "C:\Users\su4lf\AppData\Roaming\Kodi\addons\script.skin.helper.colorpicker\default.py", line 16, in __init__
                                                color_picker = cp.ColorPicker("script-skin_helper_service-ColorPicker.xml", ADDON_PATH, "Default", "1080i")
                                              File "C:\Users\su4lf\AppData\Roaming\Kodi\addons\script.skin.helper.colorpicker\resources\lib\ColorPicker.py", line 92, in __init__
                                                xbmcgui.WindowXMLDialog.__init__(self, *args, **kwargs)
                                            TypeError: object.__init__() takes no arguments
                                            -->End of Python script error report<--
Main: Lancool II Mesh  - Ryzen 9 5900x - MSI x570 Unify - Zotac RTX 3080 AMP HOLO - 32GB Trident Z Neo 3600 CL16 -  EVO 960 M.2 250GB / EVO 940 250GB / MX100 512GB /  Crucial P1 2TB / WD Blue 3D Nand 2TB 
Sound: Saxx AS30 DSP - Beyer Dynamic Custom One Pro 
TV: Nvidia Shield 2019 Pro- Adalight 114x LEDs - Sony 65XG9505 - Kodi / Emby - Yamaha RX-V683 - Heco Victa 700/101/251a + Dynavoice Magic FX-4
Server: i3 Skylake - 8GB - OMV4 - 22TB Storage
Reply

Logout Mark Read Team Forum Stats Members Help
xbmcgui.WindowXMLDialog.__init__(self, *args, **kwargs) causes exception0