[Bug 800215] Re: alacarte object has no attribute 'startswith'
*** This bug is a duplicate of bug 331218 *** https://bugs.launchpad.net/bugs/331218 ** This bug has been marked a duplicate of bug 331218 alacarte crashed with AttributeError in join() -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to alacarte in Ubuntu. https://bugs.launchpad.net/bugs/800215 Title: alacarte object has no attribute 'startswith' To manage notifications about this bug go to: https://bugs.launchpad.net/alacarte/+bug/800215/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 800215] Re: alacarte object has no attribute 'startswith'
** Changed in: alacarte Status: Unknown => New ** Changed in: alacarte Importance: Unknown => High -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to alacarte in Ubuntu. https://bugs.launchpad.net/bugs/800215 Title: alacarte object has no attribute 'startswith' To manage notifications about this bug go to: https://bugs.launchpad.net/alacarte/+bug/800215/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 800215] Re: alacarte object has no attribute 'startswith'
Thanks for the report, linking the upstream report https://bugzilla.gnome.org/show_bug.cgi?id=647382. ** Bug watch added: GNOME Bug Tracker #647382 https://bugzilla.gnome.org/show_bug.cgi?id=647382 ** Also affects: alacarte via https://bugzilla.gnome.org/show_bug.cgi?id=647382 Importance: Unknown Status: Unknown ** Changed in: alacarte (Ubuntu) Importance: Undecided => Medium ** Changed in: alacarte (Ubuntu) Status: Confirmed => Triaged -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to alacarte in Ubuntu. https://bugs.launchpad.net/bugs/800215 Title: alacarte object has no attribute 'startswith' To manage notifications about this bug go to: https://bugs.launchpad.net/alacarte/+bug/800215/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 800215] Re: alacarte object has no attribute 'startswith'
** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to alacarte in Ubuntu. https://bugs.launchpad.net/bugs/800215 Title: alacarte object has no attribute 'startswith' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/alacarte/+bug/800215/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 800215] Re: alacarte object has no attribute 'startswith'
Marking this as confirmed. The gnome-menus package includes a patch that renames /etc/xdg/menus/applications.menu to gnome-applications.menu. Including a minimal patch that allows alacarte to run. However it is possible for tree.get_menu_file() to return None if both ~/.config/menus /gnome-applications.menu and /etc/xdg/menus/gnome-applications.menu are missing, and alacarte should probably check for this and handle it gracefully. This will not fix the problem of the Applications menu being empty. Copying ~/.config/menus/gnome-applications.menu back to applications.menu will populate the menu, so it seems gnome-panel doesn't handle this change yet either. There is a bug for this: https://bugs.launchpad.net/ubuntu/+source/gnome-panel/+bug/798951 ** Patch added: "rename-menu.patch" https://bugs.launchpad.net/ubuntu/+source/alacarte/+bug/800215/+attachment/2177507/+files/rename-menu.patch -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to alacarte in Ubuntu. https://bugs.launchpad.net/bugs/800215 Title: alacarte object has no attribute 'startswith' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/alacarte/+bug/800215/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 800215] Re: alacarte object has no attribute 'startswith'
** Changed in: alacarte (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to alacarte in Ubuntu. https://bugs.launchpad.net/bugs/800215 Title: alacarte object has no attribute 'startswith' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/alacarte/+bug/800215/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 800215] Re: alacarte object has no attribute 'startswith'
zniavre2@zniavre2:~$ alacarte Traceback (most recent call last): File "/usr/bin/alacarte", line 37, in main() File "/usr/bin/alacarte", line 33, in main app = MainWindow(datadir, version, sys.argv) File "/usr/share/alacarte/Alacarte/MainWindow.py", line 49, in __init__ self.editor = MenuEditor() File "/usr/share/alacarte/Alacarte/MenuEditor.py", line 36, in __init__ self.__loadMenus() File "/usr/share/alacarte/Alacarte/MenuEditor.py", line 44, in __loadMenus self.applications.path = os.path.join(util.getUserMenuPath(), self.applications.tree.get_menu_file()) File "/usr/lib/python2.7/posixpath.py", line 66, in join if b.startswith('/'): AttributeError: 'NoneType' object has no attribute 'startswith' zniavre2@zniavre2:~$ ubuntu-bug alacarte -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to alacarte in Ubuntu. https://bugs.launchpad.net/bugs/800215 Title: alacarte object has no attribute 'startswith' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/alacarte/+bug/800215/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 800215] Re: alacarte object has no attribute 'startswith'
-- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to alacarte in Ubuntu. https://bugs.launchpad.net/bugs/800215 Title: alacarte object has no attribute 'startswith' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/alacarte/+bug/800215/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs