ag1455 / OpenPLi-PC

Watch TV from satellites on PC
25 stars 22 forks source link

crash after update ubuntu 18.4 to 20.4 #21

Closed bekheda closed 2 years ago

bekheda commented 2 years ago

File "/usr/local/e2/lib/enigma2/python/StartEnigma.py", line 27, in from Screens import InfoBar File "/usr/local/e2/lib/enigma2/python/Screens/InfoBar.py", line 5, in import Screens.MovieSelection File "/usr/local/e2/lib/enigma2/python/Screens/MovieSelection.py", line 32, in import Tools.Trashcan File "/usr/local/e2/lib/enigma2/python/Tools/Trashcan.py", line 6, in from twisted.internet import threads ImportError: No module named twisted.internet

ag1455 commented 2 years ago

If the library installation script did not restart, then this is not surprising. Look in synaptic for the python package "twisted".

ag1455 commented 2 years ago

Installing on python2.7 recently failed. The twisted packages in version 18.9.0-3 are no longer available. I found them at http://old-releases.ubuntu.com/ubuntu/pool/universe/t/twisted/ and fixed the script. I advise you to zip the /usr/lib/python2.7/dist-packages folder, delete it and overwrite the contents of the original OpenPLi-PC/pre/python folder to /usr. Old packages are slowly disappearing and it's time to move to e2pc on 22.04 with python3.