Package Details: python-protonvpn-nm-lib 3.14.0-1

Git Clone URL: https://aur.archlinux.org/python-protonvpn-nm-lib.git (read-only, click to copy)
Package Base: python-protonvpn-nm-lib
Description: Official ProtonVPN NetworkManager Library, maintained by the ProtonVPN team.
Upstream URL: https://github.com/ProtonVPN
Licenses: GPL3
Conflicts: protonvpn-cli, protonvpn-gui
Submitter: protontechag
Maintainer: protontechag (calexandru2018, jllaneras)
Last Packager: calexandru2018
Votes: 30
Popularity: 1.79
First Submitted: 2021-05-28 15:51 (UTC)
Last Updated: 2022-11-02 12:50 (UTC)

Pinned Comments

XxTriviumxX commented on 2022-05-25 17:08 (UTC) (edited on 2022-05-28 13:01 (UTC) by XxTriviumxX)

a solution was found by the user theoldfellow here:

https://aur.archlinux.org/packages/protonvpn-cli

solution for paru users:

paru -R protonvpn
paru -R protonvpn-gui
paru -R protonvpn-cli
paru -S protonvpn

Latest Comments

1 2 3 Next › Last »

jsimon0 commented on 2022-12-06 14:23 (UTC) (edited on 2022-12-06 19:12 (UTC) by jsimon0)

ETA: Fixed by blowing away cache and config directories, uninstalling and reinstalling, then logging in from shell with protonvpn-cli login <user>

Anybody else having trouble signing in? I"m getting this in the log:

2022-12-06 14:21:18,693 — utilities.py — INFO — ensure_internet_connection_is_available:20 — Checking for internet connectivity
2022-12-06 14:21:18,883 — linuxkeyring.py — INFO — __delitem__:52 — Delete key UserData
2022-12-06 14:21:18,885 — linuxkeyring.py — ERROR — __delitem__:67 — KeyringDataNotFound: Password not found
Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/protonvpn_nm_lib/core/keyring/linuxkeyring.py", line 58, in __delitem__
    self.__keyring_backend.delete_password(self.__keyring_service, key)
  File "/usr/lib/python3.10/site-packages/keyring/backends/kwallet.py", line 151, in delete_password
    raise PasswordDeleteError("Password not found")
keyring.errors.PasswordDeleteError: Password not found
2022-12-06 14:21:18,885 — linuxkeyring.py — INFO — __delitem__:52 — Delete key SessionData
2022-12-06 14:21:18,887 — linuxkeyring.py — ERROR — __delitem__:67 — KeyringDataNotFound: Password not found
Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/protonvpn_nm_lib/core/keyring/linuxkeyring.py", line 58, in __delitem__
    self.__keyring_backend.delete_password(self.__keyring_service, key)
  File "/usr/lib/python3.10/site-packages/keyring/backends/kwallet.py", line 151, in delete_password
    raise PasswordDeleteError("Password not found")
keyring.errors.PasswordDeleteError: Password not found
2022-12-06 14:21:18,887 — linuxkeyring.py — INFO — __delitem__:52 — Delete key ProtonUser
2022-12-06 14:21:18,888 — linuxkeyring.py — ERROR — __delitem__:67 — KeyringDataNotFound: Password not found
Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/protonvpn_nm_lib/core/keyring/linuxkeyring.py", line 58, in __delitem__
    self.__keyring_backend.delete_password(self.__keyring_service, key)
  File "/usr/lib/python3.10/site-packages/keyring/backends/kwallet.py", line 151, in delete_password
    raise PasswordDeleteError("Password not found")
keyring.errors.PasswordDeleteError: Password not found
2022-12-06 14:21:18,888 — session.py — INFO — logout:368 — Cleared keyring session
2022-12-06 14:21:18,888 — session.py — INFO — logout:376 — Cleared user data
2022-12-06 14:21:18,889 — session.py — INFO — logout:379 — Cleared local cache variables
2022-12-06 14:21:18,889 — session.py — INFO — logout:384 — Attempting to logout via API
2022-12-06 14:21:18,889 — session.py — INFO — logout:391 — Remove cache files

rokam commented on 2022-11-15 10:35 (UTC)

Traceback (most recent call last):
  File "/home/oooo/.cache/yay/python-protonvpn-nm-lib/src/protonvpn-nm-lib-3.14.0/setup.py", line 5, in <module>
    from protonvpn_nm_lib.constants import APP_VERSION
  File "/home/oooo/.cache/yay/python-protonvpn-nm-lib/src/protonvpn-nm-lib-3.14.0/protonvpn_nm_lib/constants.py", line 8, in <module>
    from xdg import BaseDirectory
ImportError: cannot import name 'BaseDirectory' from 'xdg' (/home/oooo/.local/lib/python3.10/site-packages/xdg/__init__.py)

morealaz commented on 2022-10-08 08:38 (UTC)

Please rename source line to rename downloaded source file to include pkgname and pkgver in its name:

source=("${pkgname}-${pkgver}.tar.gz::https://github.com/ProtonVPN/protonvpn-nm-lib/archive/refs/tags/$pkgver.tar.gz")

10b2 commented on 2022-09-17 07:26 (UTC)

The current source package contains linux-cli package instead of the nm-lib package.

PKGBUILD: line 20: cd: protonvpn-nm-lib-3.13.0: No such file or directory

Wires got crossed somewhere. maybe automation.

iyanmv commented on 2022-05-27 15:00 (UTC)

I just sent you an email, but I write it here as well.

Please, consider removing the conflict array. I think it doesn't make sense to include both the version requirements in the depend arrays of protonvpn-gui and protonvpn-cli, and the conflict array here as well.

calexandru2018 commented on 2022-05-26 08:22 (UTC) (edited on 2022-05-26 08:22 (UTC) by calexandru2018)

@Benato12 if you look closely at the previous and current PKGBUILD both require different minimum versions of the CLI and GUI, otherwise the clients would not work due to compatibility issues.

Benato12 commented on 2022-05-25 23:36 (UTC)

@XxTriviumxX I can confirm that solution works for me as well, but that doesn't really explain why this package is listed as conflicting with protonvpn-gui and protonvpn-cli when those packages require this one as a dependency. Thanks for the help anyway!

XxTriviumxX commented on 2022-05-25 17:08 (UTC) (edited on 2022-05-28 13:01 (UTC) by XxTriviumxX)

a solution was found by the user theoldfellow here:

https://aur.archlinux.org/packages/protonvpn-cli

solution for paru users:

paru -R protonvpn
paru -R protonvpn-gui
paru -R protonvpn-cli
paru -S protonvpn

XxTriviumxX commented on 2022-05-25 16:04 (UTC) (edited on 2022-05-25 16:14 (UTC) by XxTriviumxX)

i have the exact same issue as Benato12. protonvpn is broken right now, i cant connect with the cli or the gui. probably because of their massive protonmail/protonvpn service upgrades/changes that occured today.

my paru output when i was updating my system:

:: python-protonvpn-nm-lib and protonvpn-cli are in conflict. Remove protonvpn-cli? [y/N] 
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: python-protonvpn-nm-lib and protonvpn-cli are in conflict (protonvpn-cli<3.12.0)
loading packages...
resolving dependencies...
looking for conflicting packages...
:: python-protonvpn-nm-lib and protonvpn-cli are in conflict. Remove protonvpn-cli? [y/N] 
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: python-protonvpn-nm-lib and protonvpn-cli are in conflict (protonvpn-cli<3.12.0)
error: packages failed to build: protonvpn-cli-3.12.0-2  protonvpn-gui-1.9.0-2

Benato12 commented on 2022-05-25 15:53 (UTC)

Maybe I'm missing something here, but I'm a little confused about how this package can conflict with the protonvpn-cli and protonvpn-gui packages, yet both of those packages require python-protonvpn-nm-lib (this package) as a dependency. Wouldn't that mean that the two can't be installed together, but they both need to be installed for protonvpn-gui to function? Can someone clarify for me please?