Gentoo Archives: gentoo-user

From: dhk <dhkuhl@×××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Gnome "Edit Menus"
Date: Tue, 13 Oct 2009 10:58:58
Message-Id: 4AD45D70.1010209@optonline.net
In Reply to: Re: [gentoo-user] Gnome "Edit Menus" by dhk
1 dhk wrote:
2 > Anton Bobov wrote:
3 >> On Mon, Oct 12, 2009 at 10:13:04 -0400, dhk wrote:
4 >>> After the last update when I got Gnome 2.26 Most everything the the main
5 >>> application menu was gone. I right clicked on the main app panel and
6 >>> selected "Edit Menus" and after making a few changes I pressed "Revert"
7 >>> and now "Edit Menus" doesn't work at all. The window doesn't even come up.
8 >>>
9 >>> How can I fix this? Does anyone know the command line for "Edit Menus"?
10 >> To run Gnome menu editor try
11 >>
12 >> $ alacarte
13 >>
14 >> Also see in ~/.config/menus for menu backups. You can replace current
15 >> menu (applications.menu) with older file (applications.menu.undo-*).
16 >>
17 >> And read Gnome 2.26 Upgrade Guide section about menu file-collision:
18 >>
19 >> http://gnome.gentoo.org/howtos/gnome-2.26-upgrade.xml
20 >>
21 >
22 > Great Thanks
23 >
24 >
25
26 When I run alacarte I get the following error.
27
28 $ alacarte
29 Traceback (most recent call last):
30 File "/usr/bin/alacarte", line 36, in <module>
31 main()
32 File "/usr/bin/alacarte", line 32, in main
33 app = MainWindow(datadir, version, sys.argv)
34 File "/usr/lib64/python2.6/site-packages/Alacarte/MainWindow.py", line
35 48, in __init__
36 self.editor = MenuEditor()
37 File "/usr/lib64/python2.6/site-packages/Alacarte/MenuEditor.py", line
38 36, in __init__
39 self.__loadMenus()
40 File "/usr/lib64/python2.6/site-packages/Alacarte/MenuEditor.py", line
41 42, in __loadMenus
42 self.applications.path = os.path.join(util.getUserMenuPath(),
43 self.applications.tree.get_menu_file())
44 File "/usr/lib64/python2.6/posixpath.py", line 65, in join
45 if b.startswith('/'):
46 AttributeError: 'NoneType' object has no attribute 'startswith'
47
48 I've run python-updater and there's no change.
49
50 Is this a corrupt program?
51
52 Thanks,
53 dhk

Replies

Subject Author
Re: [gentoo-user] Gnome "Edit Menus" Anton Bobov <anton@×××××.name>