Skip to content
This repository has been archived by the owner on Oct 30, 2022. It is now read-only.

Autosave of Trakt Data Produces an Error[Bug] #140

Open
Tonkapug opened this issue Sep 5, 2021 · 0 comments
Open

Autosave of Trakt Data Produces an Error[Bug] #140

Tonkapug opened this issue Sep 5, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@Tonkapug
Copy link

Tonkapug commented Sep 5, 2021

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:

  1. Open Kodi
  2. 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<--

@Tonkapug Tonkapug added the bug Something isn't working label Sep 5, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant