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 .. 3 4 5 6 7 8 9 10 11 12 13 .. 22 Next › Last »

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

ImperatorStorm commented on 2024-05-06 23:19 (UTC)

As of 4.3.1-1, this package dumps version.py and versions.yaml in /usr.

theone77 commented on 2024-05-03 15:55 (UTC)

Arch Linux, kde plasma 6, /usr/share/applications/protonvpn.desktop is were I copied the shortcut from. Just trying to help new users of Linux. That all.

ali.molaei commented on 2024-05-03 13:59 (UTC)

@theone77 It does install a .desktop file, what DE/WM are you using that is not detecting that? You should have a /usr/share/applications/protonvpn.desktop

theone77 commented on 2024-05-01 15:39 (UTC)

Does not make a desktop shortcut for this application automatically. So made it myself. Thank you for your work.