-
Notifications
You must be signed in to change notification settings - Fork 163
Autosave of Trakt Data Produces an Error[Bug] #140
Description
Describe the bug
Autosave of Trakt data produces an error shortly after Kodi starts and the data is not saved.
To Reproduce
Steps to reproduce the behavior:
- Open Kodi
- Wait for autosave to run and error is produced
Expected behavior
Trakt date to autosave
Screenshots
No screenshots
Platform
Windows 10 / Kodi 19.1
Additional context
I have edited the traktit.py to add the addons I am using to the list. Manual save works fine with no error. It's only the autosave that produces the error. If you require any more info or a copy of my traktit.py I can certainly provide it. Thanks in advance for your help.
Error received below:
2021-09-05 09:30:59.000 T:26488 INFO : [COLOR grey][B]Open[/B][/COLOR]Wizard: [Notifications] Notifications file at http:// not formatted correctly.
2021-09-05 09:30:59.002 T:26488 INFO : [COLOR grey][B]Open[/B][/COLOR]Wizard: [Build Installed Check] Not Enabled
2021-09-05 09:30:59.005 T:26488 INFO : [COLOR grey][B]Open[/B][/COLOR]Wizard: [Trakt Data] Started
2021-09-05 09:30:59.022 T:26488 INFO : [COLOR grey][B]Open[/B][/COLOR]Wizard: [Trakt Data] Saving all Data
2021-09-05 09:30:59.071 T:26488 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: function takes at most 5 arguments (6 given)
Traceback (most recent call last):
File "C:\Users\DESKTOP\AppData\Roaming\Kodi\addons\plugin.program.openwizard\startup.py", line 417, in
save_trakt()
File "C:\Users\DESKTOP\AppData\Roaming\Kodi\addons\plugin.program.openwizard\startup.py", line 229, in save_trakt
traktit.auto_update('all')
File "C:\Users\DESKTOP\AppData\Roaming\Kodi\addons\plugin.program.openwizard\resources\libs\traktit.py", line 294, in auto_update
auto_update(log)
File "C:\Users\DESKTOP\AppData\Roaming\Kodi\addons\plugin.program.openwizard\resources\libs\traktit.py", line 307, in auto_update
if dialog.yesno(CONFIG.ADDONTITLE,
TypeError: function takes at most 5 arguments (6 given)
-->End of Python script error report<--