Results 1 to 4 of 4

Thread: Fresh Install of 15.1 with Mate - menus at 1.20.0-lp151.3.8.1, getting python errors

  1. #1

    Default Fresh Install of 15.1 with Mate - menus at 1.20.0-lp151.3.8.1, getting python errors

    This is similar looking to the Mate errors I saw with the 3.5.1 update, but definitely not the same. I have the mate "taskbar" if you will at the bottom of the desktop, and when clicking on the Menu button, I get this response:

    Couldn't load plugin: places

    Traceback (most recent call last):

    File "/usr/lib/mate-menu/mate-menu.py", line 202, in PopulatePlugins
    exec("from {plugin_module} import pluginclass".format(plugin_module=plugin_module))

    File "<string>", line 1, in <module>

    File "/usr/lib/python2.7/site-packages/mate_menu/plugins/places.py", line 26, in <module>
    from mate_menu.easybuttons import *

    File "/usr/lib/python2.7/site-packages/mate_menu/easybuttons.py", line 25, in <module>
    import xdg.Menu

    File "/usr/lib/python2.7/site-packages/xdg/Menu.py", line 20, in <module>
    import locale, os, xml.dom.minidom

    ImportError: No module named xml.dom.minidom


    couldn't load plugin: system_management

    Traceback (most recent call last):

    File "/usr/lib/mate-menu/mate-menu.py", line 202, in PopulatePlugins
    exec("from {plugin_module} import pluginclass".format(plugin_module=plugin_module))

    File "<string>", line 1, in <module>

    File "/usr/lib/python2.7/site-packages/mate_menu/plugins/system_management.py", line 28, in <module>
    from mate_menu.easybuttons import *

    File "/usr/lib/python2.7/site-packages/mate_menu/easybuttons.py", line 25, in <module>
    import xdg.Menu

    File "/usr/lib/python2.7/site-packages/xdg/Menu.py", line 20, in <module>
    import locale, os, xml.dom.minidom

    ImportError: No module named xml.dom.minidom


    Couldn't load plugin: applications

    Traceback (most recent call last):

    File "/usr/lib/mate-menu/mate-menu.py", line 202, in PopulatePlugins
    exec("from {plugin_module} import pluginclass".format(plugin_module=plugin_module))

    File "<string>", line 1, in <module>

    File "/usr/lib/python2.7/site-packages/mate_menu/plugins/applications.py", line 33, in <module>
    from mate_menu.easybuttons import *

    File "/usr/lib/python2.7/site-packages/mate_menu/easybuttons.py", line 25, in <module>
    import xdg.Menu

    File "/usr/lib/python2.7/site-packages/xdg/Menu.py", line 20, in <module>
    import locale, os, xml.dom.minidom

    ImportError: No module named xml.dom.minidom

    Pretty consistent regarding the complain about xml.dom.minidom. I assume there;s a module that I need to install that's not getting installed by default with Mate. Any assistance would be sincerely appreciated.

    Elliott

  2. #2

    Default Re: Fresh Install of 15.1 with Mate - menus at 1.20.0-lp151.3.8.1, getting python errors

    After a bit more research, I found a thread that suggested installing python-xml. Looking at my installed packages (mostly python 3), I did not see python-xml installed, nor did I find python2-libxml2-python installed (python3-libxml2-python was installed). I proceeded to install these one at a time, without booting which was probably bad, and also installed python2-lxml. I saw no change immediately after installing each of these. Finally, I rebooted and voila! I have access to the menu. I'm not sure which of these or a combination of these fixed the problem. I'll try backing them out in reverse order: python-xml, python2-lxml and python2-libxml2-python; until I can break it again.

  3. #3

    Default Re: Fresh Install of 15.1 with Mate - menus at 1.20.0-lp151.3.8.1, getting python errors

    Found it:

    So backing out python2-lxml did nothing. Backing out python-xml DEFINITELY broke it. Backing out python2-libxml2-python didn't change the condition after it was broken, obviously, but putting python-xml back in did not trigger an install of python2-libxml2-python. So at this point, I have a working menu system with an "out-of-the-box" installation of Leap 15.1, with the only augmentation being that you need to install python-xml. The Mate guys should be informed so that they can make sure python-xml gets installed as part of the Mate package.

    Thanks!

    Elliott

  4. #4
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,972
    Blog Entries
    14

    Default Re: Fresh Install of 15.1 with Mate - menus at 1.20.0-lp151.3.8.1, getting python errors

    Quote Originally Posted by ElliottRScott View Post
    Found it:

    So backing out python2-lxml did nothing. Backing out python-xml DEFINITELY broke it. Backing out python2-libxml2-python didn't change the condition after it was broken, obviously, but putting python-xml back in did not trigger an install of python2-libxml2-python. So at this point, I have a working menu system with an "out-of-the-box" installation of Leap 15.1, with the only augmentation being that you need to install python-xml. The Mate guys should be informed so that they can make sure python-xml gets installed as part of the Mate package.

    Thanks!

    Elliott
    Please file a bugreport at bugzilla.opensuse.org . You can use the credentials you use here.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •