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

Bug 523726

Summary: net-wireless/blueman should depend on x11-libs/libnotify[introspection] - blueman-applet: ImportError: cannot import name Notify
Product: Gentoo Linux Reporter: Paweł Stankowski <aambitny>
Component: Current packagesAssignee: Tiziano Müller (RETIRED) <dev-zero>
Status: RESOLVED FIXED    
Severity: normal CC: maxtram95, mgorny
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Proposed patch to add missing dependencies

Description Paweł Stankowski 2014-09-25 19:18:41 UTC
blueman-applet, which is part of net-wireless/blueman package requires x11-libs/libnotify[introspection] library to run. When libnotify is installed w/o introspection, following error occurs:

# blueman-applet 
ERROR:root:Could not find any typelib for Notify
Traceback (most recent call last):
  File "/usr/bin/blueman-applet", line 15, in <module>
    from gi.repository import Notify
ImportError: cannot import name Notify
Comment 1 Maxim Mikityanskiy 2015-02-04 13:53:14 UTC
Also the dependency on x11-libs/gtk+:3=[introspection] have to be added. Without gtk+[introspection] similar ImportError appears.
Comment 2 Maxim Mikityanskiy 2015-02-04 14:01:34 UTC
Created attachment 395526 [details, diff]
Proposed patch to add missing dependencies
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-08-08 15:47:11 UTC
Fixed that one today.