Problem with "liberty tunnel-setup"


#1

Hello !

I’m using ubuntu-mate 19.04 and i try to install Librem One Tunnel.
When i run “liberty tunnel-setup”, i’ve got some error messages and the process stop :

Traceback (most recent call last):
File “/home/francis/.local/bin/liberty”, line 6, in
from scripts.liberty import cli
File “/home/francis/.local/pipx/venvs/ldh-client/lib/python3.7/site-packages/scripts/liberty.py”, line 2, in
from scripts.nm_tunnel_setup import nm_tunnel_setup
File “/home/francis/.local/pipx/venvs/ldh-client/lib/python3.7/site-packages/scripts/nm_tunnel_setup.py”, line 17, in
gi.require_version(‘NM’, ‘1.0’)
File “/home/francis/.local/pipx/venvs/ldh-client/lib/python3.7/site-packages/gi/init.py”, line 129, in require_version
raise ValueError(‘Namespace %s not available’ % namespace)
ValueError: Namespace NM not available

If someone can help me to setup Librem One Tunnel (i’ve already configured it on my phone and it runs well…)

Thanks


#2

This error happens if a distribution does not have: gir1.2-nm-1.0 installed.

Please install gir1.2-nm-1.0 from the command line with:
sudo apt install gir1.2-nm-1.0

Also make sure you also have the following packages installed: network-manager-openvpn-gnome and network-manager-openvpn

After that try to run Tunnel again.


#3

Done.

It seems to work now.

Many thanks Joao !