gnomenu doesn't respond on panel or in window.

Bug #665450 reported by deibhaid
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
GnoMenu
Triaged
Medium
Unassigned

Bug Description

When I click on gnomenu, I don't see any response. I decided to run it in a window to see the error message in the terminal, and I get:

Traceback (most recent call last):
  File "/usr/lib/gnomenu/GnoMenu.py", line 308, in button_press
    if not self.hwg.window.window:
AttributeError: 'NoneType' object has no attribute 'window'

I am running ubuntu 10.10
It was originally the netbook version(as I don't have a cd for installation), which I modified by installing aptitude etc.
gnomenu was installed with the win2.7 themes

Revision history for this message
technoshaun (shaun-marolf) wrote :

Make sure the following dependencies got installed:

python
python-xdg
python-cairo
python-gtk2 - that includes pygtk and python-pango
python-gnomeapplet *** necessary only when running on gnome-panel *** - or in some distros "python gnome desktop"
python-xml - may be needed in older distributions (eg: ubuntu before karmic)

The following recommended packages should be installed to have fullfuctionality.

gmenu - will use this instead of xdg if it is installed
python-numpy - for gtk theme colors and some tab effects
python-gconf - or in some distros "python gnome"
python-keybinder or python-xlib - for keybinding
gettext - for translations

Revision history for this message
deibhaid (deibhaid) wrote :

All packages were installed, but I discovered the culprit. I created a test account and gnomenu worked fine, thus the cause was a stale configuration file. Thank you for your assistance.

-David

Revision history for this message
Teresa e Junior (teresaejunior) wrote :

Please, don

Revision history for this message
Teresa e Junior (teresaejunior) wrote :

Sorry for the previous comment, typed the wrong button and couldn't correct it...

Please, don't close this bug report, Gnomenu was working until I had done some tests and uninstalled xfce4-session. I reinstalled it, but simply it doesn't work anymore. The last time this problem occured, it was solved by reinstalling python-gmenu, but now it doesn't help. I purged and reinstalled all dependencies, but still no luck. I created a new user and the problem didn't go away.

The error is the same as reported by deibhaid.

Revision history for this message
Karuna Murti (karuna-kiranatama) wrote :

I also got it. installed all dependencies, remove old configuration, still doesn't work.

settings load
WARNING - IconX is deprecated , use TabIconX instead
WARNING - IconY is deprecated , use TabIconY instead
WARNING - IconX is deprecated , use TabIconX instead
WARNING - IconY is deprecated , use TabIconY instead
WARNING - IconX is deprecated , use TabIconX instead
WARNING - IconY is deprecated , use TabIconY instead
WARNING - IconX is deprecated , use TabIconX instead
WARNING - IconY is deprecated , use TabIconY instead
gmenu found, using it as default menu parser
map
start
shaping window
/usr/lib/gnomenu/Menu_Main.py:267: DeprecationWarning: PyArray_FromDimsAndDataAndDescr: use PyArray_NewFromDescr.
  for row in self.colorpb.get_pixels_array():
Traceback (most recent call last):
  File "/usr/lib/gnomenu/GnoMenu.py", line 246, in map_event
    self.hwg = Main_Menu(self.HideMenu)
  File "/usr/lib/gnomenu/Menu_Main.py", line 88, in __init__
    self.setup()
  File "/usr/lib/gnomenu/Menu_Main.py", line 345, in setup
    self.PGL = CairoProgramList()
  File "/usr/lib/gnomenu/Menu_Widgets.py", line 2866, in __init__
    self.XDG = XDGMenu()
  File "/usr/lib/gnomenu/Menu_Items.py", line 113, in __init__
    self.Restart(item)
  File "/usr/lib/gnomenu/Menu_Items.py", line 151, in Restart
    self.ConstructMenu()
  File "/usr/lib/gnomenu/Menu_Items.py", line 388, in ConstructMenu
    self.addtomenu(_('Network'),"network",3,"",'network:///')
  File "/usr/lib/gnomenu/Menu_Items.py", line 186, in addtomenu
    self.L_Icons.append(self.IconFactory.geticonfile(icons))
  File "/usr/lib/gnomenu/IconFactory.py", line 121, in geticonfile
    pix = self.gtkicontheme.load_icon(icon,Globals.PG_iconsize,gtk.ICON_LOOKUP_FORCE_SIZE)
gio.Error: Error opening file: No such file or directory
cleanup
Traceback (most recent call last):
  File "/usr/lib/gnomenu/GnoMenu.py", line 379, in cleanup
    self.hwg.destroy()
AttributeError: 'NoneType' object has no attribute 'destroy'
recents changed
Traceback (most recent call last):
  File "/usr/lib/gnomenu/GnoMenu.py", line 308, in button_press
    if not self.hwg.window.window:
AttributeError: 'NoneType' object has no attribute 'window'
Traceback (most recent call last):
  File "/usr/lib/gnomenu/GnoMenu.py", line 308, in button_press
    if not self.hwg.window.window:
AttributeError: 'NoneType' object has no attribute 'window'

Revision history for this message
technoshaun (shaun-marolf) wrote :

What theme are you using? I am running GnoMenu in 10.10 and when I run from the terminal I see none of these errors.

Revision history for this message
Teresa e Junior (teresaejunior) wrote :

Solved by installing alacarte (which pulls gnome-menus), and simply running it.

The most interesting is that even if you purge alacarte and gnome-menus again, the bug remains solved for all users. So it's kinda system-wide file which is created when you install alacarte or run it (or gnome-menus...).

Revision history for this message
technoshaun (shaun-marolf) wrote :

By default GnoMenu has the Super L key set to off because of issues it caused with compiz. If you go into options by right clicking on the menu button and select the preferences tab you can turn it on. Since you appear to be running Xfce I am not sure what issues, if any, this may cause.

Revision history for this message
technoshaun (shaun-marolf) wrote :

Xfce user had to install alacarte. Need to fix Xfce menuing issue

Changed in gnomenu:
status: New → Invalid
status: Invalid → Triaged
importance: Undecided → Medium
Revision history for this message
Karuna Murti (karuna-kiranatama) wrote :

Themes: kore
Uninstalling gnomenu, alacarte
Removing configuration (~/.gconf/apps/gnomenu and ~/.gnomenu)
Installing again, still doesn't work

Where else gnomenu store its configuration? Maybe I can try to remove that too.

/usr/share/themes/SHI10/gtk-2.0/gtkrc:85: Murrine configuration option "gradients" is no longer supported and will be ignored.
gconf backend
GnoMenu 2.9
settings load
gmenu found, using it as default menu parser
start
shaping window
/usr/lib/gnomenu/Menu_Main.py:267: DeprecationWarning: PyArray_FromDimsAndDataAndDescr: use PyArray_NewFromDescr.
  for row in self.colorpb.get_pixels_array():
Traceback (most recent call last):
  File "/usr/lib/gnomenu/GnoMenuTray.py", line 115, in <module>
    GnoMenu()
  File "/usr/lib/gnomenu/GnoMenuTray.py", line 51, in __init__
    self.hwg = Main_Menu(self.HideMenu)
  File "/usr/lib/gnomenu/Menu_Main.py", line 88, in __init__
    self.setup()
  File "/usr/lib/gnomenu/Menu_Main.py", line 345, in setup
    self.PGL = CairoProgramList()
  File "/usr/lib/gnomenu/Menu_Widgets.py", line 2866, in __init__
    self.XDG = XDGMenu()
  File "/usr/lib/gnomenu/Menu_Items.py", line 113, in __init__
    self.Restart(item)
  File "/usr/lib/gnomenu/Menu_Items.py", line 151, in Restart
    self.ConstructMenu()
  File "/usr/lib/gnomenu/Menu_Items.py", line 388, in ConstructMenu
    self.addtomenu(_('Network'),"network",3,"",'network:///')
  File "/usr/lib/gnomenu/Menu_Items.py", line 186, in addtomenu
    self.L_Icons.append(self.IconFactory.geticonfile(icons))
  File "/usr/lib/gnomenu/IconFactory.py", line 121, in geticonfile
    pix = self.gtkicontheme.load_icon(icon,Globals.PG_iconsize,gtk.ICON_LOOKUP_FORCE_SIZE)
gio.Error: Error opening file: No such file or directory

Revision history for this message
Beholdarkness (beholdarkness) wrote :

I am running Ubuntu 10.10 Maverick

I had this bug on and off, I was able to get rid of it by resetting pgp-settings in Ubuntu Tweak's Desktop Recovery pane. I had to do this twice, but later when I attempted to set TagScanner as Favorite GnoMenu treated my right-click as a left(?), opened up TagScanner and it produced the same no respond bug again. This time I am unable to fix it as resetting/recovering pgp-settings does not help.

I do not want to reset my entire desktop again, but I will within 12 hours if there is no other possible fix. I will post my results afterwards.

Revision history for this message
Amrooz (lonelycommander) wrote :

i had the same problem did all what you mentioned above but nothing solve it .. this is what i did to solve mine
right click GnoMenu button -->Properties -->Icon Selection --> change WIN7 "For me i chose BW "
now it's working fine.. i hope it works with you ..
i hope also that you confirm here if it works or not to help other ppl
i hope form developers of GnoMenu to fix the WIN7 Icon Selection and make it works
Thanks in Advance

Revision history for this message
Beholdarkness (beholdarkness) wrote :

I'm sorry but I had problems getting back on the site, probably a lot of people posting Gnomenu bugs... :p

Well reset desktop didn't help. But suddenly for no apparent reason it worked (in AWN, only AWN...) until I tried changing the icons and theme. It doesn't seem to "care" about which icons or themes I change to as long as I change.
Eventually I purged it. There seem to be a lot of issues and bugs with this program and this particular bug seems to have a lot of variables as it came and went for no apparent reasons sometimes.
Sorry but this is all I got.

Revision history for this message
Kevin B (kmb101) wrote :

I've tried all of these and nothing works for me... I had this issue once before and don't know how it just started working again. I click the start button but nothing happen I can right click it and get the properties but that is all.

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.