After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 626204 - alacarte crashes on startup, when all menu entries are not present
alacarte crashes on startup, when all menu entries are not present
Status: RESOLVED OBSOLETE
Product: alacarte
Classification: Applications
Component: general
0.13.x
Other Linux
: Normal critical
: ---
Assigned To: Alacarte Maintainer(s)
Alacarte Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2010-08-06 14:28 UTC by Pedro Villavicencio
Modified: 2021-05-25 17:45 UTC
See Also:
GNOME target: ---
GNOME version: 2.29/2.30



Description Pedro Villavicencio 2010-08-06 14:28:55 UTC
this report has been filed here:

https://bugs.edge.launchpad.net/ubuntu/+source/alacarte/+bug/613358

"This has occured after:
a) I have installed Squirrel SQL client, with option to add squirrel shortcut to "" menu section (name contains of empty string)
b) new main menu section "" has appeared, and inside there was a shortcut to squirrel
c) I have moved this shortcut to "Programming(?)" section, it was ok
d) I tried to delete "" menu section from main menu.
e) all entries from main menu disappeared (this is unlikely that I have selected all menu entries and deleted them)
e) alacarte stopped to respond, so I have closed it.
f) tried to start alacarte, and it has failed to start with the errors"

"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/pymodules/python2.6/Alacarte/MainWindow.py", line 72 in run
    self.loadMenus()
  • File "/usr/lib/pymodules/python2.6/Alacarte/MainWindow.py", line 213 in loadMenus
    self.loadMenu(iters, menu)
  • File "/usr/lib/pymodules/python2.6/Alacarte/MainWindow.py", line 228 in loadMenu
    iters[depth] = self.menu_store.append(None, (icon, cgi.escape(parent.get_name()), parent))
AttributeError: 'NoneType' object has no attribute 'get_name'"

Comment 1 Jasper St. Pierre (not reading bugmail) 2012-06-01 05:21:50 UTC
It looks like your menu has invalid UTF-8 data. Can you try with alacarte master?
Comment 2 André Klapper 2021-05-25 17:45:04 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version, then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a new enhancement request ticket at
  https://gitlab.gnome.org/GNOME/alacarte/-/issues/

Thank you for your understanding and your help.