[packman] Kodi on openSUSE_Leap_42.2 and 42.3: Does the Youtube addon work for anyone?

Manfred Hollstein manfred.h at gmx.net
Mon Oct 23 19:41:41 CEST 2017


Moin,

On Sun, 22 Oct 2017, 12:54:49 +0200, Manfred Hollstein wrote:
> I just installed the Youtube addon in my kodi-17.4 installation. When I
> want to run it, it immediately errors out. The logs can be found below.
> 
> My question really is: does this addon work for anyone?

I found the reason; the version of the python-pyOpenssl package is
apparently too old. Interestingly Kodi+Youtube run even without the
package being installed. But, since it is required by package
xorg-x11-Xvnc (which is installed on my systems - need to check if I
actually need it), I worked around it by creating a fake package
pretending it provides all the pyOpenssl related symbols, and now the
Youtube plugin works in Kodi.

HTH, cheers.

l8er
manfred

> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< ~/.kodi/temp/kodi.log: >>>>>>>>>>>>>>>>>>>>>>>>>
> 12:46:41.236 T:140175436674816  NOTICE: [plugin.video.youtube] Startup: detected Krypton (Kodi-17.4), setting DASH_SUPPORT_BUILTIN = False, DASH_SUPPORT_ADDON = True
> 12:47:07.183 T:140175961847552 WARNING: [plugin.video.youtube] Switching API key set from  to 1
> 12:47:07.198 T:140175961847552  NOTICE: [plugin.video.youtube] Running: YouTube (5.4.5) on Krypton (Kodi-17.4) with Python 2.7.13
> 12:47:12.911 T:140175961847552  NOTICE: Previous line repeats 2 times.
> 12:47:12.911 T:140175961847552   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
>                                              - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
>                                             Error Type: <class 'requests.exceptions.SSLError'>
>                                             Error Contents: ('bad handshake: SysCallError(0, None)',)
>                                             Traceback (most recent call last):
>                                               File "/home/manfred/.kodi/addons/plugin.video.youtube/resources/lib/default.py", line 7, in <module>
>                                                 runner.run(__provider__)
>                                               File "/home/manfred/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/runner.py", line 40, in run
>                                                 __RUNNER__.run(provider, context)
>                                               File "/home/manfred/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/impl/xbmc/xbmc_runner.py", line 23, in run
>                                                 results = provider.navigate(context)
>                                               File "/home/manfred/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/abstract_provider.py", line 83, in navigate
>                                                 self._process_wizard(context)
>                                               File "/home/manfred/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/abstract_provider.py", line 73, in _process_wizard
>                                                 wizard_step[0](*wizard_step[1])
>                                               File "/home/manfred/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/helper/yt_setup_wizard.py", line 58, in process
>                                                 _process_language(provider, context)
>                                               File "/home/manfred/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/helper/yt_setup_wizard.py", line 16, in _process_language
>                                                 json_data = client.get_supported_languages(kodi_language)
>                                               File "/home/manfred/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/client/youtube.py", line 104, in get_supported_languages
>                                                 return self._perform_v3_request(method='GET', path='i18nLanguages', params=params)
>                                               File "/home/manfred/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/client/youtube.py", line 636, in _perform_v3_request
>                                                 result = requests.get(_url, params=_params, headers=_headers, verify=self._verify, allow_redirects=allow_redirects)
>                                               File "/home/manfred/.kodi/addons/script.module.requests/lib/requests/api.py", line 70, in get
>                                                 return request('get', url, params=params, **kwargs)
>                                               File "/home/manfred/.kodi/addons/script.module.requests/lib/requests/api.py", line 56, in request
>                                                 return session.request(method=method, url=url, **kwargs)
>                                               File "/home/manfred/.kodi/addons/script.module.requests/lib/requests/sessions.py", line 488, in request
>                                                 resp = self.send(prep, **send_kwargs)
>                                               File "/home/manfred/.kodi/addons/script.module.requests/lib/requests/sessions.py", line 609, in send
>                                                 r = adapter.send(request, **kwargs)
>                                               File "/home/manfred/.kodi/addons/script.module.requests/lib/requests/adapters.py", line 497, in send
>                                                 raise SSLError(e, request=request)
>                                             SSLError: ('bad handshake: SysCallError(0, None)',)
>                                             -->End of Python script error report<--
> 12:47:12.982 T:140177154968000   ERROR: GetDirectory - Error getting plugin://plugin.video.youtube/
> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< end of ~/.kodi/temp/kodi.log: >>>>>>>>>>>>>>>>>>>>>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.links2linux.de/pipermail/packman/attachments/20171023/9d7c586c/attachment.sig>


More information about the Packman mailing list