2018-03-02, 14:56
Has something changed recently that would prevent the YouTube add-on from working?
Initially I had a problem where YouTube would hang on opening even before displaying the standard menu (sign in, my subscriptions etc)
I figured I probably had corrupt settings so I uninstalled the add-on, and chose to remove settings.
I have reinstalled but now cannot even sign in.
When I try to sign in, I see the normal "Sign In; Go to youtube.com/activate" dialog with the code.
When I go to youtube.com/activate and put in the code, nothing happens. The YouTube site just sits there and so does Kodi
I've tried with the latest released version in the Kodi repository (5.5.1?) and also 6.0.0-beta2.
I've tried with IPv6 disabled and enabled (I have public routable IPv6 here).
I've tried using built in API keys and my own, freshly created API keys.
None of the above have helped.
I'm running a Milhouse LibreElec test build of Kodi 18. The addon was working before so I don't suspect LibreElec at this point.
Log files only show the following when I try to activate:
Followed finally by
What else can I check?
Edit: Just checked - "Popular right now" works.
Edit2: Debug log here: https://pastebin.com/C5SKmtwu
Initially I had a problem where YouTube would hang on opening even before displaying the standard menu (sign in, my subscriptions etc)
I figured I probably had corrupt settings so I uninstalled the add-on, and chose to remove settings.
I have reinstalled but now cannot even sign in.
When I try to sign in, I see the normal "Sign In; Go to youtube.com/activate" dialog with the code.
When I go to youtube.com/activate and put in the code, nothing happens. The YouTube site just sits there and so does Kodi
I've tried with the latest released version in the Kodi repository (5.5.1?) and also 6.0.0-beta2.
I've tried with IPv6 disabled and enabled (I have public routable IPv6 here).
I've tried using built in API keys and my own, freshly created API keys.
None of the above have helped.
I'm running a Milhouse LibreElec test build of Kodi 18. The addon was working before so I don't suspect LibreElec at this point.
Log files only show the following when I try to activate:
Code:
12:24:55.069 T:1534038912 DEBUG: [plugin.video.youtube] Requesting access token: Config: |YouTube-TV| Client id [:x]: |86155| Client secret [:x]: |xxxxx|
Followed finally by
Code:
12:52:12.030 T:1831842688 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 "/storage/.kodi/addons/plugin.video.youtube/resources/lib/default.py", line 7, in <module>
runner.run(__provider__)
File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/runner.py", line 41, in run
__RUNNER__.run(provider, context)
File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/impl/xbmc/xbmc_runner.py", line 23, in run
results = provider.navigate(context)
File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/abstract_provider.py", line 87, in navigate
result = method(context, re_match)
File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/register_provider_path.py", line 11, in wrapper
return func(*args, **kwargs)
File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/provider.py", line 622, in _on_sign
yt_login.process(mode, self, context, re_match)
File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/helper/yt_login.py", line 85, in process
access_token_tv, expires_in_tv, refresh_token_tv = _do_login(_for_tv=True)
TypeError: 'NoneType' object is not iterable
-->End of Python script error report<--
What else can I check?
Edit: Just checked - "Popular right now" works.
Edit2: Debug log here: https://pastebin.com/C5SKmtwu