Mintmenu fails to load plugins [SOLVED]

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
solar1951
Level 4
Level 4
Posts: 275
Joined: Wed Oct 03, 2007 4:14 am
Location: France

Mintmenu fails to load plugins [SOLVED]

Post by solar1951 »

This has just happened on my Gloria system. When I press the menu button the applications area is blank except for the following message.
Traceback (most recent call last):

File "/usr/lib/linuxmint/mintMenu/mintMenu.py", line 249, in PopulatePlugins
MyPlugin = X.pluginclass( self, self.toggle )

File "/usr/lib/linuxmint/mintMenu/plugins/applications.py", line 255, in __init__
self.menuFileMonitors.append( filemonitor.addMonitor(f, self.onMenuChanged, mymenu.directory.Filename ) )

File "/usr/lib/linuxmint/mintMenu/plugins/filemonitor.py", line 27, in addMonitor
mask = pyinotify.EventsCodes.IN_DELETE | pyinotify.EventsCodes.IN_CREATE | pyinotify.EventsCodes.IN_MODIFY

AttributeError: type object 'EventsCodes' has no attribute 'IN_DELETE'
I have tried rebooting and also re-installing mintmenu but same occurs.

This is somewhat of a showstopper at the moment :!:

Any ideas ?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
Midnighter
Level 6
Level 6
Posts: 1327
Joined: Tue May 22, 2007 1:52 pm
Location: Western Australia

Re: Mintmenu fails to load plugins

Post by Midnighter »

Mmm, in my uninformed opinion, that Appears to be a python issue. Not had it myself, as i rearranged my desktop to be more of a standard Gnome one (more comfortable with it), and unsure what would have caused it. Have you tried updating?
solar1951
Level 4
Level 4
Posts: 275
Joined: Wed Oct 03, 2007 4:14 am
Location: France

Re: Mintmenu fails to load plugins

Post by solar1951 »

Midnighter wrote:Mmm, in my uninformed opinion, that Appears to be a python issue. Not had it myself, as i rearranged my desktop to be more of a standard Gnome one (more comfortable with it), and unsure what would have caused it. Have you tried updating?
Sorry dont really understand - updating what ? Mintupdate is up-to-date and only level 1,2,3 updates. Or are you talking about updating to Latest Mint Helena ? Not really a solution I think !
solar1951
Level 4
Level 4
Posts: 275
Joined: Wed Oct 03, 2007 4:14 am
Location: France

Re: Mintmenu fails to load plugins [SOLVED]

Post by solar1951 »

OK, I have solved the issue which was related to python-pyinotify
I had been playing with Ubuntuone and had activated the ppa repo and there was a recent update for pyyhon-pyinotify which screwed the mintmenu. Downgrading to the previous python-pyinotify and all is OK again.
Needless to say I have de-activated the ubuntuone ppa :oops:
User avatar
Midnighter
Level 6
Level 6
Posts: 1327
Joined: Tue May 22, 2007 1:52 pm
Location: Western Australia

Re: Mintmenu fails to load plugins [SOLVED]

Post by Midnighter »

Glad to hear you got it sorted. Cheers. :)
dmpeters63

Re: Mintmenu fails to load plugins [SOLVED]

Post by dmpeters63 »

Hey solar1951

Can you please help me - I too have the same problem you are having and I'm new to Linux for the most part...
So how did you downgrade to python-pyinotify .7 and de-activate the ubuntuone ppa?

I have removed python-pyinotify and ubuntuone from my computer and works.
But now I'm fear full of doing an update. I think I need to remove the ppa from a list.
I know this is a total newb questions too! But I'm finding others who need help too...

Overall, I'm trying to figure it out but I'm falling short...

Thanks
User avatar
Midnighter
Level 6
Level 6
Posts: 1327
Joined: Tue May 22, 2007 1:52 pm
Location: Western Australia

Re: Mintmenu fails to load plugins [SOLVED]

Post by Midnighter »

dmpeters63 wrote:Hey solar1951

Can you please help me - I too have the same problem you are having and I'm new to Linux for the most part...
So how did you downgrade to python-pyinotify .7 and de-activate the ubuntuone ppa?

I have removed python-pyinotify and ubuntuone from my computer and works.
But now I'm fear full of doing an update. I think I need to remove the ppa from a list.
I know this is a total newb questions too! But I'm finding others who need help too...

Overall, I'm trying to figure it out but I'm falling short...

Thanks

Go to the Mint menu at bottom left, choose Package Manager, give it your password, when it opens go to Settings at top, then choose Repositories, Other Software, and look for the repo you added, and untick it, close off, and refresh list. Then do an update as normal. Cheers. :)
solar1951
Level 4
Level 4
Posts: 275
Joined: Wed Oct 03, 2007 4:14 am
Location: France

Re: Mintmenu fails to load plugins [SOLVED]

Post by solar1951 »

Hi dmpeters63,

Have been away from PC for a while did you solve your problem after Midnighters assistance ?
Ambystoma

Re: Mintmenu fails to load plugins [SOLVED]

Post by Ambystoma »

Thanks so much. Same thing happened last night on my SO's computer. I had no idea what was going on. First time I had seen that before. :) As you recommended, I dumped the ubuntuone ppa and all the associated packages. Reinstalled python-pyinotify, and all is well. I have to reconfigure the menu again a bit to get it back to my original customized settings, but not a big deal. By the way, how did you determine that it was python-pyinotify that was causing the issue? Thanks again! :)
solar1951
Level 4
Level 4
Posts: 275
Joined: Wed Oct 03, 2007 4:14 am
Location: France

Re: Mintmenu fails to load plugins [SOLVED]

Post by solar1951 »

Hi Ambystoma,
Well it was Midnighter who pointed me in the direction of python and then it was a matter of looking at the recent history of my updates through mintupdate to find the culprit. I downgraded in synaptic and that showed the solution.

No real specialist knowledge required - just a little logic :?
Locked

Return to “Beginner Questions”