Bug 2058897 - [abrt] meld: _get_pixbuf(): emblemcellrenderer.py:64:_get_pixbuf:gi.repository.GLib.GError: gtk-icon-theme-error-quark: Icon 'emblem-new' not present in theme Adwaita (0)
Summary: [abrt] meld: _get_pixbuf(): emblemcellrenderer.py:64:_get_pixbuf:gi.repositor...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: meld
Version: 36
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Dominic Hopf
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:2f8cd84968781ea15a4b273fbac...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-02-26 19:36 UTC by Markus Rathgeb
Modified: 2023-06-22 14:59 UTC (History)
6 users (show)

Fixed In Version: meld-3.21.0-12.fc36
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-06-29 02:07:14 UTC
Type: ---
Embargoed:
dmaphy: needinfo+
dmaphy: needinfo+


Attachments (Terms of Use)
File: backtrace (863 bytes, text/plain)
2022-02-26 19:36 UTC, Markus Rathgeb
no flags Details
File: cpuinfo (2.57 KB, text/plain)
2022-02-26 19:36 UTC, Markus Rathgeb
no flags Details
File: environ (3.88 KB, text/plain)
2022-02-26 19:36 UTC, Markus Rathgeb
no flags Details
File: mountinfo (4.32 KB, text/plain)
2022-02-26 19:36 UTC, Markus Rathgeb
no flags Details
File: namespaces (172 bytes, text/plain)
2022-02-26 19:36 UTC, Markus Rathgeb
no flags Details
File: open_fds (2.55 KB, text/plain)
2022-02-26 19:36 UTC, Markus Rathgeb
no flags Details


Links
System ID Private Priority Status Summary Last Updated
GNOME Gitlab GNOME meld issues 672 0 None closed gtk-icon-theme-error-quark: Icon 'emblem-new' not present in theme Adwaita Fedora 36 2022-05-24 10:43:34 UTC

Description Markus Rathgeb 2022-02-26 19:36:13 UTC
Description of problem:
I compared two directories with a bunch of files.

Version-Release number of selected component:
meld-3.21.0-9.fc36

Additional info:
reporter:       libreport-2.17.0
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-org.gnome.Terminal.slice/vte-spawn-2caf6759-0baa-4306-afe5-531495b9d6f4.scope
cmdline:        /usr/bin/python3 /usr/bin/meld /tmp/selinux/original /tmp/selinux/waydroid
crash_function: _get_pixbuf
exception_type: gi.repository.GLib.GError
executable:     /usr/bin/meld
interpreter:    python3-3.10.2-3.fc36.x86_64
kernel:         5.17.0-0.rc5.102.fc36.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
emblemcellrenderer.py:64:_get_pixbuf:gi.repository.GLib.GError: gtk-icon-theme-error-quark: Icon 'emblem-new' not present in theme Adwaita (0)

Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/meld/ui/emblemcellrenderer.py", line 100, in do_render
    pixbuf = self._get_pixbuf(self.emblem_name, self._emblem_size)
  File "/usr/lib/python3.10/site-packages/meld/ui/emblemcellrenderer.py", line 64, in _get_pixbuf
    pixbuf = icon_theme.load_icon(name, size, 0).copy()
gi.repository.GLib.GError: gtk-icon-theme-error-quark: Icon 'emblem-new' not present in theme Adwaita (0)

Local variables in innermost frame:
self: <emblemcellrenderer.EmblemCellRenderer object at 0x7f1854345980 (EmblemCellRenderer at 0x55946df18500)>
name: 'emblem-new'
size: 8
icon_theme: <Gtk.IconTheme object at 0x7f185432c180 (GtkIconTheme at 0x55946d4f5a30)>

Comment 1 Markus Rathgeb 2022-02-26 19:36:16 UTC
Created attachment 1863430 [details]
File: backtrace

Comment 2 Markus Rathgeb 2022-02-26 19:36:17 UTC
Created attachment 1863431 [details]
File: cpuinfo

Comment 3 Markus Rathgeb 2022-02-26 19:36:18 UTC
Created attachment 1863432 [details]
File: environ

Comment 4 Markus Rathgeb 2022-02-26 19:36:20 UTC
Created attachment 1863433 [details]
File: mountinfo

Comment 5 Markus Rathgeb 2022-02-26 19:36:21 UTC
Created attachment 1863434 [details]
File: namespaces

Comment 6 Markus Rathgeb 2022-02-26 19:36:22 UTC
Created attachment 1863435 [details]
File: open_fds

Comment 7 Markus Rathgeb 2022-05-04 11:33:01 UTC
Similar problem has been detected:

Compare two directories recursive

reporter:       libreport-2.17.1
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-org.gnome.Terminal.slice/vte-spawn-004f191d-ade3-4b98-974f-ceec0528e5ba.scope
cmdline:        /usr/bin/python3 /usr/bin/meld /home/de23a4/workspace/dir1/ /home/de23a4/workspace/dir2/
crash_function: _get_pixbuf
exception_type: gi.repository.GLib.GError
executable:     /usr/bin/meld
interpreter:    python3-3.10.4-1.fc36.x86_64
kernel:         5.17.4-300.fc36.x86_64
package:        meld-3.21.0-9.fc36
reason:         emblemcellrenderer.py:64:_get_pixbuf:gi.repository.GLib.GError: gtk-icon-theme-error-quark: Icon 'emblem-new' not present in theme Adwaita (0)
runlevel:       N 5
type:           Python3
uid:            1000

Comment 8 jesse 2022-05-19 15:27:59 UTC
Similar problem has been detected:

- Invoke meld from gnome-terminal to recursively compare 2 directories
  `meld dir1 dir2`
- meld launches but abrt reports an error
- meld rendering of left panel is corrupted and there are odd artifacts which mousing over or otherwise working with the left buffer

The abrt error seems to indicate there is some missing theme icon

reporter:       libreport-2.17.1
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-org.gnome.Terminal.slice/vte-spawn-87179c45-2b0f-4a14-84b9-aedc0ed66085.scope
cmdline:        /usr/bin/python3 /usr/bin/meld some-service/ some-platform/java-xxx-converter/
crash_function: _get_pixbuf
environ:        
exception_type: gi.repository.GLib.GError
executable:     /usr/bin/meld
interpreter:    python3-3.10.4-1.fc36.x86_64
kernel:         5.17.7-300.fc36.x86_64
mountinfo:      
package:        meld-3.21.0-9.fc36
reason:         emblemcellrenderer.py:64:_get_pixbuf:gi.repository.GLib.GError: gtk-icon-theme-error-quark: Icon 'emblem-new' not present in theme Adwaita (0)
runlevel:       N 5
type:           Python3
uid:            1000

Comment 9 Kamil Páral 2022-05-24 10:43:35 UTC
Dominic, can you please cherry-pick the fix as suggested in the upstream report, until a new release is out?
https://gitlab.gnome.org/GNOME/meld/-/issues/672
Currently Meld is seriously broken.

Comment 10 f.j.panag 2022-06-01 10:16:30 UTC
Similar problem has been detected:

Happens when I select to compare two directories.

reporter:       libreport-2.17.1
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-gnome-org.gnome.Meld-1932136.scope
cmdline:        /usr/bin/python3 /usr/bin/meld
crash_function: _get_pixbuf
exception_type: gi.repository.GLib.GError
executable:     /usr/bin/meld
interpreter:    python3-3.10.4-1.fc36.x86_64
kernel:         5.17.9-300.fc36.x86_64
package:        meld-3.21.0-9.fc36
reason:         emblemcellrenderer.py:64:_get_pixbuf:gi.repository.GLib.GError: gtk-icon-theme-error-quark: Icon 'emblem-new' not present in theme Adwaita (0)
runlevel:       N 5
type:           Python3
uid:            1000

Comment 11 Jon Dufresne 2022-06-04 14:27:21 UTC
I was able to workaround the issue by installing the gnome-icon-theme package. Should this package be a dependency?

Comment 12 Mads Kiilerich 2022-06-04 20:27:22 UTC
*** Bug 2093637 has been marked as a duplicate of this bug. ***

Comment 13 Kamil Páral 2022-06-06 12:05:33 UTC
Jon, thanks for this workaround! I think the gnome-icon-theme package is just a temporary solution until a new version of meld is released and updated in Fedora. In the meantime, either the gnome-icon-theme package or cherry-picking the fix from comment 9 is necessary. I'll try to email Dominik, the package maintainer, directly.

Comment 14 Mads Kiilerich 2022-06-06 13:12:37 UTC
I created https://src.fedoraproject.org/rpms/meld/pull-request/6 with a backport of the fix (and also a PR for the prerequisite fix for FTBF).

Scratch build on https://koji.fedoraproject.org/koji/taskinfo?taskID=87884319 .

Comment 15 Kamil Páral 2022-06-28 06:47:09 UTC
Here's the update for this problem:
https://bodhi.fedoraproject.org/updates/FEDORA-2022-8dc172c1f4

Comment 16 Fedora Update System 2022-06-28 17:27:03 UTC
FEDORA-2022-8dc172c1f4 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-8dc172c1f4

Comment 17 Fedora Update System 2022-06-29 02:07:14 UTC
FEDORA-2022-8dc172c1f4 has been pushed to the Fedora 36 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.