2018-09-27, 20:16
Since it's Ubuntu 16.04, is it this old python-cryptography and python-openssl bug: https://bugs.launchpad.net/ubuntu/+sourc...ug/1636573 ? It causes really strange behaviors like this.See also: 304613 (thread)
(2018-09-27, 20:16)yasij Wrote: Since it's Ubuntu 16.04, is it this old python-cryptography and python-openssl bug: https://bugs.launchpad.net/ubuntu/+sourc...ug/1636573 ? It causes really strange behaviors like this.See also: 304613 (thread)What a star you are !! After reading the thread and checking apt-cache for the versions I already had installed and seeing that if I broke something by upgrading those packages I could easily revert them again, I updated both of them. Downloaded and installed YT. Downloaded BBC iPlayer (usually at this point downloading anything from the repo would fail). Opened Youtube, did a search, played a video came out of it and opened a streaming radio link (https stream). All appears working fine, so thank you so much !!!
(2018-09-28, 10:20)yol Wrote: I did suspect an OS or installation issue from the beginning (because we've seen this behavior nowhere else and it worked on your other PC), but still this is really difficult to find.It would seem so, according to https://github.com/pyca/pyopenssl/issues...-312968275 although in my head, checking both would be a wise move. That said, I couldn't upgrade one without the other as dpkg complained that upgrading either package broke the corresponding other package. Upgrading both at the same time wasn't an issue.
So do a version check on python-cryptography?
(2018-10-03, 16:21)yol Wrote: Can you check whether https://github.com/xbmc/xbmc/pull/14512 will disable python add-ons if you are on the "wrong" version?Yep, will do
11:34:19.462 T:2987341888 DEBUG: ------ Window Init () ------
11:34:19.532 T:2683304768 ERROR: Python cryptography module version 1.2.3 is too old, at least version 1.7 needed
11:35:23.385 T:2683304768 DEBUG: CAddonMgr: enabled plugin.video.youtube
11:35:23.387 T:2683304768 DEBUG: LocalizeStrings: loaded 263 strings from file /home/gary/.kodi/addons/plugin.video.youtube/resources/language/resource.language.en_gb/strings.po
11:35:23.387 T:2756696896 DEBUG: CServiceAddonManager: starting plugin.video.youtube
11:35:23.387 T:2756696896 DEBUG: CPythonInvoker(0): waiting for python thread "unknown script" to stop
11:35:23.389 T:2605595456 DEBUG: Thread LanguageInvoker start, auto delete: false
11:35:23.390 T:2605595456 INFO: initializing python engine.
11:35:23.390 T:2605595456 ERROR: Python cryptography module version 1.2.3 is too old, at least version 1.7 needed
pkerling:python-check-cryptography
on a fresh install of Ubuntu 16.04.5(2018-10-07, 13:56)yol Wrote: @black_eagle We were considering to move the detection to the wrapper script and just exit on startup if the module version is too old. What do you think of that?So Kodi won't start if the libraries are too old ? It's a little 'harsh' in my view. I can understand why the team might want to do that, but it gives a user no clue as to why Kodi isn't starting. Even if the wrapper writes an error message to stdout/stderror it might not be picked up if the machine the user is running is 'appliance-like' or starts Kodi as a service.
(2018-11-05, 19:00)bluezed Wrote: Hi there,
since the last update of this addon a few days ago I'm getting a pop up message on starting Kodi that says:
"Your version 1.1.1 of the Python cryptography module is too old. You need at least version 1.7."
I've just checked with command line Python and that says it has version 1.9.
python:Python 2.7.15rc1 (default, Apr 15 2018, 21:51:34)
[GCC 7.3.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import cryptography
>>> ver = cryptography.__version__
>>> ver
'1.9'
I'm running Kodi 17.6 on Ubuntu 18.04.1.
Any idea where the Version Check is getting version 1.1.1 from!?
Thanks!