You are not logged in.
About a week ago I ran into the following issue upon launching protonvpn-app:
$ 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.9.3', 'console_scripts', 'protonvpn-app')())
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/bin/protonvpn-app", line 25, in importlib_load_entry_point
return next(matches).load()
~~~~~~~~~~~~~~~~~~^^
File "/usr/lib/python3.13/importlib/metadata/__init__.py", line 179, in load
module = import_module(match.group('module'))
File "/usr/lib/python3.13/importlib/__init__.py", line 88, 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 1026, in exec_module
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File "/usr/lib/python3.13/site-packages/proton/vpn/app/gtk/__init__.py", line 31, in <module>
gi.require_version("Notify", "0.7")
~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/site-packages/gi/__init__.py", line 122, in require_version
raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace Notify not available
In case you need it:
$ pacman -Qi python-gobject
Name : python-gobject
Version : 3.50.0-2
Description : Python bindings for GLib/GObject/GIO/GTK
Architecture : x86_64
URL : https://pygobject.gnome.org/
Licenses : LGPL-2.1-or-later
Groups : None
Provides : pygobject-devel=3.50.0
Depends On : glib2 glibc gobject-introspection-runtime libffi libgirepository python
Optional Deps : python-cairo: Cairo bindings [installed]
Required By : proton-vpn-gtk-app python-proton-vpn-network-manager
Optional For : avahi python-dbus python-keyring python-matplotlib
Conflicts With : pygobject-devel
Replaces : pygobject-devel<=3.36.1-1
Installed Size : 1537.74 KiB
Packager : Jelle van der Waa <jelle@archlinux.org>
Build Date : Thu 21 Nov 2024 05:02:46 AM EST
Install Date : Mon 24 Feb 2025 07:28:46 PM EST
Install Reason : Explicitly installed
Install Script : No
Validated By : Signature
$ pacman -Qi proton-vpn-gtk-app
Name : proton-vpn-gtk-app
Version : 4.9.3-1
Description : ProtonVPN GTK app, Maintained by Community
Architecture : any
URL : https://github.com/ProtonVPN/proton-vpn-gtk-app
Licenses : GPL-3.0-or-later
Groups : None
Provides : None
Depends On : dbus-python gtk3 python-aiohttp python-bcrypt python-cairo python-distro python-gnupg python-gobject
python-jinja python-packaging python-proton-core python-proton-keyring-linux python-proton-vpn-api-core
python-proton-vpn-local-agent python-proton-vpn-network-manager python-pynacl python-pyopenssl python-requests
python-sentry_sdk webkit2gtk
Optional Deps : libappindicator-gtk3 [installed]
Required By : None
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 1421.79 KiB
Packager : Peter Jung <ptr1337@archlinux.org>
Build Date : Mon 24 Feb 2025 03:52:34 PM EST
Install Date : Wed 26 Feb 2025 07:16:00 PM EST
Install Reason : Explicitly installed
Install Script : No
Validated By : Signature
I am not sure if this error is driven by Proton (that is, Notify is not supposed to be there) or by GI (Notify is supposed to be there). I apologize if this is the wrong place for this question.
Any help appreciated.
Last edited by Poisson Aerohead (Today 03:27:15)
Offline
Do you have libnotify installed, by chance? It's not listed as a dependency, but I wonder if that is what's going on.
Offline
Hmmmmm. No I do not. I wonder if it is a dependency list error. Would installing it be sufficient to get it to interface with python-gobject?
UPDATE: Evidently the answer on both counts is 'yes' haha. I must say, I feel a bit silly over this one, but at least it is incorrectly omitted as a dependency. Someone should let the packager (Peter Jung) know.
Last edited by Poisson Aerohead (Today 02:54:01)
Offline
If installing libnotify fixes the problem, it's a likely a packaging bug. You should open a bug report. Don't be discouraged by the GitLab signup process, it's not as bad as it looks and fairly painless. Arch doesn't exist without everyone helping out, we all have to do our part.
Offline