Public bug reported:
Alacarte crashes sometime while editing icon. Some entry are just fine.
error Log here:
Traceback (most recent call last):
File "/usr/share/alacarte/Alacarte/MainWindow.py", line 388, in
on_item_tree_row_activated
self.on_edit_properties_activate(None)
File "/usr/share/alacarte/Alacarte/MainWindow.py", line 327, in
on_edit_properties_activate
editor = Editor(self.main_window, file_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/alacarte/Alacarte/ItemEditor.py", line 136, in __init__
self.load()
File "/usr/share/alacarte/Alacarte/ItemEditor.py", line 228, in load
self.set_icon('icon-image', "Icon")
File "/usr/share/alacarte/Alacarte/ItemEditor.py", line 167, in set_icon
set_icon_string(self, self.builder.get_object(ctl), val)
File "/usr/share/alacarte/Alacarte/ItemEditor.py", line 91, in set_icon_string
set_icon_file(editor, image, icon)
File "/usr/share/alacarte/Alacarte/ItemEditor.py", line 80, in set_icon_file
Gdk.cairo_set_source_pixbuf(context,
KeyError: 'could not find foreign type Context'
I search for it and found a fix
here:https://stackoverflow.com/a/64849977/6207031
It can be easily fix by 'sudo apt install python3-gi-cairo'. Maybe we should
add python3-gi-cairo as its dependency.
Description: Ubuntu 24.10
Release: 24.10
Alacarte: 3.52.0-1
** Affects: alacarte (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2097785
Title:
Alacarte crashes. KeyError: 'could not find foreign type Context'
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/alacarte/+bug/2097785/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs