The panel encountered a problem while loading "OAFIID:GNOME_GnoMenu"

Asked by suicidalfish

The panel encountered a problem while loading "OAFIID:GNOME_GnoMenu"

I cant find any existing threads on this, could you like me?

Or tell me how to fix this?

I tried everything I can find on google, but no luck.

[root@localhost Vista]# cat themedata.xml
<?xml version="1.0" ?>
<content type="Button">
<theme Top="1" id="HasTop">
<ContentData Name="Vista Original" Author="Microsoft" Copyright="Logo copyright Microsoft Corporation" id="Contentdata"/>
</theme>
</content>

[root@localhost bin]# GnoMenu.py
Traceback (most recent call last):
  File "/usr/bin/GnoMenu.py", line 41, in ?
    from GnoMenu_Object import GnoMenu
  File "/usr/lib/gnomenu/GnoMenu_Object.py", line 40, in ?
    import Images
  File "/usr/lib/gnomenu/Images.py", line 22, in ?
    from DesktopIntegration import DesktopIntegration
  File "/usr/lib/gnomenu/DesktopIntegration.py", line 19
    class DesktopIntegration():
                             ^
SyntaxError: invalid syntax

Please help. Thanks.

Question information

Language:
English Edit question
Status:
Expired
For:
GnoMenu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:

This question was reopened

Revision history for this message
technoshaun (shaun-marolf) said :
#1

technoshaun suggests this article as an answer to your question:
FAQ #264: “OAFIID:GNOME_GnoMenu Error”.

Revision history for this message
suicidalfish (the-suicidalgoldfish) said :
#2

Thanks, but none of that works. There is no hidden file.. I pastes the content of themedata.xml for the /Vista folder.

The Command GnoMenu doesnt work unless i go to /urs/bin and then I get that error I pasted.

Invalid syntax?

I have installed no themes, prior to installing GnoMenu.

Thanks.

Revision history for this message
technoshaun (shaun-marolf) said :
#3

What install method did you use the deb package or the source package?

Revision history for this message
suicidalfish (the-suicidalgoldfish) said :
#4

I used the source package, as im on fedora core 6. Is there a way to use the .deb on here?

I went into GnoMenu and did

$make install

Thanks.

Revision history for this message
technoshaun (shaun-marolf) said :
#5

What version of Python are you using?

Revision history for this message
suicidalfish (the-suicidalgoldfish) said :
#6

In /usr/bin i have python 2.4.3 is this ok?

Thanks.

Revision history for this message
technoshaun (shaun-marolf) said :
#7

That might be why you are having an issue as GnoMenu is built on 2.5 series. However, use the FAQ I referred you to earlier and use the last part where it talks about python bindings. See if instead of changing the line to use 2.6 to use 2.4 and see what happens.

I have my doubts it will work but worth a shot.

Revision history for this message
suicidalfish (the-suicidalgoldfish) said :
#8

I did this before the reply, it didnt work.

Revision history for this message
technoshaun (shaun-marolf) said :
#9

Okay then the only thing left is to update Python to 2.5, which most likely means you need to update FC6 to FC9 or FC10.

Revision history for this message
suicidalfish (the-suicidalgoldfish) said :
#10

Thought as much, didnt really want it to come to this as my wireless messes up on later FC's down to wlan0 getting installed on first install..and getting rt2500 and ra0 to work along side that is near impossible.

I will maybe try suse.

Rich.

Revision history for this message
suicidalfish (the-suicidalgoldfish) said :
#11

I have now updated to FC10 and it has Python 2.5.

Still getting this error....

I found the hidden file this time in /home/xxxx, did make uninstall...deleted the file and did make install. Did not work.

I also changed the line in GnoMenu_Object.py to 2.6. Did not work.

Any ideas?

Thanks.

Revision history for this message
suicidalfish (the-suicidalgoldfish) said :
#12

[root@biLLY gnomenu]# GnoMenu.py
Traceback (most recent call last):
  File "/usr/bin/GnoMenu.py", line 41, in <module>
    from GnoMenu_Object import GnoMenu
  File "/usr/lib/gnomenu/GnoMenu_Object.py", line 40, in <module>
    import Images
  File "/usr/lib/gnomenu/Images.py", line 280, in <module>
    ReloadSettings()
  File "/usr/lib/gnomenu/Images.py", line 43, in ReloadSettings
    glist = gconf_client.get_list("/apps/panel/general/applet_id_list", 1)
glib.GError: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://www.gnome.org/projects/gconf/ for information. (Details - 1: Failed to get connection to session: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.)

This is output of GnoMenu.py by the way.

Revision history for this message
technoshaun (shaun-marolf) said :
#13

"I also changed the line in GnoMenu_Object.py to 2.6. Did not work."

Change this back to 2.5, this change will break GnoMenu under Python 2.6 and is only for those whom have Python 2.6 installed.

Once you have done that follow the instructions in this FAQ:
FAQ #264: “OAFIID:GNOME_GnoMenu Error”.

Revision history for this message
technoshaun (shaun-marolf) said :
#14

Sorry, I meant it would break GnoMenu under Python 2.5 and is only for Python 2.6 users

Revision history for this message
suicidalfish (the-suicidalgoldfish) said :
#15

I changed the line back to 2.5 and ran the in window command. This is the output...same as before

Any ideas? Thanks for your help so far, I really appreciate it.

[root@biLLY GnoMenu]# GnoMenu.py run-in-window
Traceback (most recent call last):
  File "/usr/bin/GnoMenu.py", line 41, in <module>
    from GnoMenu_Object import GnoMenu
  File "/usr/lib/gnomenu/GnoMenu_Object.py", line 40, in <module>
    import Images
  File "/usr/lib/gnomenu/Images.py", line 280, in <module>
    ReloadSettings()
  File "/usr/lib/gnomenu/Images.py", line 43, in ReloadSettings
    glist = gconf_client.get_list("/apps/panel/general/applet_id_list", 1)
glib.GError: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://www.gnome.org/projects/gconf/ for information. (Details - 1: Failed to get connection to session: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.)

Revision history for this message
technoshaun (shaun-marolf) said :
#16

Uhm were you signed in as root when you ran this?

If you run this as root from a terminal while logged in as a user then this kind of stuff is going to happen.

Run GnoMenu.py -run-in-window from the terminal as the user not root and see what happens.

Revision history for this message
technoshaun (shaun-marolf) said :
#17

Gooffed command it should be:

GnoMenu.pt run-in-window

Revision history for this message
technoshaun (shaun-marolf) said :
#18

I cannot type today.

GnoMenu.py run-in-window

Please run the FULL command

Revision history for this message
suicidalfish (the-suicidalgoldfish) said :
#19

[root@biLLY GnoMenu]# GnoMenu.py run-in-window
None
Traceback (most recent call last):
  File "/usr/bin/GnoMenu.py", line 41, in <module>
    from GnoMenu_Object import GnoMenu
  File "/usr/lib/gnomenu/GnoMenu_Object.py", line 41, in <module>
    from GnoMenu_Main import Main_Menu
  File "/usr/lib/gnomenu/GnoMenu_Main.py", line 69, in <module>
    exec "from PGMenu import ProgramList"
  File "<string>", line 1, in <module>
  File "/usr/share/gnomenu/Themes/Widget/Classic/PGMenu.py", line 17, in <module>
    from XDG import XDGMenu
  File "/usr/lib/gnomenu/XDG.py", line 22, in <module>
    import xdg.Menu
ImportError: No module named xdg.Menu
[root@biLLY GnoMenu]#

This was run logged in under root.

Revision history for this message
suicidalfish (the-suicidalgoldfish) said :
#20

[richard@biLLY ~]$ GnoMenu.py run-in-window
None
Traceback (most recent call last):
  File "/usr/bin/GnoMenu.py", line 41, in <module>
    from GnoMenu_Object import GnoMenu
  File "/usr/lib/gnomenu/GnoMenu_Object.py", line 41, in <module>
    from GnoMenu_Main import Main_Menu
  File "/usr/lib/gnomenu/GnoMenu_Main.py", line 69, in <module>
    exec "from PGMenu import ProgramList"
  File "<string>", line 1, in <module>
  File "/usr/share/gnomenu/Themes/Widget/Classic/PGMenu.py", line 17, in <module>
    from XDG import XDGMenu
  File "/usr/lib/gnomenu/XDG.py", line 22, in <module>
    import xdg.Menu
ImportError: No module named xdg.Menu
[richard@biLLY ~]$

This was as the user, no root login.

Revision history for this message
technoshaun (shaun-marolf) said :
#21

Okay is this the 1.6 source or trunk source package?

Revision history for this message
suicidalfish (the-suicidalgoldfish) said :
#22

I downloaded this one from the menu.

 GnoMenu-1.6.tar.bz2 (md5) 1.6 1.6

Untar > enter file > make install > GnoMenu.py run-in-window

Revision history for this message
technoshaun (shaun-marolf) said :
#23

Did some digging, you may have to install xdg.menu in Fedora

Revision history for this message
suicidalfish (the-suicidalgoldfish) said :
#24

I installed PyXDG and now I have a keybind error.

[richard@biLLY GnoMenu]$ GnoMenu.py
None
Traceback (most recent call last):
  File "/usr/bin/GnoMenu.py", line 41, in <module>
    from GnoMenu_Object import GnoMenu
  File "/usr/lib/gnomenu/GnoMenu_Object.py", line 46, in <module>
    from _keybinder import tomboy_keybinder_bind as bindkey
ImportError: No module named _keybinder
[richard@biLLY GnoMenu]$

Revision history for this message
technoshaun (shaun-marolf) said :
#25

Use YUM toi search for xdg and you should find all the modules you need. In Ubuntu its labeled menu-xdg. So see if that helps. Please let me know as I need to document this if it is correct.

Revision history for this message
technoshaun (shaun-marolf) said :
#26

Also make sure that you have all dependencies installed

python2.5
python-xdg
python-cairo
python-gconf
python-xlib
deskbar-applet

Revision history for this message
suicidalfish (the-suicidalgoldfish) said :
#27

Yum search results for xdg bring back 4 things which are all installed.

I get a new error now, did you read this one?

[richard@biLLY ~]$ GnoMenu.py
None
Traceback (most recent call last):
  File "/usr/bin/GnoMenu.py", line 41, in <module>
    from GnoMenu_Object import GnoMenu
  File "/usr/lib/gnomenu/GnoMenu_Object.py", line 46, in <module>
    from _keybinder import tomboy_keybinder_bind as bindkey
ImportError: No module named _keybinder
[richard@biLLY ~]$

If xdg isnt installed, i need help doing it since I cannot do it through yum. Im not good enough on linux to install manually it seems. It gives me some ROX error, even tho I have it installed.

Thanks.

Revision history for this message
suicidalfish (the-suicidalgoldfish) said :
#28

Hey, I got it working...

The last thing I did before I got it working was install some of these files you put here.

15:10:22 : Installed:
15:10:22 : --> GConf2-devel-2.24.0-1.fc10.x86_64
15:10:22 : --> deskbar-applet-2.24.0-2.fc10.x86_64
15:10:22 : --> pycairo-devel-1.4.12-4.fc10.x86_64
15:10:22 : --> pycairo-devel-1.4.12-4.fc10.i386
15:10:22 : --> pyclutter-cairo-0.8.0-1.fc10.x86_64
15:10:22 : --> python-xlib-0.14-2.fc10.noarch
15:10:22 : --> python-xlib-doc-0.14-2.fc10.noarch
15:10:22 : Dependency Installed:
15:10:22 : --> ORBit2-devel-2.14.16-1.fc10.x86_64
15:10:22 : --> clutter-0.8.2-1.fc10.x86_64
15:10:22 : --> clutter-cairo-0.8.2-1.fc10.x86_64
15:10:22 : --> gnome-python2-gnomedesktop-2.23.0-1.fc10.x86_64
15:10:22 : --> gnome-python2-gnomekeyring-2.23.0-1.fc10.x86_64
15:10:22 : --> libIDL-devel-0.8.11-1.fc10.x86_64
15:10:22 : --> pyclutter-0.8.0-1.fc10.x86_64

Then i ran the command GnoMenu run-in-window and it worked like a charm.

Thanks for all of your help with this, I really appreciate it. And I hope Ive provided some useful documentation with regards to whats needed, and which error related to what.

Thanks again,

Richard.

Revision history for this message
technoshaun (shaun-marolf) said :
#29

Question converted to a FAQ