KodiTips Forums

!!

Sign Up For A FREE Account Today... Click the "REGISTER" button above this box!

Sign up for a free KodiTips forum account and discuss Kodi tips and tricks. Get help for your Kodi problems and join in the conversation today.

Windows Kodi 17.3 Error authorizing TRAKT.tv account in SALTS

TT_Vert

  • 5
  • +0/-0
    • View Profile
So I've used Kodi in an Android environment for some time w/o issues.  This is my first foray into the windows side.   I have just installed Kodi 17.3 on a win10 64 bit machine.  I then installed SALTS as I always do from the K3l3vra repository successfully.  I then installed TRAKT from the kodi add-on repository successfully.  I then was able to authorize the TRAKT app but when I try to authorize SALTS to access my TRAKT.tv account I get an error to see log.  The log is as follows.  I tried to run kodi as admin to see if it was just a permissions issue but no dice.  Any help would be greatly appreciated.

Code: [Select]
11:43:58.818 T:500 WARNING: CSkinInfo: failed to load skin settings
11:44:36.715 T:9952 WARNING: Previous line repeats 1 times.
11:44:36.715 T:9952   ERROR: XFILE::CDirectory::GetDirectory - Error getting
11:44:36.731 T:9952   ERROR: Previous line repeats 3 times.
11:44:36.731 T:9952 WARNING: XFILE::CFileFactory::CreateLoader - unsupported protocol(addons) in addons://sources/image/
11:44:41.527 T:12420   ERROR: Control 55 in window 10025 has been asked to focus, but it can't
11:44:42.182 T:9836  NOTICE: URLResolver: Initializing URLResolver version: 3.0.32
11:44:42.270 T:9836  NOTICE: Stream All The Sources: Version: |2.0.195| Queries: |{'mode': 'settings'}|
11:44:42.270 T:9836  NOTICE: Stream All The Sources: Args: |['plugin://plugin.video.salts/', '4', '?mode=settings']|
11:44:42.332 T:9836 WARNING: CPythonInvoker(17, C:\Users\DNA\AppData\Roaming\Kodi\addons\plugin.video.salts\default.py): the python script "C:\Users\DNA\AppData\Roaming\Kodi\addons\plugin.video.salts\default.py" has left several classes in memory that we couldn't clean up. The classes include: class XBMCAddon::xbmcaddon::Addon
11:44:44.518 T:1956  NOTICE: URLResolver: Initializing URLResolver version: 3.0.32
11:44:44.585 T:1956  NOTICE: Stream All The Sources: Version: |2.0.195| Queries: |{'mode': 'auth_trakt'}|
11:44:44.585 T:1956  NOTICE: Stream All The Sources: Args: |['plugin://plugin.video.salts/', '-1', '?mode=auth_trakt']|
11:44:44.645 T:1956   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <class 'urllib2.HTTPError'>
                                            Error Contents: HTTP Error 403: Forbidden
                                            Traceback (most recent call last):
                                              File "C:\Users\DNA\AppData\Roaming\Kodi\addons\plugin.video.salts\default.py", line 2766, in <module>
                                                sys.exit(main())
                                              File "C:\Users\DNA\AppData\Roaming\Kodi\addons\plugin.video.salts\default.py", line 2757, in main
                                                url_dispatcher.dispatch(mode, queries)
                                              File "C:\Users\DNA\AppData\Roaming\Kodi\addons\script.module.tknorris.shared\lib\url_dispatcher.py", line 100, in dispatch
                                                self.func_registry[mode](*args, **kwargs)
                                              File "C:\Users\DNA\AppData\Roaming\Kodi\addons\plugin.video.salts\default.py", line 261, in auth_trakt
                                                utils.auth_trakt(Trakt_API, kodi.Translations(strings.STRINGS))
                                              File "C:\Users\DNA\AppData\Roaming\Kodi\addons\script.module.tknorris.shared\lib\utils.py", line 219, in auth_trakt
                                                result = trakt_api.get_code()
                                              File "C:\Users\DNA\AppData\Roaming\Kodi\addons\plugin.video.salts\salts_lib\trakt_api.py", line 69, in get_code
                                                return self.__call_trakt(url, data=data, auth=False, cached=False)
                                              File "C:\Users\DNA\AppData\Roaming\Kodi\addons\plugin.video.salts\salts_lib\trakt_api.py", line 472, in __call_trakt
                                                response = urllib2.urlopen(request, timeout=self.timeout)
                                              File "C:\Program Files (x86)\Kodi\system\python\Lib\urllib2.py", line 154, in urlopen
                                                return opener.open(url, data, timeout)
                                              File "C:\Program Files (x86)\Kodi\system\python\Lib\urllib2.py", line 437, in open
                                                response = meth(req, response)
                                              File "C:\Program Files (x86)\Kodi\system\python\Lib\urllib2.py", line 550, in http_response
                                                'http', request, response, code, msg, hdrs)
                                              File "C:\Program Files (x86)\Kodi\system\python\Lib\urllib2.py", line 475, in error
                                                return self._call_chain(*args)
                                              File "C:\Program Files (x86)\Kodi\system\python\Lib\urllib2.py", line 409, in _call_chain
                                                result = func(*args)
                                              File "C:\Program Files (x86)\Kodi\system\python\Lib\urllib2.py", line 558, in http_error_default
                                                raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
                                            HTTPError: HTTP Error 403: Forbidden
                                            -->End of Python script error report<--
11:44:44.667 T:1956 WARNING: CPythonInvoker(18, C:\Users\DNA\AppData\Roaming\Kodi\addons\plugin.video.salts\default.py): the python script "C:\Users\DNA\AppData\Roaming\Kodi\addons\plugin.video.salts\default.py" has left several classes in memory that we couldn't clean up. The classes include: class XBMCAddon::xbmcaddon::Addon
« Last Edit: June 30, 2017, 04:23:40 pm by TT_Vert »

TT_Vert

  • 5
  • +0/-0
    • View Profile
Re: Windows Kodi 17.3 Error authorizing TRAKT.tv account in SALTS
« Reply #1 on: June 30, 2017, 06:30:07 pm »
So i ended up installing SALTS from the Kodil repository and it works. No idea why the SALTS from the k3l3vra repository which works fine on both of my Amazon fire devices on the same LAN fine but not on my Windows based machine. Anyone have any input on that? Very odd.
Dave