Summary: | sys-fs/udiskie-1.1.1 fails to show notifications: ImportError: cannot import name Notify | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | thunderrd <rzubaly> |
Component: | Current packages | Assignee: | Desktop Misc. Team <desktop-misc> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | rzubaly |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
thunderrd
2014-08-04 14:02:25 UTC
I took this question to the dev on github: https://github.com/coldfix/udiskie/issues/47 We seem to have found the issue. To make matters short, My machine has USE="-introspection" globally, as I don't use gnome, only xmonad WM. So libnotify is built without introspection. When it is built this way, it does not provide the following two files: /usr/lib64/girepository-1.0/Notify-0.7.typelib /usr/share/gir-1.0/Notify-0.7.gir Adding the introspection use flag in as a per-package flag in package.use solves the issue, allows the tray icon and the notifications, and eliminates the noisy tty messages. Perhaps the ebuild should be adjusted to make libnotify (+introspection) a requirement if notifications are desired? I may be in the minority with -introspection set globally, but people should have the choice in a case like this. |