Bug 2300369 - sealert[2795]: Could not load image 'setroubleshoot_icon.png': Failed to open file “/usr/share/setroubleshoot/gui/setroubleshoot_icon.png”: No such file or directory
Summary: sealert[2795]: Could not load image 'setroubleshoot_icon.png': Failed to open...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: setroubleshoot
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Lautrbach
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-07-29 14:43 UTC by Steve
Modified: 2024-12-13 10:12 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-12-13 10:12:24 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Steve 2024-07-29 14:43:32 UTC
Description of problem:

$ journalctl --no-hostname -b | grep -m1 'sealert.*setroubleshoot_icon.png'
Jul 29 14:22:21 sealert[2795]: Could not load image 'setroubleshoot_icon.png': Failed to open file “/usr/share/setroubleshoot/gui/setroubleshoot_icon.png”: No such file or directory

$ sudo dnf -q repoquery --whatprovides \*/setroubleshoot_icon.png | xargs rpm -q
package NsCDE-data-0:2.2-7.fc41.noarch is not installed
package gnome-colors-icon-theme-0:5.5.1-32.fc41.noarch is not installed
package mint-x-icons-0:1.7.1-1.fc41.noarch is not installed
package mint-y-icons-0:1.7.7-1.fc41.noarch is not installed
package moka-icon-theme-0:5.4.0-13.20190530gitc0355ea.fc41.noarch is not installed
package paper-icon-theme-0:1.5.0-17.20200312gitaa3e8af.fc41.noarch is not installed

Version-Release number of selected component (if applicable):
setroubleshoot-server-3.3.33-5.fc41.x86_64

Comment 1 Steve 2024-07-29 14:53:30 UTC
I manually installed setroubleshoot with F41 Workstation:

$ dnf -C history info 9
Transaction ID : 9
Begin time     : 2024-07-18 19:06:10
Begin rpmdb    : 0f27b9915ebe1dc36144f0ab9fc0f3dd08aedf3cfe1d59dc58a66b4cb4aefffc
End time       : 2024-07-18 19:06:15
End rpmdb      : b8202ba5bed3c6f31b108ff33310d6da3c4d89fca2122ad8f851fbd54047f351
User           : 1000 [redacted]
Status         : Ok
Releasever     : rawhide
Description    : dnf install setroubleshoot.x86_64 -y
Comment        : 
Packages altered:
  Action  Package                                       Reason     Repository
  Install setroubleshoot-0:3.3.33-4.fc41.x86_64         User       rawhide
  Install setroubleshoot-server-0:3.3.33-4.fc41.x86_64  Dependency rawhide
  Install setroubleshoot-plugins-0:3.3.14-9.fc40.noarch Dependency rawhide

Comment 2 Steve 2024-07-29 17:39:17 UTC
The problem is that setroubleshoot is not on F41 Workstation, so it has to be manually installed:

$ sudo dnf -q list setroubleshoot
Available packages
setroubleshoot.x86_64 3.3.33-5.fc41 rawhide

$ grep '^VERSION=' /etc/os-release 
VERSION="41 (Workstation Edition Prerelease)"

Tested with F41 Workstation Live in a VM:

Fedora-Workstation-Live-x86_64-Rawhide-20240729.n.0.iso

Comment 3 Steve 2024-11-09 21:48:16 UTC
Still occurs with rawhide (F42):

Nov 09 21:31:53 sealert[5665]: Could not load image 'setroubleshoot_icon.png': Failed to open file “/usr/share/setroubleshoot/gui/setroubleshoot_icon.png”: No such file or directory

$ ll /usr/share/setroubleshoot/gui/setroubleshoot_icon.png
ls: cannot access '/usr/share/setroubleshoot/gui/setroubleshoot_icon.png': No such file or directory

$ ll /usr/share/setroubleshoot/gui/setroubleshoot_icon.*
lrwxrwxrwx. 1 root root 62 Nov  4 00:00 /usr/share/setroubleshoot/gui/setroubleshoot_icon.svg -> /usr/share/icons/hicolor/scalable/apps/setroubleshoot_icon.svg

$ rpm -qf /usr/bin/sealert
setroubleshoot-server-3.3.34-1.fc42.x86_64

Comment 4 Steve 2024-11-09 21:55:09 UTC
The link target exists, so the problem is with sealert referencing setroubleshoot_icon.png instead of setroubleshoot_icon.svg:

$ rpm -qf /usr/share/icons/hicolor/scalable/apps/setroubleshoot_icon.svg
setroubleshoot-3.3.34-1.fc42.x86_64

Comment 5 Petr Lautrbach 2024-12-13 10:12:24 UTC
# rpm -q setroubleshoot
setroubleshoot-3.3.35-1.fc42.x86_64

# rpm -ql setroubleshoot | xargs grep -rsetroubleshoot_icon
/etc/xdg/autostart/sealertauto.desktop:Icon=setroubleshoot_icon
/usr/bin/seapplet:            "/usr/share/icons/hicolor/scalable/apps/setroubleshoot_icon.svg"
/usr/bin/seapplet:            "/usr/share/icons/hicolor/scalable/apps/setroubleshoot_icon.svg"
grep: /usr/lib/python3.13/site-packages/setroubleshoot/__pycache__/config.cpython-313.opt-1.pyc: binary file matches
grep: /usr/lib/python3.13/site-packages/setroubleshoot/__pycache__/config.cpython-313.pyc: binary file matches
/usr/lib/python3.13/site-packages/setroubleshoot/config.py:            'value': 'setroubleshoot_icon',
/usr/share/applications/setroubleshoot.desktop:Icon=setroubleshoot_icon
/usr/share/setroubleshoot/gui/browser.glade:    <property name="icon">setroubleshoot_icon.svg</property>
/usr/share/setroubleshoot/gui/browser.glade:    <property name="icon">setroubleshoot_icon.svg</property>
/usr/share/setroubleshoot/gui/browser.glade:    <property name="icon">setroubleshoot_icon.svg</property>
/usr/share/setroubleshoot/gui/browser.glade:    <property name="icon">setroubleshoot_icon.svg</property>
/usr/share/setroubleshoot/gui/bug_report.glade:    <property name="icon">setroubleshoot_icon.svg</property>
/usr/share/setroubleshoot/gui/fail_dialog.glade:  <property name="icon">setroubleshoot_icon.svg</property>
/usr/share/setroubleshoot/gui/success_dialog.glade:    <property name="icon">setroubleshoot_icon.svg</property>
/usr/share/setroubleshoot/gui/browser.glade:    <property name="icon">setroubleshoot_icon.svg</property>
/usr/share/setroubleshoot/gui/browser.glade:    <property name="icon">setroubleshoot_icon.svg</property>
/usr/share/setroubleshoot/gui/browser.glade:    <property name="icon">setroubleshoot_icon.svg</property>
/usr/share/setroubleshoot/gui/browser.glade:    <property name="icon">setroubleshoot_icon.svg</property>
/usr/share/setroubleshoot/gui/bug_report.glade:    <property name="icon">setroubleshoot_icon.svg</property>
/usr/share/setroubleshoot/gui/fail_dialog.glade:  <property name="icon">setroubleshoot_icon.svg</property>
/usr/share/setroubleshoot/gui/success_dialog.glade:    <property name="icon">setroubleshoot_icon.svg</property>

# rpm -qf /usr/share/icons/hicolor/scalable/apps/setroubleshoot_icon.svg
setroubleshoot-3.3.35-1.fc42.x86_64


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