Bug 2361099 - [abrt] alacarte: set_icon_file(): ItemEditor.py:76:set_icon_file:gi.repository.GLib.GError: g-file-error-quark: Failed to open file “/home/dobs/Software/logo-primary-light.svg”: No such file or directory (4)
Summary: [abrt] alacarte: set_icon_file(): ItemEditor.py:76:set_icon_file:gi.repositor...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: alacarte
Version: 42
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Yaakov Selkowitz
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:2516f4100372c8f98250f626191...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-04-19 09:27 UTC by dobs
Modified: 2025-05-08 04:20 UTC (History)
5 users (show)

Fixed In Version: alacarte-3.56.0-1.fc43 alacarte-3.56.0-1.fc42
Clone Of:
Environment:
Last Closed: 2025-04-29 21:04:03 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: os_info (754 bytes, text/plain)
2025-04-19 09:27 UTC, dobs
no flags Details
File: environ (2.55 KB, text/plain)
2025-04-19 09:27 UTC, dobs
no flags Details
File: mountinfo (3.49 KB, text/plain)
2025-04-19 09:27 UTC, dobs
no flags Details
File: open_fds (4.20 KB, text/plain)
2025-04-19 09:27 UTC, dobs
no flags Details
File: namespaces (171 bytes, text/plain)
2025-04-19 09:27 UTC, dobs
no flags Details
File: backtrace (1.80 KB, text/plain)
2025-04-19 09:27 UTC, dobs
no flags Details
File: cpuinfo (3.10 KB, text/plain)
2025-04-19 09:27 UTC, dobs
no flags Details

Description dobs 2025-04-19 09:27:40 UTC
Description of problem:
In ~/.local/share/applications/$AppName set fake icon file (file not exists)

Version-Release number of selected component:
alacarte-3.54.1-1.fc42

Additional info:
reporter:       libreport-2.17.15
kernel:         6.14.2-300.fc42.x86_64
cmdline:        /usr/bin/python3 -OOt /usr/bin/alacarte
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-gnome-alacarte-82560.scope
uid:            1000
reason:         ItemEditor.py:76:set_icon_file:gi.repository.GLib.GError: g-file-error-quark: Failed to open file “/home/dobs/Software/logo-primary-light.svg”: No such file or directory (4)
executable:     /usr/bin/alacarte
type:           Python3
package:        alacarte-3.54.1-1.fc42
runlevel:       N 5
exception_type: gi.repository.GLib.GError
crash_function: set_icon_file
interpreter:    python3-3.13.3-1.fc42.x86_64
comment:        In ~/.local/share/applications/$AppName set fake icon file (file not exists)

Truncated backtrace:
ItemEditor.py:76:set_icon_file:gi.repository.GLib.GError: g-file-error-quark: Failed to open file “/home/dobs/Software/logo-primary-light.svg”: No such file or directory (4)

Traceback (most recent call last):
  File "/usr/lib/python3.13/site-packages/Alacarte/MainWindow.py", line 387, in on_item_tree_row_activated
    self.on_edit_properties_activate(None)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
  File "/usr/lib/python3.13/site-packages/Alacarte/MainWindow.py", line 326, in on_edit_properties_activate
    editor = Editor(self.main_window, file_path)
  File "/usr/lib/python3.13/site-packages/Alacarte/ItemEditor.py", line 142, in __init__
    self.load()
    ~~~~~~~~~^^
  File "/usr/lib/python3.13/site-packages/Alacarte/ItemEditor.py", line 234, in load
    self.set_icon('icon-image', "Icon")
    ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/Alacarte/ItemEditor.py", line 173, in set_icon
    set_icon_string(self, self.builder.get_object(ctl), val)
    ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/Alacarte/ItemEditor.py", line 91, in set_icon_string
    set_icon_file(editor, image, icon)
    ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/Alacarte/ItemEditor.py", line 76, in set_icon_file
    pixbuf = GdkPixbuf.Pixbuf.new_from_file_at_size(file_name, size, size)
gi.repository.GLib.GError: g-file-error-quark: Failed to open file “/home/dobs/Software/logo-primary-light.svg”: No such file or directory (4)

Local variables in innermost frame:
editor: <ItemEditor.LauncherEditor object at 0x7f030d18e680 (Alacarte+ItemEditor+LauncherEditor at 0x55bb6ef2c430)>
image: <Gtk.Image object at 0x7f030d1ae7c0 (GtkImage at 0x55bb6f274dd0)>
file_name: '/home/dobs/Software/logo-primary-light.svg'
scale: 1
size: 64

Comment 1 dobs 2025-04-19 09:27:45 UTC
Created attachment 2085834 [details]
File: os_info

Comment 2 dobs 2025-04-19 09:27:46 UTC
Created attachment 2085835 [details]
File: environ

Comment 3 dobs 2025-04-19 09:27:47 UTC
Created attachment 2085836 [details]
File: mountinfo

Comment 4 dobs 2025-04-19 09:27:49 UTC
Created attachment 2085837 [details]
File: open_fds

Comment 5 dobs 2025-04-19 09:27:50 UTC
Created attachment 2085838 [details]
File: namespaces

Comment 6 dobs 2025-04-19 09:27:52 UTC
Created attachment 2085839 [details]
File: backtrace

Comment 7 dobs 2025-04-19 09:27:53 UTC
Created attachment 2085840 [details]
File: cpuinfo

Comment 8 Fedora Update System 2025-04-29 21:00:35 UTC
FEDORA-2025-0bcbf9240d (alacarte-3.56.0-1.fc43, gnome-applets-3.56.0-1.fc43, and 3 more) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-0bcbf9240d

Comment 9 Fedora Update System 2025-04-29 21:01:18 UTC
FEDORA-2025-e34dba86ca (alacarte-3.56.0-1.fc42, gnome-applets-3.56.0-1.fc42, and 3 more) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-e34dba86ca

Comment 10 Fedora Update System 2025-04-29 21:04:03 UTC
FEDORA-2025-0bcbf9240d (alacarte-3.56.0-1.fc43, gnome-applets-3.56.0-1.fc43, and 3 more) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 11 Fedora Update System 2025-04-30 01:29:27 UTC
FEDORA-2025-e34dba86ca has been pushed to the Fedora 42 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-e34dba86ca`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-e34dba86ca

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 12 Fedora Update System 2025-05-08 04:20:08 UTC
FEDORA-2025-e34dba86ca (alacarte-3.56.0-1.fc42, gnome-applets-3.56.0-1.fc42, and 3 more) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.