Package Details: proton-vpn-gtk-app 4.7.4-2

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: 85
Popularity: 9.85
First Submitted: 2023-11-01 12:41 (UTC)
Last Updated: 2024-11-14 16:19 (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 .. 3 4 5 6 7 8 9 10 11 12 13 .. 20 Next › Last »

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

5hayanB commented on 2024-04-24 06:57 (UTC)

Thank you @Musikolo. I updated python-proton-vpn-logger and now getting a new error.

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 25, in importlib_load_entry_point
    return next(matches).load()
           ^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/importlib/metadata/__init__.py", line 202, in load
    module = import_module(match.group('module'))
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1126, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/usr/lib/python3.11/site-packages/proton/vpn/app/gtk/__init__.py", line 33, in <module>
    from proton.vpn import logging  # pylint: disable=C0413 # noqa: E402
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/proton/vpn/logging/__init__.py", line 26, in <module>
    from proton.utils.environment import VPNExecutionEnvironment
ModuleNotFoundError: No module named 'proton.utils'

Musikolo commented on 2024-04-23 02:53 (UTC)

@5hayanB, it looks like you don't have the python-proton-vpn-logger dependency installed. Please make sure you have all the dependencies up-to-date too.

I hope it helps!

Regards.

5hayanB commented on 2024-04-22 21:48 (UTC)

Getting the following error when running protonvpn-app.

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 25, in importlib_load_entry_point
    return next(matches).load()
           ^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/importlib/metadata/__init__.py", line 202, in load
    module = import_module(match.group('module'))
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1126, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/usr/lib/python3.11/site-packages/proton/vpn/app/gtk/__init__.py", line 33, in <module>
    from proton.vpn import logging  # pylint: disable=C0413 # noqa: E402
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ImportError: cannot import name 'logging' from 'proton.vpn' (unknown location)