Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 793791

Summary: x11-wm/qtile-0.17.0 depends on x11-libs/libnotify[introspection]
Product: Gentoo Linux Reporter: zaheen.jamil
Component: Current packagesAssignee: Mikle Kolyada (RETIRED) <zlogene>
Status: RESOLVED FIXED    
Severity: normal CC: ionen, oshaugh143, sam, sinon.adastrum
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch file to add x11-libs/libnotify dependency

Description zaheen.jamil 2021-06-02 00:06:12 UTC
After upgrading from qtile-0.16.1 to qtile-0.17.0, qtile would no longer launch.
This was the error:

Traceback (most recent call last):
  File "/home/zaheen/.config/qtile/config.py", line 29, in <module>
    from libqtile import bar, layout, widget
  File "/usr/lib/python3.9/site-packages/libqtile/bar.py", line 23, in <module>
    from libqtile import configurable, drawer, window
  File "/usr/lib/python3.9/site-packages/libqtile/drawer.py", line 38, in <module>
    from libqtile import pangocffi, utils
  File "/usr/lib/python3.9/site-packages/libqtile/utils.py", line 38, in <module>
    gi.require_version("Notify", "0.7")  # type: ignore
  File "/usr/lib/python3.9/site-packages/gi/__init__.py", line 126, in require_version
    raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace Notify not available

After installing x11-libs/libnotify, qtile started fine. Not sure why this only effects qtile-0.16.1 and not qtile-0.17.0 though.
Comment 1 sinon.adastrum 2021-08-09 18:23:43 UTC
I was able to reproduce this Bug today
same Error and same solution for qtile-0.17.0
Comment 2 Jacob O'Shaughnessy 2021-09-25 19:35:32 UTC
Created attachment 741312 [details, diff]
Patch file to add x11-libs/libnotify dependency

I also had the issue and installing x11-libs/libnotify fixed it for me. I am attaching a new ebuild file that should fix the issue.
Comment 3 Larry the Git Cow gentoo-dev 2022-05-03 03:25:58 UTC
The bug has been closed via the following commit(s):

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

commit 50f3a531efac8ce3bcfcb770498ed8b9434b7c5e
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-05-03 03:25:36 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-05-03 03:25:36 +0000

    x11-wm/qtile: add missing dependencies
    
    Closes: https://bugs.gentoo.org/793791
    Closes: https://bugs.gentoo.org/833521
    Signed-off-by: Sam James <sam@gentoo.org>

 x11-wm/qtile/{qtile-0.17.0.ebuild => qtile-0.17.0-r1.ebuild} | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)