Package Details: proton-vpn-gtk-app 4.3.2-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: 43
Popularity: 11.37
First Submitted: 2023-11-01 12:41 (UTC)
Last Updated: 2024-05-24 16:47 (UTC)

Pinned Comments

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 .. 15 Next › Last »

Whizz_Bird commented on 2024-05-31 14:40 (UTC)

If any of y'all are having problems with disabling "advanced kill switch" after uninstalling the program because you forgot to turn it off before removing the program, you can regain access to the internet by disabling the "pvpn-killswitch-perm" using nmcli (or do it graphically from the settings app if you are on KDE)

Alternatively, you can edit /home/.config/Proton/VPN/settings.json to say "killswitch": 0

marvhus commented on 2024-05-30 18:19 (UTC) (edited on 2024-05-30 18:20 (UTC) by marvhus)

I have looked through some of the comments here and have tried some of the mentioned fixes like clearing the cache, manually installing the python-proton-* dependencies, etc, but none of them seam to work.

When I try to run protonvpn-app I get this 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.2', 'console_scripts', 'protonvpn-app')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/bin/protonvpn-app", line 25, in importlib_load_entry_point
    return next(matches).load()
           ^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/importlib/metadata/__init__.py", line 205, in load
    module = import_module(match.group('module'))
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1310, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1310, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1310, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1324, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'proton.vpn'

sabreman commented on 2024-05-25 12:14 (UTC) (edited on 2024-05-25 12:17 (UTC) by sabreman)

So sometimes I to ge the crash on launch, but fiddling with it (starting either from KDE directly or from the terminal) will eventually start the app.

However, any time I try to connect to any server I get the following error and the connection process hangs with "something unexpected happened"

2024-05-25T12:11:35.439505 | proton.vpn.core.connection:160 | INFO | CONN.CONNECT:START | Server: US-GA#120 / Domain: node-us-121.protonvpn.net / IP: 45.134.140.33 / OpenVPN Ports: ProtocolPorts(udp=[80, 51820, 4569, 1194, 5060], tcp=[443, 7770, 8443]) / WireGuard Ports: ProtocolPorts(udp=[443, 88, 1224, 51820, 500, 4500], tcp=[443]) / Protocol: openvpn-udp / Backend: None
2024-05-25T12:11:35.458974 | proton.vpn.connection.vpnconnector:238 | INFO | CONN:STATE_CHANGED | Connecting
2024-05-25T12:11:40.465317 | proton.vpn.app.gtk.widgets.main.exception_handler:175 | CRITICAL | APP:CRASH | Unexpected error.
Traceback (most recent call last):
  File "/usr/lib/python3.12/concurrent/futures/_base.py", line 449, in result
    return self.__get_result()
           ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/concurrent/futures/_base.py", line 401, in __get_result
    raise self._exception
TimeoutError

gnlrdrvo commented on 2024-05-24 08:39 (UTC)

python-proton-vpn-session package is no longer needed and obsoleted after this commit.

Aznorth commented on 2024-05-20 21:51 (UTC)

The software crashes on launch. I tried to clear yay cache and all (-Rcnssu as mentioned below), then rebuild the package, but nothing changes.

➜  ~ 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.1', 'console_scripts', 'protonvpn-app')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/proton/vpn/app/gtk/__main__.py", line 34, in main
    controller = Controller.get(executor)
                 ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/proton/vpn/app/gtk/controller.py", line 59, 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 401, in __get_result
    raise self._exception
  File "/usr/lib/python3.12/site-packages/proton/vpn/app/gtk/controller.py", line 99, 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()
               ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/proton/vpn/core/api.py", line 66, in load_settings
    user_tier = self._session_holder.session.vpn_account.max_tier
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'max_tier`

Bicyforecastle commented on 2024-05-16 04:37 (UTC)

Thank you folks, finally figured it out with your help.

I think the problem is that I was removing packages through pacman but installing them through paru -- meaning that the paru cache wasn't getting cleaned out. Make sure you run paru -Sc (or sim. for your AUR wrapper of choice) to clear the AUR cache as well.

m.dango commented on 2024-05-15 14:51 (UTC)

I also had the ImportError issue stated below. I resolved it by removing this package and all its dependencies: yay -Rcnssu proton-vpn-gtk-app (check the flags used for yourself, some of these may be unnecessary in this instance).

I then did a clean build when reinstalling.

rohtie commented on 2024-05-14 20:21 (UTC)

I had the same issue as @Bicyforecastle, but managed to get it work after installing all the python-proton packages listed in the dependencies here manually.

Bicyforecastle commented on 2024-05-14 04:01 (UTC)

Like other users below, still getting "cannot import name" errors when I try to run the app. I tried uninstalling all proton packages, clearing the cache with paccache -ruk0, and re-installing each proton package from paru individually. Does anyone have tips on what I might be doing wrong? Here's the traceback:

$ protonvpn-app                                                                                                                                                                                   [tomhenry@egret]
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.1', 'console_scripts', 'protonvpn-app')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/bin/protonvpn-app", line 25, in importlib_load_entry_point
    return next(matches).load()
           ^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/importlib/metadata/__init__.py", line 205, in load
    module = import_module(match.group('module'))
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1310, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 995, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/usr/lib/python3.12/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)

ali.molaei commented on 2024-05-07 09:48 (UTC)

@ImperatorStorm Thanks for noticing, I've removed them for now, but I think this should be fixed upstream as setup.py is picking them by mistake I think and installing them