ImportError: cannot import name MessagingMenu

Bug #1574795 reported by Justin Nichols
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GMail Notifier
Fix Released
Undecided
Unassigned

Bug Description

OS: Ubuntu 16.04 Desktop

Ran the following:
$> sudo add-apt-repository ppa:gm-notify-maintainers/ppa
$> sudo apt update
$> sudo apt install gm-notify

Attempting to launch gm-notify via command line resulted in:
/usr/bin/gm-notify:33: PyGIWarning: Notify was imported without specifying a version first. Use gi.require_version('Notify', '0.7') before import to ensure that the right version gets loaded.
  from gi.repository import Gio, GLib, Gst, MessagingMenu, Notify
Traceback (most recent call last):
  File "/usr/bin/gm-notify", line 33, in <module>
    from gi.repository import Gio, GLib, Gst, MessagingMenu, Notify
ImportError: cannot import name MessagingMenu

Only workaround was to perform the following:
$> sudo apt install libmessaging-menu-dev

Maybe the dependencies aren't being met for the .deb being installed?

Mateusz Balbus (mate-ob)
Changed in gm-notify:
status: New → Confirmed
Mateusz Balbus (mate-ob)
Changed in gm-notify:
milestone: none → 1.0.1
status: Confirmed → Fix Released
Revision history for this message
Mateusz Balbus (mate-ob) wrote :
Revision history for this message
Justin Nichols (jnichols21) wrote :

I removed gm-notify and libmessaging-menu-dev via apt. I then reinstalled gm-notify only. gm-notify works now without that libmessaging-menu-dev dependency having to be installed. Thank you for the fix!!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.