Hi,
I’ve been running OSMC on my raspberry pi model b+ for a few months now, and it has been running smoothly without any problems. It was only a few days ago that I was going to access Youtube when I was somehow logged out. Entering Youtube asks for code authentication, which I do but it then tells me an error has occured and to look at error log. As I’m aware, Youtube on osmc asks for code authentication twice, but I can’t even get past the first authentication without it throwing me an error.
Here are the logs:
17:05:00 184277.171875 T:2840589296 WARNING: CSkinInfo: failed to load skin settings
17:05:12 184288.625000 T:2806248432 NOTICE: [plugin.video.youtube] Running: YouTube (5.2.1) on Jarvis (16.1) with Python 2.7.9
17:05:41 184318.000000 T:2806248432 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/osmc/.kodi/addons/plugin.video.youtube/default.py", line 7, in <module>
runner.run(__provider__)
File "/home/osmc/.kodi/addons/plugin.video.youtube/resources/lib/kodion/runner.py", line 32, in run
__RUNNER__.run(provider, context)
File "/home/osmc/.kodi/addons/plugin.video.youtube/resources/lib/kodion/impl/xbmc/xbmc_runner.py", line 23, in run
results = provider.navigate(context)
File "/home/osmc/.kodi/addons/plugin.video.youtube/resources/lib/kodion/abstract_provider.py", line 123, in navigate
result = method(context, re_match)
File "/home/osmc/.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/osmc/.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/osmc/.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<--
17:05:42 184318.875000 T:3023737776 ERROR: GetDirectory - Error getting plugin://plugin.video.youtube/
17:05:42 184318.890625 T:3023737776 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.youtube/) failed
17:06:27 184363.671875 T:3023737776 ERROR: Window Translator: Can't find window settingsprofile
17:07:24 184421.078125 T:3023737776 ERROR: Previous line repeats 1 times.
17:07:24 184421.078125 T:3023737776 ERROR: CCurlFile::Open failed with code 404 for http://download.osmc.tv/kodi/addons/jarvis/script.logviewer/script.logviewer-1.0.0.zip.md5
17:07:24 184421.078125 T:3023737776 ERROR: Open - failed to open source <http://download.osmc.tv/kodi/addons/jarvis/script.logviewer/script.logviewer-1.0.0.zip.md5>
17:07:41 184438.093750 T:3023737776 ERROR: Window Translator: Can't find window settingsprofile
17:10:28 184605.140625 T:3023737776 ERROR: CCurlFile::Open failed with code 404 for http://download.osmc.tv/kodi/addons/jarvis/script.kodi.loguploader/script.kodi.loguploader-0.0.3.zip.md5
17:10:28 184605.140625 T:3023737776 ERROR: Open - failed to open source <http://download.osmc.tv/kodi/addons/jarvis/script.kodi.loguploader/script.kodi.loguploader-0.0.3.zip.md5>