Package Details: proton-vpn-gtk-app 4.8.1-1

Git Clone URL: https://aur.archlinux.org/proton-vpn-gtk-app.git (read-only, click to copy)
Package Base: proton-vpn-gtk-app
Description: ProtonVPN GTK app, Maintained by Community
Upstream URL: https://github.com/ProtonVPN/proton-vpn-gtk-app
Keywords: protonvpn
Licenses: GPL3
Groups: ProtonVPN
Conflicts: protonvpn-gui, python-proton-client
Submitter: ali.molaei
Maintainer: ali.molaei
Last Packager: ali.molaei
Votes: 89
Popularity: 8.78
First Submitted: 2023-11-01 12:41 (UTC)
Last Updated: 2024-12-06 14:44 (UTC)

Pinned Comments

ali.molaei commented on 2024-11-14 16:25 (UTC)

I've added https://aur.archlinux.org/packages/python-proton-vpn-local-agent-bin as optional dependency, I worked on https://aur.archlinux.org/packages/python-proton-vpn-local-agent a bit to build it from source, but I have a weird issue with it so I'm not depending this package on that by default for now.

For those who know a bit about rust packaging, the issue with building from source for me is: - If I copy the build so file using cp command it works fine - If I package it (using install in PKGBUILD) and put the file there by installing the package using pacman, It doesn't work! although the files have the same checksum.

I have no idea why is that and am open to any help on https://aur.archlinux.org/packages/python-proton-vpn-local-agent package

stickyhands commented on 2024-02-09 23:53 (UTC) (edited on 2024-02-09 23:53 (UTC) by stickyhands)

@shoryuken thank you, that worked!

@ali.molaei I'm not sure of technicalities of dependencies, but if you cannot force network-manager-applet as a dependency I think you should at least pin some comment explaining that getting it might fix issues. As it stands I accidentally found the solution at other package page https://aur.archlinux.org/packages/protonvpn-cli#comment-951908, and only since it's the newest one.

Latest Comments

« First ‹ Previous 1 .. 4 5 6 7 8 9 10 11 12 13 14 .. 22 Next › Last »

danievdm commented on 2024-05-01 09:06 (UTC)

In my particular case it seemed to be a clash actually with Gnome keyring - I posted what solved mine below my issue.

ali.molaei commented on 2024-04-30 17:56 (UTC)

I've removed checksums for git as it seems pamac (and maybe other helpers except for paru) have problems with it (I've got some reports via email as well as @danievdm here)

@674834 I don't know what your problem is caused by, is anybody else have the same problem?

danievdm commented on 2024-04-30 16:58 (UTC) (edited on 2024-04-30 18:01 (UTC) by danievdm)

With latest update, I started getting this error. I tried removing the app first and cleaning caches, but still gives the error when trying to build:

Building python-proton-keyring-linux...
==> Making package: python-proton-keyring-linux 0.0.2-2 (Tue 30 Apr 2024 18:51:54)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Cloning python-proton-keyring-linux git repo...
Cloning into bare repository '/var/tmp/pamac-build-danie/python-proton-keyring-linux/python-proton-keyring-linux'...
remote: Enumerating objects: 131, done.
remote: Counting objects: 100% (131/131), done.
remote: Compressing objects: 100% (70/70), done.
remote: Total 131 (delta 48), reused 122 (delta 39), pack-reused 0
Receiving objects: 100% (131/131), 36.76 KiB | 1.60 MiB/s, done.
Resolving deltas: 100% (48/48), done.
==> Validating source files with sha256sums...
    python-proton-keyring-linux ... NOT FOUND
==> ERROR: One or more files did not pass the validity check!
Error: Failed to build python-proton-keyring-linux

SOLUTION: Seems some conflict with gnome-keyring running in background so this solved teh above issue:

sudo chmod -x /usr/bin/gnome-keyring-daemon
sudo killall gnome-keyring-daemon

674834 commented on 2024-04-30 16:27 (UTC) (edited on 2024-04-30 16:48 (UTC) by 674834)

Getting the following error:

File "/usr/bin/protonvpn-app", line 33, in <module> sys.exit(load_entry point( ‘proton-vpn-gtk-app==4.3.0", ‘console_scripts', ‘protonvpn-app' )()

-py", line 34, in main

File "/usr/lib/python3.12/site-packages/proton/vpn/app/gtk/__main. controller = Controller. get(executor)

File “/usr/lib/python3.12/site-packages/proton/vpn/app/gtk/controller.py", line 57, in get executor. submit( controller. initialize_vpn_connector).result()

File "/usr/lib/python3.12/concurrent/futures/_base.py", line 456, in result return self.__get_result()

File "/usr/lib/python3.12/concurrent/futures/_base.py”, line 4 raise self._exception

File "/usr/lib/python3. 12/site-packages/proton/vpn/app/gtk/controller.py", line 97, in initialize_vpn_connector: self._connector = await self._api.get_vpn_connector()

File “/usr/lib/python3.12/site-packages/proton/vpn/core/api.py", line 55, in get_vpn_connector settings = await self.load_settings()

» in __get_result

File “/usr/lib/python3.12/site-packages/proton/vpn/core/api.py”, line 65, in load_settings

if self. _session_holder. session. logged_in:

File “/usr/lib/python3.12/site-packages/proton/vpn/core/session.py", line 73, in session self._session = self._proton_sso.get_default_session(

File “/usr/lib/python3.12/site-packages/proton/sso/sso.py", line 198, in get_default_session return self.get_session(account_name, override_class)

File “/usr/lib/python3.12/site-packages/proton/sso/sso.py", line 167, in get_session session = override _class(self._appversion, self._user_agent)

File "/usr/lib/python3.12/site-packages/proton/vpn/session/session.py”, line 74, in init super().__init_(targs, **kwargs)

File “/usr/lib/python3.12/site-packages/proton/session/api.py", line 107, in init self.transport_factory = None

File “/usr/lib/python3.12/site-packages/proton/session/api.py”, line 474, in transport_factory from .transports import TransportFactory

File “/usr/lib/python3.12/site-packages/proton/session/transports/init.py", line 20, in <module> from .aiohttp import AiohttpTransport

File "/usr/lib/python3.12/site-packages/proton/session/transports/aiohttp.py", line 27, in <module> from OpenSSL import crypto

File "/usr/lib/python3.12/site-packages/OpenSSL/init.py", line 8, in <module> from OpenSSL import SSL, crypto

File “/usr/lib/python3.12/site-packages/OpenSSL/SSL.py", line 34, in <module> from OpenSSL.crypto import (

File “/usr/lib/python3.12/site-packages/OpenSSL/crypto.py", line 945, in <module> utils. deprecated

TypeError: deprecated() got an unexpected keyword argument 'name'

Edit: resolved by reinstalling OpenSSL library. Leaving comment for posterity.

traibr commented on 2024-04-28 15:39 (UTC)

UPDATE: follow-up to my previous comment... Dependence was not needed; older installation, can't remember version number sorry!

python-shiboken2

traibr commented on 2024-04-28 15:28 (UTC)

Just heads up, tried all cache removals, via

https://wiki.archlinux.org/title/pacman/Tips_and_tricks & https://wiki.archlinux.org/title/pacman

I had to manually remove these dependencies from the system & re-install them from scratch; this after the full cache clean-up.

python-proton-core python-proton-keyring-linux python-proton-keyring-linux-secretservice python-proton-vpn-api-core python-proton-vpn-connection python-proton-vpn-killswitch python-proton-vpn-killswitch-network-manager python-proton-vpn-logger python-proton-vpn-network-manager python-proton-vpn-network-manager-openvpn python-proton-vpn-session python-shiboken2

Probably missed a step here or there, but hope it helps. Working now!

cherkaba commented on 2024-04-28 12:10 (UTC)

@pathief thanks the tricks works

pathief commented on 2024-04-28 11:56 (UTC)

@cherkaba I had the same problem. I uninstalled everything with yay -Rs proton-vpn-gtk-app and re-installed it again with clean build and it worked.

I tried installing the python-proton-vpn-logger and python-importlib-metadata, which didn't do anything by themselves but might have have impacted something after re-installing everything with clean build.

ali.molaei commented on 2024-04-27 23:04 (UTC)

After updating to python 3.12 you'll need to rebuild all the packages again so it opens again, If you are in hurry, try cleaning paru/yay cache or do a cleanbuild yourself, But I'll publish at least a -2 update for all the packages so everyone is building them again automatically, and I'll try to apply the changes suggested to the PKGBUILDs as well. ;)

cherkaba commented on 2024-04-27 21:46 (UTC) (edited on 2024-04-27 21:54 (UTC) by cherkaba)

after system update i am not able to build anymore proton-vpn-gtk-app without:

23:27:51 protonvpn-app: importlib.metadata.PackageNotFoundError: No package metadata was found for proton-vpn-gtk-app
23:27:51 protonvpn-app:     raise PackageNotFoundError(name)
23:27:51 protonvpn-app:   File "/usr/lib/python3.12/importlib/metadata/__init__.py", line 399, in from_name
23:27:51 protonvpn-app:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
23:27:51 protonvpn-app:     return Distribution.from_name(distribution_name)
23:27:51 protonvpn-app:   File "/usr/lib/python3.12/importlib/metadata/__init__.py", line 862, in distribution
23:27:51 protonvpn-app:                        ^^^^^^^^^^^^^^^^^^^^^^^
23:27:51 protonvpn-app:     for entry_point in distribution(dist_name).entry_points
23:27:51 protonvpn-app:   File "/usr/bin/protonvpn-app", line 22, in importlib_load_entry_point
23:27:51 protonvpn-app:              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
23:27:51 protonvpn-app:     sys.exit(load_entry_point('proton-vpn-gtk-app==4.3.0', 'console_scripts', 'protonvpn-app')())
23:27:51 protonvpn-app:   File "/usr/bin/protonvpn-app", line 33, in <module>
23:27:51 protonvpn-app: Traceback (most recent call last):
23:27:51 protonvpn-app: During handling of the above exception, another exception occurred:
23:27:51 protonvpn-app: StopIteration
23:27:51 protonvpn-app:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
23:27:51 protonvpn-app:     return next(cls.discover(name=name))
23:27:51 protonvpn-app:   File "/usr/lib/python3.12/importlib/metadata/__init__.py", line 397, in from_name
23:27:51 protonvpn-app: Traceback (most recent call last):
23:20:34 systemd: app-protonvpn@autostart.service: Failed with result 'exit-code'.
23:20:34 protonvpn-app: importlib.metadata.PackageNotFoundError: No package metadata was found for proton-vpn-gtk-app

@Musikolo is not an issue with python-importlib-metadata pkg coze it has already been installed since the 1st install!!

'' I hope it works! ''

do you have any solutions?