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?
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 onhttps://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 usingcp
command it works fine - If I package it (usinginstall
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.