As of installing, after the liberty command it Tilix comes back with this:
Traceback (most recent call last):
File “./.local/bin/liberty”, line 6, in
from scripts.liberty import cli
File “/home/szeshu/.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/szeshu/.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/szeshu/.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
Hmm, so, there’s a Python script looking for a particular version of NM (and since the Python script is setting up the VPN tunnel, this NM likely stands for “Network Manager”), but the gi package that is requiring NM is associated with Python access to the GTK library.
Given that you are using Kubuntu (and the KDE desktop environment), which is primarily Qt-based, rather than GTK-based, I think you are missing something that GNOME would otherwise provide.
Not sure what the best solution is here. We can ping @jeremiah and @joao.azevedo and see what they say.
Yes I followed those steps and all responded az expected, than the final step of command the: ./.local/bin/liberty tunnel-setup
When it happaned and I got stuck
Tried with Pop_OS (Middle of distro hopping, not sure if that’s a right approach :-/ ) now it returns with this:
File “./.local/bin/liberty”, line 10, in
sys.exit(cli())
File “/home/rodnas/.local/pipx/venvs/ldh-client/lib/python3.7/site-packages/click/core.py”, line 764, in call
return self.main(*args, **kwargs)
File “/home/rodnas/.local/pipx/venvs/ldh-client/lib/python3.7/site-packages/click/core.py”, line 717, in main
rv = self.invoke(ctx)
File “/home/rodnas/.local/pipx/venvs/ldh-client/lib/python3.7/site-packages/click/core.py”, line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/home/rodnas/.local/pipx/venvs/ldh-client/lib/python3.7/site-packages/click/core.py”, line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/home/rodnas/.local/pipx/venvs/ldh-client/lib/python3.7/site-packages/click/core.py”, line 555, in invoke
return callback(*args, **kwargs)
File “/home/rodnas/.local/pipx/venvs/ldh-client/lib/python3.7/site-packages/scripts/liberty.py”, line 19, in tunnel_setup
nm_tunnel_setup()
File “/home/rodnas/.local/pipx/venvs/ldh-client/lib/python3.7/site-packages/scripts/nm_tunnel_setup.py”, line 70, in nm_tunnel_setup
‘org.freedesktop.NetworkManager.openvpn’)
gi.repository.GLib.Error: nm-vpn-plugin-error-quark: cannot load plugin “/usr/lib/x86_64-linux-gnu/NetworkManager/libnm-vpn-plugin-openvpn.so”: /usr/lib/x86_64-linux-gnu/NetworkManager/libnm-vpn-plugin-openvpn.so: cannot open shared object file: No such file or directory (0)