libreport version: 2.0.10 abrt_version: 2.0.10 cmdline: /usr/bin/python2.7 -OOt /bin/alacarte executable: /bin/alacarte kernel: 3.4.0-1.fc17.x86_64 time: mer. 13 juin 2012 23:33:13 CEST uid: 1000 username: cgerardin backtrace: :MenuEditor.py:145:getItems:AttributeError: 'TreeIter' object has no attribute 'get_separator' : :Traceback (most recent call last): : File "/bin/alacarte", line 36, in <module> : main() : File "/bin/alacarte", line 33, in main : app.run() : File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 64, in run : self.loadMenus() : File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 203, in loadMenus : self.on_menu_tree_cursor_changed(menu_tree) : File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 354, in on_menu_tree_cursor_changed : self.loadItems(self.menu_store[menu_path][2], menu_path) : File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 217, in loadItems : for item, show in self.editor.getItems(menu): : File "/usr/lib/python2.7/site-packages/Alacarte/MenuEditor.py", line 145, in getItems : item = item_iter.get_separator() :AttributeError: 'TreeIter' object has no attribute 'get_separator' : :Local variables in innermost frame: :item_type: <enum GMENU_TREE_ITEM_SEPARATOR of type TreeItemType> :self: <Alacarte.MenuEditor.MenuEditor object at 0x1316fd0> :item_iter: <GMenuTreeIter at 0x1495e80> :menu: <GMenuTreeDirectory at 0x135f6a0>
We need an updated gnome-menus here.
I've been waiting for months for the gemu bug to be fixed, so when I saw an update to alacarte, I was eager to try it. Alas, it now crashes with this bug. And, when abrt tried to search for duplicates, it reported fatal: XML-RPC(0): (null) and exited 1.
(In reply to comment #1) > We need an updated gnome-menus here. Then the bug needs to be changed to apply to gnome-menus. gnome-menus should provide functionality used by alacarte. I was able to rebuild gnome-menus with the patch from https://bugzilla.gnome.org/show_bug.cgi?id=677344 With the fixed gnome-menus, alacarte actually shows its window. It's still useless though.
Still the problem in FC17. Package: alacarte-0.13.4-4.fc17 OS Release: Fedora release 17 (Beefy Miracle)
I was launching Alacarte by right clicking on the XFCE Applications menu, then Properties, then Edit Menu. The programme crashed after that. Package: alacarte-0.13.4-4.fc17 Architecture: i686 OS Release: Fedora release 17 (Beefy Miracle)
Attempting to edit menus to remove duplicate entries. Package: alacarte-0.13.4-4.fc17 OS Release: Fedora release 17 (Beefy Miracle)
Edit Menu then select any Menu Item that contains Separators Package: alacarte-0.13.4-4.fc17 Architecture: i686 OS Release: Fedora release 17 (Beefy Miracle)
Ran alacarte from command-line: [afan@quail ~]$ alacarte Traceback (most recent call last): File "/usr/bin/alacarte", line 36, in <module> main() File "/usr/bin/alacarte", line 33, in main app.run() File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 64, in run self.loadMenus() File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 203, in loadMenus self.on_menu_tree_cursor_changed(menu_tree) File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 354, in on_menu_tree_cursor_changed self.loadItems(self.menu_store[menu_path][2], menu_path) File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 217, in loadItems for item, show in self.editor.getItems(menu): File "/usr/lib/python2.7/site-packages/Alacarte/MenuEditor.py", line 145, in getItems item = item_iter.get_separator() AttributeError: 'TreeIter' object has no attribute 'get_separator' [afan@quail ~]$ Package: alacarte-0.13.4-4.fc17 OS Release: Fedora release 17 (Beefy Miracle)
How long would it take to fix gnome-menus to support another Fedora package? Should we open a separate bug for gnome-menus? If we had a library in C that didn't provide symbols for another Fedora package, it would have been fixed in no time. But nobody seems to care about missing functions at the runtime. <rant>IMHO the lax attitude towards missing functions is the biggest problem with interpreted languages. The language interpreter may be OK with it, but the developers and the package maintainers should not be!</rant>
I maintain both gnome-menus and alacarte. It's been fixed upstream for a long time, and the new package has been in F18. I can push an update to F17 if you would like.
Since this bug (or limitation or whatever) in gnome-menus makes another Fedora package completely useless (even if other things make is useless too), I believe it should be fixed in all supported versions of Fedora (F16 and F17). But I don't know what the Fedora policy says about that.
*** Bug 861473 has been marked as a duplicate of this bug. ***
launch alacarte Package: alacarte-0.13.4-4.fc17 OS Release: Fedora release 17 (Beefy Miracle)
Using XFCE 4.8 Right click on the icon that opens the Applications menu Click Properties Click Edit Menu Crash ensues without fail. Package: alacarte-0.13.4-4.fc16 OS Release: Fedora release 16 (Verne)
Problem still exists in F17. XFCE 4.8 Package: alacarte-0.13.4-4.fc17 $ alacarte Traceback (most recent call last): File "/bin/alacarte", line 36, in <module> main() File "/bin/alacarte", line 33, in main app.run() File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 64, in run self.loadMenus() File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 203, in loadMenus self.on_menu_tree_cursor_changed(menu_tree) File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 354, in on_menu_tree_cursor_changed self.loadItems(self.menu_store[menu_path][2], menu_path) File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 217, in loadItems for item, show in self.editor.getItems(menu): File "/usr/lib/python2.7/site-packages/Alacarte/MenuEditor.py", line 145, in getItems item = item_iter.get_separator() AttributeError: 'TreeIter' object has no attribute 'get_separator'
Okay, this one is driving me crazy.. But found a work around here: http://foobaring.blogspot.com/2012/09/alacarte-on-fedora-17.html 1. open terminal 2. gedit /lib/python2.7/site-packages/Alacarte/MenuEditor.py 3. find the applications.menu on the text file. 4. replace it with applications-gnome.menu 5. save file 6. run alacarte by typing alacarte on the terminal Changing that one line resovled the crash for me. Alacarete now starts.
Comment 16 fixed it for me, too. Using F17, XFCE 4.8 Package: alacarte-0.13.4-4.fc17
I'm currently using F16 and Xfce 4.8. As written, the fix in Comment 16 failed because the path is wrong. Searching found the file at /usr/lib/python2.7/site-packages/Alacarte/MenuEditor.py and I tried editing it. Running Alacarte from a terminal now works, or at least, it doesn't crash. However, when I exited it and checked my menus, they hadn't changed. Possibly I need to log out and back in, but I've never needed to before. And, the following errors were listed in the terminal: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 354, in on_menu_tree_cursor_changed self.loadItems(self.menu_store[menu_path][2], menu_path) File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 218, in loadItems icon = util.getIcon(item) File "/usr/lib/python2.7/site-packages/Alacarte/util.py", line 151, in getIcon pixbuf = info.load_icon() File "/usr/lib/python2.7/site-packages/gi/types.py", line 43, in function return info.invoke(*args, **kwargs) gi._glib.GError: Error opening file: No such file or directory As a final note, the Settings and Administration menus didn't seem to be available for editing.
Yes, I noticed the same thing as Joe after I posted the fix I found. The program runs, but the changes do not seem to be applied to the menu. They show up when you run alacarte again, but are not being applied to the menu in XFCE.
Now running F 17 with Xfce. The fix still doesn't work. Not only that, here's the output I get in the terminal: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 354, in on_menu_tree_cursor_changed self.loadItems(self.menu_store[menu_path][2], menu_path) File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 218, in loadItems icon = util.getIcon(item) File "/usr/lib/python2.7/site-packages/Alacarte/util.py", line 151, in getIcon pixbuf = info.load_icon() File "/usr/lib/python2.7/site-packages/gi/types.py", line 43, in function return info.invoke(*args, **kwargs) gi._glib.GError: Error opening file: No such file or directory Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 69, in menuChanged self.loadUpdates() File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 106, in loadUpdates self.on_menu_tree_cursor_changed(menu_tree) File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 354, in on_menu_tree_cursor_changed self.loadItems(self.menu_store[menu_path][2], menu_path) File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 218, in loadItems icon = util.getIcon(item) File "/usr/lib/python2.7/site-packages/Alacarte/util.py", line 151, in getIcon pixbuf = info.load_icon() File "/usr/lib/python2.7/site-packages/gi/types.py", line 43, in function return info.invoke(*args, **kwargs) gi._glib.GError: Error opening file: No such file or directory Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 69, in menuChanged self.loadUpdates() File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 106, in loadUpdates self.on_menu_tree_cursor_changed(menu_tree) File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 354, in on_menu_tree_cursor_changed self.loadItems(self.menu_store[menu_path][2], menu_path) File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 218, in loadItems icon = util.getIcon(item) File "/usr/lib/python2.7/site-packages/Alacarte/util.py", line 151, in getIcon pixbuf = info.load_icon() File "/usr/lib/python2.7/site-packages/gi/types.py", line 43, in function return info.invoke(*args, **kwargs) gi._glib.GError: Error opening file: No such file or directory Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 69, in menuChanged self.loadUpdates() File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 106, in loadUpdates self.on_menu_tree_cursor_changed(menu_tree) File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 354, in on_menu_tree_cursor_changed self.loadItems(self.menu_store[menu_path][2], menu_path) File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 218, in loadItems icon = util.getIcon(item) File "/usr/lib/python2.7/site-packages/Alacarte/util.py", line 151, in getIcon pixbuf = info.load_icon() File "/usr/lib/python2.7/site-packages/gi/types.py", line 43, in function return info.invoke(*args, **kwargs) gi._glib.GError: Error opening file: No such file or directory Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 69, in menuChanged self.loadUpdates() File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 106, in loadUpdates self.on_menu_tree_cursor_changed(menu_tree) File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 354, in on_menu_tree_cursor_changed self.loadItems(self.menu_store[menu_path][2], menu_path) File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 218, in loadItems icon = util.getIcon(item) File "/usr/lib/python2.7/site-packages/Alacarte/util.py", line 151, in getIcon pixbuf = info.load_icon() File "/usr/lib/python2.7/site-packages/gi/types.py", line 43, in function return info.invoke(*args, **kwargs) gi._glib.GError: Error opening file: No such file or directory Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 69, in menuChanged self.loadUpdates() File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 106, in loadUpdates self.on_menu_tree_cursor_changed(menu_tree) File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 354, in on_menu_tree_cursor_changed self.loadItems(self.menu_store[menu_path][2], menu_path) File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 218, in loadItems icon = util.getIcon(item) File "/usr/lib/python2.7/site-packages/Alacarte/util.py", line 151, in getIcon pixbuf = info.load_icon() File "/usr/lib/python2.7/site-packages/gi/types.py", line 43, in function return info.invoke(*args, **kwargs) gi._glib.GError: Error opening file: No such file or directory Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 69, in menuChanged self.loadUpdates() File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 106, in loadUpdates self.on_menu_tree_cursor_changed(menu_tree) File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 354, in on_menu_tree_cursor_changed self.loadItems(self.menu_store[menu_path][2], menu_path) File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 218, in loadItems icon = util.getIcon(item) File "/usr/lib/python2.7/site-packages/Alacarte/util.py", line 151, in getIcon pixbuf = info.load_icon() File "/usr/lib/python2.7/site-packages/gi/types.py", line 43, in function return info.invoke(*args, **kwargs) gi._glib.GError: Error opening file: No such file or directory Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 69, in menuChanged self.loadUpdates() File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 106, in loadUpdates self.on_menu_tree_cursor_changed(menu_tree) File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 354, in on_menu_tree_cursor_changed self.loadItems(self.menu_store[menu_path][2], menu_path) File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 218, in loadItems icon = util.getIcon(item) File "/usr/lib/python2.7/site-packages/Alacarte/util.py", line 151, in getIcon pixbuf = info.load_icon() File "/usr/lib/python2.7/site-packages/gi/types.py", line 43, in function return info.invoke(*args, **kwargs) gi._glib.GError: Error opening file: No such file or directory Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 69, in menuChanged self.loadUpdates() File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 106, in loadUpdates self.on_menu_tree_cursor_changed(menu_tree) File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 354, in on_menu_tree_cursor_changed self.loadItems(self.menu_store[menu_path][2], menu_path) File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 218, in loadItems icon = util.getIcon(item) File "/usr/lib/python2.7/site-packages/Alacarte/util.py", line 151, in getIcon pixbuf = info.load_icon() File "/usr/lib/python2.7/site-packages/gi/types.py", line 43, in function return info.invoke(*args, **kwargs) gi._glib.GError: Error opening file: No such file or directory Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 354, in on_menu_tree_cursor_changed self.loadItems(self.menu_store[menu_path][2], menu_path) File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 218, in loadItems icon = util.getIcon(item) File "/usr/lib/python2.7/site-packages/Alacarte/util.py", line 151, in getIcon pixbuf = info.load_icon() File "/usr/lib/python2.7/site-packages/gi/types.py", line 43, in function return info.invoke(*args, **kwargs) gi._glib.GError: Error opening file: No such file or directory Please note that I made (or tried to make) several changes, which is probably why there's so much output.
This message is a reminder that Fedora 17 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 17. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '17'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 17's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 17 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior to Fedora 17's end of life. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
Fedora 17 changed to end-of-life (EOL) status on 2013-07-30. Fedora 17 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. Thank you for reporting this bug and we are sorry it could not be fixed.