2016-12-28, 20:22
Hi Folks,
I have been using the 5.3.6 jdf76 youtube plugin for quite some time. I ended up doing a clean install of librelec on one of my boxes and when I went to add the youtube plug-in, I'm getting an error. I don't doubt it's my fault and I'm not following the steps properly, but I will say I have done this before for two different machines without issue. In any case, I noticed an exception is thrown in the kodi log which I have listed below.
I removed all settings and the plugin, reinstalled from the repo, and tried to sign-in and immediately I'm greeted with the error and this exception is thrown:
http://pastebin.com/texkrzuM
I have been using the 5.3.6 jdf76 youtube plugin for quite some time. I ended up doing a clean install of librelec on one of my boxes and when I went to add the youtube plug-in, I'm getting an error. I don't doubt it's my fault and I'm not following the steps properly, but I will say I have done this before for two different machines without issue. In any case, I noticed an exception is thrown in the kodi log which I have listed below.
I removed all settings and the plugin, reinstalled from the repo, and tried to sign-in and immediately I'm greeted with the error and this exception is thrown:
PHP Code:
18:05:36.764 T:140123599083264 NOTICE: [plugin.video.youtube] Running: YouTube (5.3.6) on Krypton (17.0) with Python 2.7.13
18:05:40.533 T:140123599083264 NOTICE: Previous line repeats 1 times.
18:05:40.534 T:140123599083264 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'urllib2.URLError'>
Error Contents: <urlopen error EOF occurred in violation of protocol (_ssl.c:661)>
Traceback (most recent call last):
File "/storage/.kodi/addons/plugin.video.youtube/default.py", line 7, in <module>
runner.run(__provider__)
File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/kodion/runner.py", line 32, in run
__RUNNER__.run(provider, context)
File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/kodion/impl/xbmc/xbmc_runner.py", line 23, in run
results = provider.navigate(context)
File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/kodion/abstract_provider.py", line 93, in navigate
result = method(context, re_match)
File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/kodion/register_provider_path.py", line 12, in wrapper
return func(*args, **kwargs)
File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube/provider.py", line 426, in _on_sign
yt_login.process(mode, self, context, re_match, context.get_settings().requires_dual_login())
File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube/helper/yt_login.py", line 88, in process
access_token_tv, expires_in_tv, refresh_token_tv = _do_login(_for_tv=True)
File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube/helper/yt_login.py", line 11, in _do_login
json_data = _client.generate_user_code_tv()
File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube/client/login_client.py", line 172, in generate_user_code_tv
return self.generate_user_code(client_id=client_id)
File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube/client/login_client.py", line 196, in generate_user_code
result = requests.post(url, data=post_data, headers=headers, verify=False)
File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/kodion/simple_requests/api.py", line 194, in post
return _request('POST', url, data=data, json=json, **kwargs)
File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/kodion/simple_requests/api.py", line 165, in _request
response = opener.open(request)
File "/usr/lib/python2.7/urllib2.py", line 429, in open
File "/usr/lib/python2.7/urllib2.py", line 447, in _open
File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
File "/usr/lib/python2.7/urllib2.py", line 1241, in https_open
File "/usr/lib/python2.7/urllib2.py", line 1198, in do_open
URLError: <urlopen error EOF occurred in violation of protocol (_ssl.c:661)>
-->End of Python script error report<--
18:05:40.593 T:140123778557056 ERROR: GetDirectory - Error getting plugin://plugin.video.youtube/sign/in/
18:05:40.594 T:140123778557056 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.youtube/sign/in/) failed
18:05:40.814 T:140123599083264 NOTICE: [plugin.video.youtube] Running: YouTube (5.3.6) on Krypton (17.0) with Python 2.7.13
http://pastebin.com/texkrzuM