My system (Linux Mint 18) just updated to the latest Kodi Nighly this morning (Kodi 17 Beta 6) and Youtube asked me to reactivate using provided codes. When I enter the codes on Google Kodi throws off an error message and says look at log. Not sure where to go from here. Below is the tail end of Kodi log at time of error message
[/code]
Code:
09:07:42.926 T:140631292234112 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.youtube/) failed
09:12:21.822 T:140630810883840 NOTICE: [plugin.video.youtube] Running: YouTube (5.2.1) on Krypton (17.0) with Python 2.7.12
09:22:38.867 T:140630810883840 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.TypeError'>
Error Contents: 'NoneType' object is not iterable
Traceback (most recent call last):
File "/home/david/.kodi/addons/plugin.video.youtube/default.py", line 7, in <module>
runner.run(__provider__)
File "/home/david/.kodi/addons/plugin.video.youtube/resources/lib/kodion/runner.py", line 32, in run
__RUNNER__.run(provider, context)
File "/home/david/.kodi/addons/plugin.video.youtube/resources/lib/kodion/impl/xbmc/xbmc_runner.py", line 23, in run
results = provider.navigate(context)
File "/home/david/.kodi/addons/plugin.video.youtube/resources/lib/kodion/abstract_provider.py", line 123, in navigate
result = method(context, re_match)
File "/home/david/.kodi/addons/plugin.video.youtube/resources/lib/kodion/abstract_provider.py", line 157, in _internal_root
return self.on_root(context, re_match)
File "/home/david/.kodi/addons/plugin.video.youtube/resources/lib/youtube/provider.py", line 500, in on_root
yt_login.process(mode, self, context, re_match, False)
File "/home/david/.kodi/addons/plugin.video.youtube/resources/lib/youtube/helper/yt_login.py", line 99, in process
access_token_kodi, expires_in_kodi, refresh_token_kodi = _do_login(_for_tv=False)
TypeError: 'NoneType' object is not iterable
-->End of Python script error report<--
09:22:38.886 T:140630718150400 NOTICE: PulseAudio: Opened device Default in pcm mode with Buffersize 150 ms
09:22:38.916 T:140631292234112 ERROR: GetDirectory - Error getting plugin://plugin.video.youtube/
09:22:38.917 T:140631292234112 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.youtube/) failed
09:24:08.479 T:140630709757696 NOTICE: [plugin.video.youtube] Running: YouTube (5.2.1) on Krypton (17.0) with Python 2.7.12
09:24:34.812 T:140630709757696 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.IndexError'>
Error Contents: string index out of range
Traceback (most recent call last):
File "/home/david/.kodi/addons/plugin.video.youtube/default.py", line 7, in <module>
runner.run(__provider__)
File "/home/david/.kodi/addons/plugin.video.youtube/resources/lib/kodion/runner.py", line 32, in run
__RUNNER__.run(provider, context)
File "/home/david/.kodi/addons/plugin.video.youtube/resources/lib/kodion/impl/xbmc/xbmc_runner.py", line 23, in run
results = provider.navigate(context)
File "/home/david/.kodi/addons/plugin.video.youtube/resources/lib/kodion/abstract_provider.py", line 123, in navigate
result = method(context, re_match)
File "/home/david/.kodi/addons/plugin.video.youtube/resources/lib/kodion/abstract_provider.py", line 157, in _internal_root
return self.on_root(context, re_match)
File "/home/david/.kodi/addons/plugin.video.youtube/resources/lib/youtube/provider.py", line 500, in on_root
yt_login.process(mode, self, context, re_match, False)
File "/home/david/.kodi/addons/plugin.video.youtube/resources/lib/youtube/helper/yt_login.py", line 123, in process
access_token = '%s|%s' % (access_tokens[0], access_token_kodi)
IndexError: string index out of range
-->End of Python script error report<--
09:24:34.832 T:140630718150400 NOTICE: PulseAudio: Opened device Default in pcm mode with Buffersize 150 ms
09:24:34.861 T:140631292234112 ERROR: GetDirectory - Error getting plugin://plugin.video.youtube/
09:24:34.861 T:140631292234112 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.youtube/) failed[code]
EDIT: Never mind I got it working again by going through the login screen for Youtube on Kodi