Python3

Добрый день!
Если я правильно понимаю, линуксовый движок до сих пор использует Python2, который перестаёт поддерживаться с 01.01.2020. Соответственно, дистрибутивы активно удаляют python2-пакеты из репозиториев.
Вопрос: планируется ли портировать acestream-engine на Python3? Если да, то когда можно начинать ждать новую версию?

это вовсе не означает что не будет работать

Не будет, потому что не будет пакетов в репозиториях.

Под Виндой или Андроидом вообще нет в составе ОС никакой версии Питона “из коробки” - и это совсем не мешает работе нашего приложения. Нужно будет - все зависимости просто переедут в состав дистрибутива.

Да, но тянуть целый Питон, да ещё и неподдерживаемый (читай — с уязвимостями), в составе приложения — так себе идея. Впрочем, вам виднее :).

Вот только пробовал Проксю Пепса втулить в 20.04 и ругается на Асе - дохлый, т.к. Питон 2.7 нужен.
Установил его и все доп. пакеты руками впилил, но всё равно не алё.
Ругается - ImportError: No module named pkg_resources

aceproxy.log

Spoiler

acehttp.py [LINE:348 ]# ERROR [31.05 17:08:45] Ace Stream died, respawned with pid 5100

acestream.log

Spoiler

2020-05-31 17:07:34,157|MainThread|acestream|error during startup
Traceback (most recent call last):
File “core.c”, line 1793, in
File “core.c”, line 153, in
File “core.c”, line 38, in
File “/opt/acestream/lib/blist-1.3.4-py2.7-linux-x86_64.egg/blist.py”, line 1, in
File “/opt/acestream/lib/blist-1.3.4-py2.7-linux-x86_64.egg/_blist.py”, line 7, in
File “/opt/acestream/lib/blist-1.3.4-py2.7-linux-x86_64.egg/_blist.py”, line 3, in bootstrap
ImportError: No module named pkg_resources
2020-05-31 17:07:48,797|MainThread|acestream|error during startup
Traceback (most recent call last):
File “core.c”, line 1793, in
File “core.c”, line 153, in
File “core.c”, line 38, in
File “/opt/acestream/lib/blist-1.3.4-py2.7-linux-x86_64.egg/blist.py”, line 1, in
File “/opt/acestream/lib/blist-1.3.4-py2.7-linux-x86_64.egg/_blist.py”, line 7, in
File “/opt/acestream/lib/blist-1.3.4-py2.7-linux-x86_64.egg/_blist.py”, line 3, in bootstrap
ImportError: No module named pkg_resources
2020-05-31 17:08:01,135|MainThread|acestream|error during startup
Traceback (most recent call last):
File “core.c”, line 1793, in
File “core.c”, line 153, in
File “core.c”, line 38, in
File “/opt/acestream/lib/blist-1.3.4-py2.7-linux-x86_64.egg/blist.py”, line 1, in
File “/opt/acestream/lib/blist-1.3.4-py2.7-linux-x86_64.egg/_blist.py”, line 7, in
File “/opt/acestream/lib/blist-1.3.4-py2.7-linux-x86_64.egg/_blist.py”, line 3, in bootstrap
ImportError: No module named pkg_resources
2020-05-31 17:08:16,188|MainThread|acestream|error during startup
Traceback (most recent call last):
File “core.c”, line 1793, in
File “core.c”, line 153, in
File “core.c”, line 38, in
File “/opt/acestream/lib/blist-1.3.4-py2.7-linux-x86_64.egg/blist.py”, line 1, in
File “/opt/acestream/lib/blist-1.3.4-py2.7-linux-x86_64.egg/_blist.py”, line 7, in
File “/opt/acestream/lib/blist-1.3.4-py2.7-linux-x86_64.egg/_blist.py”, line 3, in bootstrap
ImportError: No module named pkg_resources
2020-05-31 17:08:31,160|MainThread|acestream|error during startup
Traceback (most recent call last):
File “core.c”, line 1793, in
File “core.c”, line 153, in
File “core.c”, line 38, in
File “/opt/acestream/lib/blist-1.3.4-py2.7-linux-x86_64.egg/blist.py”, line 1, in
File “/opt/acestream/lib/blist-1.3.4-py2.7-linux-x86_64.egg/_blist.py”, line 7, in
File “/opt/acestream/lib/blist-1.3.4-py2.7-linux-x86_64.egg/_blist.py”, line 3, in bootstrap
ImportError: No module named pkg_resources
2020-05-31 17:08:46,617|MainThread|acestream|error during startup
Traceback (most recent call last):
File “core.c”, line 1793, in
File “core.c”, line 153, in
File “core.c”, line 38, in
File “/opt/acestream/lib/blist-1.3.4-py2.7-linux-x86_64.egg/blist.py”, line 1, in
File “/opt/acestream/lib/blist-1.3.4-py2.7-linux-x86_64.egg/_blist.py”, line 7, in
File “/opt/acestream/lib/blist-1.3.4-py2.7-linux-x86_64.egg/_blist.py”, line 3, in bootstrap
ImportError: No module named pkg_resources
2020-05-31 17:09:01,293|MainThread|acestream|error during startup
Traceback (most recent call last):
File “core.c”, line 1793, in
File “core.c”, line 153, in
File “core.c”, line 38, in
File “/opt/acestream/lib/blist-1.3.4-py2.7-linux-x86_64.egg/blist.py”, line 1, in
File “/opt/acestream/lib/blist-1.3.4-py2.7-linux-x86_64.egg/_blist.py”, line 7, in
File “/opt/acestream/lib/blist-1.3.4-py2.7-linux-x86_64.egg/_blist.py”, line 3, in bootstrap
ImportError: No module named pkg_resources
2020-05-31 17:09:16,177|MainThread|acestream|error during startup
Traceback (most recent call last):
File “core.c”, line 1793, in
File “core.c”, line 153, in
File “core.c”, line 38, in
File “/opt/acestream/lib/blist-1.3.4-py2.7-linux-x86_64.egg/blist.py”, line 1, in
File “/opt/acestream/lib/blist-1.3.4-py2.7-linux-x86_64.egg/_blist.py”, line 7, in
File “/opt/acestream/lib/blist-1.3.4-py2.7-linux-x86_64.egg/_blist.py”, line 3, in bootstrap
ImportError: No module named pkg_resources
2020-05-31 17:09:31,198|MainThread|acestream|error during startup
Traceback (most recent call last):
File “core.c”, line 1793, in
File “core.c”, line 153, in
File “core.c”, line 38, in
File “/opt/acestream/lib/blist-1.3.4-py2.7-linux-x86_64.egg/blist.py”, line 1, in
File “/opt/acestream/lib/blist-1.3.4-py2.7-linux-x86_64.egg/_blist.py”, line 7, in
File “/opt/acestream/lib/blist-1.3.4-py2.7-linux-x86_64.egg/_blist.py”, line 3, in bootstrap
ImportError: No module named pkg_resources
2020-05-31 17:09:46,205|MainThread|acestream|error during startup
Traceback (most recent call last):
File “core.c”, line 1793, in
File “core.c”, line 153, in
File “core.c”, line 38, in
File “/opt/acestream/lib/blist-1.3.4-py2.7-linux-x86_64.egg/blist.py”, line 1, in
File “/opt/acestream/lib/blist-1.3.4-py2.7-linux-x86_64.egg/_blist.py”, line 7, in
File “/opt/acestream/lib/blist-1.3.4-py2.7-linux-x86_64.egg/_blist.py”, line 3, in bootstrap
ImportError: No module named pkg_resources
2020-05-31 17:10:01,187|MainThread|acestream|error during startup
Traceback (most recent call last):
File “core.c”, line 1793, in
File “core.c”, line 153, in
File “core.c”, line 38, in
File “/opt/acestream/lib/blist-1.3.4-py2.7-linux-x86_64.egg/blist.py”, line 1, in
File “/opt/acestream/lib/blist-1.3.4-py2.7-linux-x86_64.egg/_blist.py”, line 7, in
File “/opt/acestream/lib/blist-1.3.4-py2.7-linux-x86_64.egg/_blist.py”, line 3, in bootstrap
ImportError: No module named pkg_resources
2020-05-31 17:10:16,202|MainThread|acestream|error during startup
Traceback (most recent call last):
File “core.c”, line 1793, in
File “core.c”, line 153, in
File “core.c”, line 38, in
File “/opt/acestream/lib/blist-1.3.4-py2.7-linux-x86_64.egg/blist.py”, line 1, in
File “/opt/acestream/lib/blist-1.3.4-py2.7-linux-x86_64.egg/_blist.py”, line 7, in
File “/opt/acestream/lib/blist-1.3.4-py2.7-linux-x86_64.egg/_blist.py”, line 3, in bootstrap
ImportError: No module named pkg_resources
2020-05-31 17:10:31,197|MainThread|acestream|error during startup
Traceback (most recent call last):
File “core.c”, line 1793, in
File “core.c”, line 153, in
File “core.c”, line 38, in
File “/opt/acestream/lib/blist-1.3.4-py2.7-linux-x86_64.egg/blist.py”, line 1, in
File “/opt/acestream/lib/blist-1.3.4-py2.7-linux-x86_64.egg/_blist.py”, line 7, in
File “/opt/acestream/lib/blist-1.3.4-py2.7-linux-x86_64.egg/_blist.py”, line 3, in bootstrap
ImportError: No module named pkg_resources
2020-05-31 17:10:46,219|MainThread|acestream|error during startup
Traceback (most recent call last):
File “core.c”, line 1793, in
File “core.c”, line 153, in
File “core.c”, line 38, in
File “/opt/acestream/lib/blist-1.3.4-py2.7-linux-x86_64.egg/blist.py”, line 1, in
File “/opt/acestream/lib/blist-1.3.4-py2.7-linux-x86_64.egg/_blist.py”, line 7, in
File “/opt/acestream/lib/blist-1.3.4-py2.7-linux-x86_64.egg/_blist.py”, line 3, in bootstrap
ImportError: No module named pkg_resources
2020-05-31 17:11:01,239|MainThread|acestream|error during startup
Traceback (most recent call last):
File “core.c”, line 1793, in
File “core.c”, line 153, in
File “core.c”, line 38, in
File “/opt/acestream/lib/blist-1.3.4-py2.7-linux-x86_64.egg/blist.py”, line 1, in
File “/opt/acestream/lib/blist-1.3.4-py2.7-linux-x86_64.egg/_blist.py”, line 7, in
File “/opt/acestream/lib/blist-1.3.4-py2.7-linux-x86_64.egg/_blist.py”, line 3, in bootstrap
ImportError: No module named pkg_resources
2020-05-31 17:11:16,251|MainThread|acestream|error during startup
Traceback (most recent call last):
File “core.c”, line 1793, in
File “core.c”, line 153, in
File “core.c”, line 38, in
File “/opt/acestream/lib/blist-1.3.4-py2.7-linux-x86_64.egg/blist.py”, line 1, in
File “/opt/acestream/lib/blist-1.3.4-py2.7-linux-x86_64.egg/_blist.py”, line 7, in
File “/opt/acestream/lib/blist-1.3.4-py2.7-linux-x86_64.egg/_blist.py”, line 3, in bootstrap
ImportError: No module named pkg_resources
2020-05-31 17:11:31,272|MainThread|acestream|error during startup
Traceback (most recent call last):
File “core.c”, line 1793, in
File “core.c”, line 153, in
File “core.c”, line 38, in
File “/opt/acestream/lib/blist-1.3.4-py2.7-linux-x86_64.egg/blist.py”, line 1, in
File “/opt/acestream/lib/blist-1.3.4-py2.7-linux-x86_64.egg/_blist.py”, line 7, in
File “/opt/acestream/lib/blist-1.3.4-py2.7-linux-x86_64.egg/_blist.py”, line 3, in bootstrap
ImportError: No module named pkg_resources
2020-05-31 17:11:46,280|MainThread|acestream|error during startup
Traceback (most recent call last):
File “core.c”, line 1793, in
File “core.c”, line 153, in
File “core.c”, line 38, in
File “/opt/acestream/lib/blist-1.3.4-py2.7-linux-x86_64.egg/blist.py”, line 1, in
File “/opt/acestream/lib/blist-1.3.4-py2.7-linux-x86_64.egg/_blist.py”, line 7, in
File “/opt/acestream/lib/blist-1.3.4-py2.7-linux-x86_64.egg/_blist.py”, line 3, in bootstrap
ImportError: No module named pkg_resources
2020-05-31 17:12:01,292|MainThread|acestream|error during startup
Traceback (most recent call last):
File “core.c”, line 1793, in
File “core.c”, line 153, in
File “core.c”, line 38, in
File “/opt/acestream/lib/blist-1.3.4-py2.7-linux-x86_64.egg/blist.py”, line 1, in
File “/opt/acestream/lib/blist-1.3.4-py2.7-linux-x86_64.egg/_blist.py”, line 7, in
File “/opt/acestream/lib/blist-1.3.4-py2.7-linux-x86_64.egg/_blist.py”, line 3, in bootstrap
ImportError: No module named pkg_resources
2020-05-31 17:12:16,287|MainThread|acestream|error during startup
Traceback (most recent call last):
File “core.c”, line 1793, in
File “core.c”, line 153, in
File “core.c”, line 38, in
File “/opt/acestream/lib/blist-1.3.4-py2.7-linux-x86_64.egg/blist.py”, line 1, in
File “/opt/acestream/lib/blist-1.3.4-py2.7-linux-x86_64.egg/_blist.py”, line 7, in
File “/opt/acestream/lib/blist-1.3.4-py2.7-linux-x86_64.egg/_blist.py”, line 3, in bootstrap
ImportError: No module named pkg_resources

А в чем противоречие? Понятно, что не “але” - нами еще не собиралась версия для установки “в один клик” для систем без Python2.
Если раньше нужно было руками устанавливать Python3 и доп софт под него, то счас наоборот - если кому сильно чешется, то для той же бубунты нужно самостоятельно:

  1. установить Python2 (apt install python2.7 libpython2.7)
  2. установить PIP для него (используя, например, скрипт с https://bootstrap.pypa.io/get-pip.py) => python2 get-pip.py
  3. установить resources (pip install resources)
  4. установить apsw и net-tools (apt install python-apsw net-tools)
    В результате для “acestream_3.1.49_ubuntu_18.04_x86_64.tar.gz” получим что-то такое:

у вас движок стоит на машине где online banking?:yawning_face::yawning_face::yawning_face:

изолировыных песочниц полно, в чём проблема то…

Законопослушному гражданину скрывать нечего. Так об этом пишут газеты.

В перепаковке по уму и в размере итогового бандла. Значительно легче, когда в современных дистрибутивах софт заводится без свистоплясок с устаревшим рантаймом.

Спасибо за наколку!
Всё заработало!