Flatpak install on Ubuntu 16.04 does not work
Cannot install gajim >0.16.9 under Ubuntu 16.04, not even with flatpak
Versions
- OS: Ubuntu 16.04
- Gajim version: 1.03
- GTK version: 3.18
- Python-nbxmpp version: 0.6.6-1
Steps to reproduce the problem
- configure flatpak as described here: https://flatpak.org/setup/Ubuntu/
- flatpak install flathub org.gajim.Gajim
- flatpak run org.gajim.Gajim
Expected behavior
open application window
Actual behavior
Traceback (most recent call last):
File "/usr/lib/python3.5/site-packages/setuptools-22.0.5-py3.5.egg/pkg_resources/__init__.py", line 635, in _build_master
File "/usr/lib/python3.5/site-packages/setuptools-22.0.5-py3.5.egg/pkg_resources/__init__.py", line 943, in require
File "/usr/lib/python3.5/site-packages/setuptools-22.0.5-py3.5.egg/pkg_resources/__init__.py", line 834, in resolve
pkg_resources.ContextualVersionConflict: (cryptography 2.1.4 (/app/lib/python3.5/site-packages/cryptography-2.1.4-py3.5-linux-x86_64.egg), Requirement.parse('cryptography>=2.2.1'), {'pyOpenSSL'})
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/app/bin/gajim", line 5, in <module>
from pkg_resources import load_entry_point
File "<frozen importlib._bootstrap>", line 969, in _find_and_load
File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 664, in _load_unlocked
File "<frozen importlib._bootstrap>", line 634, in _load_backward_compatible
File "/usr/l ib/python3.5/site-packages/setuptools-22.0.5-py3.5.egg/pkg_resources/__init__.py", line 2927, in <module>
File "/usr/lib/python3.5/site-packages/setuptools-22.0.5-py3.5.egg/pkg_resources/__init__.py", line 2913, in _call_aside
File "/usr/lib/python3.5/site-packages/setuptools-22.0.5-py3.5.egg/pkg_resources/__init__.py", line 2940, in _initialize_master_working_set
File "/usr/lib/python3.5/site-packages/setuptools-22.0.5-py3.5.egg/pkg_resources/__init__.py", line 637, in _build_master
File "/usr/lib/python3.5/site-packages/setuptools-22.0.5-py3.5.egg/pkg_resources/__init__.py", line 650, in _build_from_requirements
File "/usr/lib/python3.5/site-packages/setuptools-22.0.5-py3.5.egg/pkg_resources/__init__.py", line 829, in resolve
pkg_resources.DistributionNotFound: The 'cryptography>=2.2.1' distribution was not found and is required by pyOpenSSL
Same happens when trying to follow official gajim guide: https://dev.gajim.org/gajim/gajim/tree/master/flatpak