2022-12-21, 20:46
(2022-12-16, 01:32)Luterin Wrote:(2022-12-16, 01:20)effe.rnr Wrote:(2022-12-15, 18:52)Luterin Wrote: I'm running Kodi 19.3 on a Nvidia Shield Pro 2019 (Android 11, Shield 9.1.1), with YouTube 6.8.23+matrix.1, and yesterday (or the day before) the plugin stopped working. I get an error as soon as I start Kodi, "YouTube Error, check the log for more information". And this happens when the Kodi UI is ready, but before I have clicked anything. If I try to go to the YouTube addon, I get the same error again.are you logged in?
I've also tried rebooting the Shield and clearing Kodi Cache, but haven't helped.
I don't think anything updated, so figured it might have been a temporary YouTube issue, this is why I waited a little before reporting.
Log:
https://paste.kodi.tv/uhafifelox.kodi
had the same issue. I think this comes from loading youtube widgets while you are not logged in. After logging in the error disappeared.
Hmm, so you think this might be an issue related to my Youtube API keys? Not using any Youtube widgets, and, the times it happen earlier when API keys were an issue, I got a specific error about the keys, not a "total breakdown" like this, but perhaps that is what it is.. I will look into it tomorrow or so, if no other feedback about this shows up...
Thanks for the suggestion anyway!
did you solve the problem meanwhile? I think I have the same issue now (with same hardware)
Log:
Code:
2022-12-21 18:37:44.692 T:31601 ERROR <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'json.decoder.JSONDecodeError'>
Error Contents: Extra data: line 19 column 2 (char 513)
Traceback (most recent call last):
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.youtube/resources/lib/startup.py", line 11, in <module>
from youtube_plugin.kodion import service
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/service.py", line 15, in <module>
from ..youtube.provider import Provider
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/__init__.py", line 11, in <module>
from .provider import Provider
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/provider.py", line 22, in <module>
from ..youtube.client import YouTube
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/client/__init__.py", line 11, in <module>
from .youtube import YouTube
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/client/youtube.py", line 21, in <module>
from .login_client import LoginClient
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/client/login_client.py", line 17, in <module>
from .__config__ import api, youtube_tv, developer_keys, keys_changed
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/client/__config__.py", line 222, in <module>
_api_check = APICheck(__context, __settings)
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/client/__config__.py", line 30, in __init__
self._am_jstore = LoginTokenStore()
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/json_store/login_tokens.py", line 17, in __init__
JSONStore.__init__(self, 'access_manager.json')
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/json_store/json_store.py", line 39, in __init__
self.load()
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/json_store/json_store.py", line 59, in load
data = json.load(jsonfile)
File "/data/user/0/org.xbmc.kodi/cache/apk/assets/python3.8/lib/python3.8/json/__init__.py", line 293, in load
return loads(fp.read(),
File "/data/user/0/org.xbmc.kodi/cache/apk/assets/python3.8/lib/python3.8/json/__init__.py", line 357, in loads
return _default_decoder.decode(s)
File "/data/user/0/org.xbmc.kodi/cache/apk/assets/python3.8/lib/python3.8/json/decoder.py", line 340, in decode
raise JSONDecodeError("Extra data", s, end)
json.decoder.JSONDecodeError: Extra data: line 19 column 2 (char 513)
-->End of Python script error report<--