Closed mirekdlugosz closed 8 years ago
Projects using QtWebKit should change to QtWebEngine i think.
I encountered this issue on OpenSUSE Tumbleweed, couldn't find the solution since I couldn't find the equivalent of the gir1.2-notify-0.7
Debian package. Turns out it's included in the libnotify4-devel
package. Sorry to bump a closed, old thread, but I was getting this exact error until I installed the devel package. Hope this helps someone.
If
gi
module is available, butNotify
object in gi repository is not, mpDris2 fails to start due to uncaught exception:I have found this issue on my Debian box. Debian
mpdris2
package recommendsgir1.2-notify-0.7
and in description states It can (...) send track-change notifications if gir1.2-notify-0.7 is installed. Since I do not install recommended packages by default and I decided that I do not want notifications, I opted out of installinggir1.2-notify-0.7
.As you can see in trackback,
gi.require_version
will raise ValueError exception if requested module is not available. mpDris2, however, catches onlyImportError
- which would be raised byimport
ifgi
is not installed.