alacarte error when trying to save menu item

Bug #1999315 reported by Derek Tombrello
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
alacarte (Ubuntu)
New
Undecided
Unassigned

Bug Description

When you try to edit, and then save, a menu item by clicking the [ok] button, alacarte refuses to close the window. When you look at the terminal output, this is what it reports:

(alacarte:24174): Gtk-CRITICAL **: 18:52:01.059: gtk_accel_label_set_accel_closure: assertion 'gtk_accel_group_from_accel_closure (accel_closure) != NULL' failed

(alacarte:24174): Gtk-CRITICAL **: 18:52:01.059: gtk_accel_label_set_accel_closure: assertion 'gtk_accel_group_from_accel_closure (accel_closure) != NULL' failed
Traceback (most recent call last):
  File "/usr/share/alacarte/Alacarte/ItemEditor.py", line 186, in on_response
    self.save()
  File "/usr/share/alacarte/Alacarte/ItemEditor.py", line 176, in save
    util.fillKeyFile(self.keyfile, self.get_keyfile_edits())
  File "/usr/share/alacarte/Alacarte/ItemEditor.py", line 234, in get_keyfile_edits
    Icon=get_icon_string(self, self.builder.get_object('icon-image')),
  File "/usr/share/alacarte/Alacarte/ItemEditor.py", line 58, in get_icon_string
    filename = editor.icon_file
AttributeError: 'LauncherEditor' object has no attribute 'icon_file'

alacarte was working fine until I did a release upgrade from Ubuntu 18.04 to 20.04 to 22.04.

  lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.1 LTS
Release: 22.04
Codename: jammy

  apt-cache policy alacarte
alacarte:
  Installed: 3.44.1-1
  Candidate: 3.44.1-1
  Version table:
 *** 3.44.1-1 500
        500 http://us.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
        500 http://us.archive.ubuntu.com/ubuntu jammy/universe i386 Packages
        100 /var/lib/dpkg/status

Revision history for this message
Eric To (totszwai) wrote :

Facing the same issue, 22.04 latest

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.