• MintMenu is broken (again)


    Yesterday, after an upgrade the mint menu disappeared from the Mate panel, and i find this message in the logs:

    abr 11 01:52:50 antergos org.mate.panel.applet.MintMenuAppletFactory[574]: /usr/lib/python2.7/site-packages/gi/overrides/Gtk.py:50: RuntimeWarning: You have imported the Gtk 2.0 module.  Because Gtk 2.0 was not designed for use with introspection some of the interfaces and API will fail.  As such this is not supported by the pygobject development team and we encourage you to port your app to Gtk 3 or greater. PyGTK is the recomended python module to use with Gtk 2.0
    abr 11 01:52:50 antergos org.mate.panel.applet.MintMenuAppletFactory[574]: warnings.warn(warn_msg, RuntimeWarning)
    abr 11 01:52:50 antergos org.mate.panel.applet.MintMenuAppletFactory[574]: Traceback (most recent call last):
    abr 11 01:52:50 antergos org.mate.panel.applet.MintMenuAppletFactory[574]: File "/usr/lib/linuxmint/mintMenu/mintMenu.py", line 6, in <module>
    abr 11 01:52:50 antergos org.mate.panel.applet.MintMenuAppletFactory[574]: from gi.repository import Gtk, GdkPixbuf, Gdk, GObject
    abr 11 01:52:50 antergos org.mate.panel.applet.MintMenuAppletFactory[574]: File "/usr/lib/python2.7/site-packages/gi/importer.py", line 159, in load_module
    abr 11 01:52:50 antergos org.mate.panel.applet.MintMenuAppletFactory[574]: dynamic_module = load_overrides(introspection_module)
    abr 11 01:52:50 antergos org.mate.panel.applet.MintMenuAppletFactory[574]: File "/usr/lib/python2.7/site-packages/gi/overrides/__init__.py", line 111, in load_overrides
    abr 11 01:52:50 antergos org.mate.panel.applet.MintMenuAppletFactory[574]: override_mod = importlib.import_module('gi.overrides.' + namespace)
    abr 11 01:52:50 antergos org.mate.panel.applet.MintMenuAppletFactory[574]: File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
    abr 11 01:52:50 antergos org.mate.panel.applet.MintMenuAppletFactory[574]: __import__(name)
    abr 11 01:52:50 antergos org.mate.panel.applet.MintMenuAppletFactory[574]: File "/usr/lib/python2.7/site-packages/gi/overrides/Gdk.py", line 161, in <module>
    abr 11 01:52:50 antergos org.mate.panel.applet.MintMenuAppletFactory[574]: class Event(Gdk.Event):
    abr 11 01:52:50 antergos org.mate.panel.applet.MintMenuAppletFactory[574]: File "/usr/lib/python2.7/site-packages/gi/overrides/Gdk.py", line 193, in Event
    abr 11 01:52:50 antergos org.mate.panel.applet.MintMenuAppletFactory[574]: Gdk.EventType.TOUCH_BEGIN: 'touch',
    abr 11 01:52:50 antergos org.mate.panel.applet.MintMenuAppletFactory[574]: AttributeError: type object 'GdkEventType' has no attribute 'TOUCH_BEGIN' 
    

    I understand that i have a problem with python and gtk, but i don’t know what is the package that causes the problem, any idea?
    thanks in advance,

  • Hi,

    This has been reported upstream. You can follow the issue here:

    https://github.com/linuxmint/mintmenu/issues/130

    Cheers!

  • Thanks!, with the update of today the MintMenu is fixed and running again in my panel. :smile:

  • Yesterday there was a Python update. Today I rebooted my computer and the MintMenu is broken again. When starting I got the message:

    Fehler.png

    I added the normal MATE menu to the panel. For me the normal MATE menu is completely satisifying too. But it might be irritating for newbies.

  • @Conni said:

    Yesterday there was a Python update. Today I rebooted my computer and the MintMenu is broken again. When starting I got the message:

    Fehler.png

    I added the normal MATE menu to the panel. For me the normal MATE menu is completely satisifying too. But it might be irritating for newbies.

    I’m seeing this as well after upgrading Python and rebooting, though it’s a different error than what was posted in the original post.

    Jun 03 04:22:57 HAL org.mate.panel.applet.MintMenuAppletFactory[545]: /usr/lib/python2.7/site-packages/gi/overrides/Gtk.py:50: RuntimeWarning: You have imported the Gtk 2.0 module.  Because Gtk 2.0 was not designed for use with introspection some of the interfaces and API will fail.  As such this is not supported by the pygobject development team and we encourage you to port your app to Gtk 3 or greater. PyGTK is the recomended python module to use with Gtk 2.0
    Jun 03 04:22:58 HAL org.mate.panel.applet.MintMenuAppletFactory[545]: warnings.warn(warn_msg, RuntimeWarning)
    Jun 03 04:22:58 HAL kernel: mintmenu[1183]: segfault at 21655020 ip 00007fc91d6e73e5 sp 00007fff09c381b8 error 4 in libgobject-2.0.so.0.4400.1[7fc91d6b4000+4f000]
    Jun 03 04:22:58 HAL systemd-coredump[1188]: Process 1183 (mintmenu) of user 1000 dumped core.
  • as a workaround for repairing mintmenu functionality, i didn’t find a better solution than temporarily downgrade the python2 package from the latest 2.7.10-1 back to 2.7.9-1:

    sudo pacman -U /var/cache/pacman/pkg/python2-2.7.9-1-x86_64.pkg.tar.xz
    

    if there’s no 2.7.9-1 in the cache anymore, it’s always available in arch rollback machine, for example, from the snapshot of 2015-05-01 for 64bit:

    python2-2.7.9-1-x86_64.pkg.tar.xz

    after downgrading, it is neccessary to pin python2 to the current version in /etc/pacman.conf, by adding it to the IgnorePkg list:

    ...
    IgnorePkg = python2
    ...
    

    after that, on every upgrade pacman / pamac will issue the warning:

    warning: python2: ignoring package upgrade (2.7.9-1 => 2.7.10-1)
    

    but it’s better than not working mintmenu.

  • This post is deleted!
  • @just said:

    as a workaround for repairing mintmenu functionality, i didn’t find a better solution than temporarily downgrade the python2 package from the latest 2.7.10-1 back to 2.7.9-1

    Thanks for sharing this workaround. I am reluctant to conduct such a downgrade. Of course it repairs the mintmenu. But I guess, that sooner or later there will be other functionalities or applications, which are requiring the latest python package.

    Temporarily living without the mintmenu is just a tiny inconvenience.

    By the way tomorrow there was an update of the mintmenu, but after a reboot I still get the same error message.

Posts 8Views 3661
Log in to reply