Package Details: proton-vpn-gtk-app 4.3.0-3

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: 30
Popularity: 4.33
First Submitted: 2023-11-01 12:41 (UTC)
Last Updated: 2024-04-16 07:10 (UTC)

Pinned Comments

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. ;)

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

1 2 3 4 5 6 .. 13 Next › Last »

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?

melioratio commented on 2024-04-27 19:10 (UTC)

@Musikolo It was / is already installed. (5.1.0-2)

FWIW, IDK if this matters, but along with Python 3.12, a ton of other Python packages were updated but this was not one of them.

There is a python-importlib_resources packages that is not installed. Again, IDK if that matters.

Musikolo commented on 2024-04-27 18:23 (UTC)

@melioratio, my guess is that the python-importlib-metadata package is needed. Please install it to see if that works. In such a case, it should be added as dependency to the PKGBUILD file.

I hope it works!

Regards.

melioratio commented on 2024-04-27 18:14 (UTC)

Updated to python 3.12 just now and it busted PVPN, I'm guessing because it's still looking for 3.11.

protonvpn-app Traceback (most recent call last): File "/usr/lib/python3.12/importlib/metadata/init.py", line 397, in from_name return next(cls.discover(name=name)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ StopIteration

During handling of the above exception, another exception occurred:

Traceback (most recent call last): 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')()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/bin/protonvpn-app", line 22, in importlib_load_entry_point for entry_point in distribution(dist_name).entry_points ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/importlib/metadata/init.py", line 862, in distribution return Distribution.from_name(distribution_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/importlib/metadata/init.py", line 399, in from_name raise PackageNotFoundError(name) importlib.metadata.PackageNotFoundError: No package metadata was found for proton-vpn-gtk-app

XxTriviumxX commented on 2024-04-27 15:11 (UTC) (edited on 2024-04-27 15:14 (UTC) by XxTriviumxX)

i had the same problem but i resolved it. i had killswitch enabled so that caused an additional issue. i had to let it enabled and open protonvpn.

5hayanB commented on 2024-04-24 17:54 (UTC)

Sorry, looks like paru was only updating the proton-vpn-gtk-app package and not its dependencies. Clearing the cache and reinstalling the app worked.

ali.molaei commented on 2024-04-24 07:17 (UTC)

@5hayanB How are you installing/updating your packages? Shouldn't the logger package be installed/updated automatically? You need to update all the dependencies of this package to fix the issues you are facing I think