Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 948982 - net-vpn/eduvpn-client: should depend on x11-libs/libnotify
Summary: net-vpn/eduvpn-client: should depend on x11-libs/libnotify
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: mario.haustein
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2025-01-28 21:55 UTC by Alisa Parashchenko
Modified: 2025-02-19 11:13 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (file_948982.txt,6.83 KB, text/plain)
2025-01-28 21:55 UTC, Alisa Parashchenko
Details
Traceback (traceback,721 bytes, text/plain)
2025-01-28 21:56 UTC, Alisa Parashchenko
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alisa Parashchenko 2025-01-28 21:55:20 UTC
Created attachment 917749 [details]
emerge --info

If libnotify is not installed, eduvpn-gui fails at runtime with "ValueError: Namespace Notify not available". Installing libnotify fixes the problem. Traceback is as follows:

Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.12/eduvpn-gui", line 5, in <module>
    from eduvpn.ui.__main__ import eduvpn
  File "/usr/lib/python3.12/site-packages/eduvpn/ui/__main__.py", line 12, in <module>
    from eduvpn.ui.app import EduVpnGtkApplication
  File "/usr/lib/python3.12/site-packages/eduvpn/ui/app.py", line 13, in <module>
    from eduvpn import i18n, notify
  File "/usr/lib/python3.12/site-packages/eduvpn/notify.py", line 3, in <module>
    gi.require_version("Notify", "0.7")
  File "/usr/lib/python3.12/site-packages/gi/__init__.py", line 122, in require_version
    raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace Notify not available

I think that it is using pygobject to check for libnotify, and fails if it can't find it.

Attaching my "emerge --info".
Comment 1 Alisa Parashchenko 2025-01-28 21:56:02 UTC
Created attachment 917750 [details]
Traceback
Comment 2 mario.haustein 2025-01-29 18:21:15 UTC
Thanks, good catch.
Comment 3 Larry the Git Cow gentoo-dev 2025-02-19 11:13:59 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9373981541ea09f83bf40c57cf4144f40a00236

commit f9373981541ea09f83bf40c57cf4144f40a00236
Author:     Mario Haustein <mario.haustein@hrz.tu-chemnitz.de>
AuthorDate: 2025-01-29 18:54:33 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-02-19 11:11:47 +0000

    net-vpn/eduvpn-client: add missing dependency to x11-libs/libnotify
    
    Closes: https://bugs.gentoo.org/948982
    Signed-off-by: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de>
    Signed-off-by: Sam James <sam@gentoo.org>

 .../eduvpn-client/eduvpn-client-4.4.0-r1.ebuild    | 65 ++++++++++++++++++++++
 1 file changed, 65 insertions(+)