Linux Kodi flooding XSession errors and filling up disk.
#31
(2017-03-09, 13:15)Bitfikler Wrote: But consider this: If the Kodi developers either had dropped using these Python libraries known to cause these problems or had taken into consideration this error might cause disk flooding you might have had more free time...

Sorry but this is really a weird remark.
These are standard libraries to do cryptography (ssl and the like) from within Python.
From within an addon you can install more of these libraries, even a version which causes massive issues on your system.

Only if you have 0 third party add-ons installed, and show us with a debug log that the issue occurs, would we be able to ascertain that we are causing this.
This would be very surprising because we usually do not randomly pull python modules from somewhere.

Far more likely is that one of the add-ons you installed pulled in a 'better version' of the cryptographi library your system which is causing this issue.
Lately we have seen some third party add-ons being rewritten to 'work in version 16.1'. One of the things I noticed they were doing was using some backported cryptography plugin for python to get newer ssl websites to work. Is it possible you installed something like that ?

Another option is that you upgraded your entire OS to a newer version, upgrading python and all modules.
This means one of the python add-ons is now calling a function that has been changed not so nice, and it is causing massive issues (Ubuntu bug!).
It is not very likely that we can make a decision on which python modules to use based on future mistakes made by other people Smile

Do you see how it is weird to put the blame so squarely in our corner ?
Reply
#32
(2017-02-21, 01:16)Klasw Wrote: It is actually a bug, see this:

https://bugs.launchpad.net/ubuntu/+sourc...ug/1636573

What you can do is to install python-cryptography version 1.7.1-2 and python-openssl version 16.2.0-1 from distro Zesty (Ubuntu 17.04). What I did:

Edit /etc/apt/sources.list

add:

#Zesty
deb http://se.archive.ubuntu.com/ubuntu zesty main
deb-src http://se.archive.ubuntu.com/ubuntu zesty main

(for Sweden, you can of course change to your country's repository, fist letters after http://)

sudo aptitude update
sudo aptitude install python-cryptography=1.7.1-2
(will also upgrade python-openssl to latest version)

THANK YOUUUUUUUUU!

This has been driving me NUTS!
Reply
#33
(2017-03-22, 03:42)jksinton Wrote: Here's an alternate approach to installing the Zesty packages on 16.04 without editing your apt sources:

Download the individual packages:
Code:
wget http://launchpadlibrarian.net/299484105/python-cryptography_1.7.1-2_amd64.deb
wget http://launchpadlibrarian.net/292839640/python-openssl_16.2.0-1_all.deb

Install the packages using dpkg:
Code:
sudo dpkg -i python-cryptography_1.7.1-2_amd64.deb
sudo dpkg -i python-openssl_16.2.0-1_all.deb


Do you know if this will work for Linux Mint 18.2 KDE? Is there anything I might have to do differently?
Reply
#34
(2017-07-27, 17:04)PercussionGuy33 Wrote:
(2017-03-22, 03:42)jksinton Wrote: Here's an alternate approach to installing the Zesty packages on 16.04 without editing your apt sources:

Download the individual packages:
Code:
wget http://launchpadlibrarian.net/299484105/python-cryptography_1.7.1-2_amd64.deb
wget http://launchpadlibrarian.net/292839640/python-openssl_16.2.0-1_all.deb

Install the packages using dpkg:
Code:
sudo dpkg -i python-cryptography_1.7.1-2_amd64.deb
sudo dpkg -i python-openssl_16.2.0-1_all.deb


Do you know if this will work for Linux Mint 18.2 KDE? Is there anything I might have to do differently?

Linux Mint 18.2 Cinnamon (kernel 4.11.0-14-generic)
Kodi 17.4
Code:
wget http://launchpadlibrarian.net/299484105/python-cryptography_1.7.1-2_amd64.deb
wget http://launchpadlibrarian.net/292839640/python-openssl_16.2.0-1_all.deb
sudo apt install ~/python-cryptography_1.7.1-2_amd64.deb ~/python-openssl_16.2.0-1_all.deb
Working like a charm, all install and run add-ons problems are gone... Kodi is good to go again...
Reply
#35
FWIW I think the addon script.module.requests was causing this on my Ubuntu 16.04 LTS system. Bug reported: https://github.com/beenje/script.module..../issues/21
Reply
#36
This is my first time posting in a forum, and I'm not 100% sure how to go about it.
Thank you to all the active participants here. Followed these steps and Kodi is working again.
The issue I faced was that the repositories would hang at 2% after starting their installation.
The terminal kept howling on about python.openssl and python.crypto...
I had to include this step to make anything work: sudo apt-get -f install.
I will read up on forum etiquette and hopefully my next post will be more helpful and less all over the place.
Once again, thank you to all who come here asking questions and posting solutions. I look forward to being a productive part of this whole.
Reply
#37
And the pesky 32 bit file is here:
https://launchpad.net/ubuntu/+source/pyt...2_i386.deb

After this install you will need to:
Code:
sudo apt-get -f install

 
Reply

Logout Mark Read Team Forum Stats Members Help
Kodi flooding XSession errors and filling up disk.0