FS#64331 - [meld] Meld cannot find icons

Attached to Project: Arch Linux
Opened by Mucahit Senol (msenol) - Wednesday, 30 October 2019, 16:07 GMT
Last edited by Toolybird (Toolybird) - Friday, 22 September 2023, 06:21 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:


Additional info:
* package version(s)
* config and/or log files etc.
* link to upstream bug report, if any

Steps to reproduce:
meld simply does not work when trying to compare files, because it cannot find icons.

Traceback (most recent call last):
File "/usr/lib/python3.7/site-packages/meld/newdifftab.py", line 147, in on_button_compare_clicked
compare_gfiles, **compare_kwargs)
File "/usr/lib/python3.7/site-packages/meld/meldwindow.py", line 590, in append_filediff
doc = FileDiff(len(gfiles))
File "/usr/lib/python3.7/site-packages/meld/filediff.py", line 249, in __init__
from meld.gutterrendererchunk import (
File "/usr/lib/python3.7/site-packages/meld/gutterrendererchunk.py", line 151, in <module>
GtkSource.GutterRendererPixbuf, MeldGutterRenderer):
File "/usr/lib/python3.7/site-packages/meld/gutterrendererchunk.py", line 156, in GutterRendererChunkAction
MODE_REPLACE: load("meld-change-apply-right"),
File "/usr/lib/python3.7/site-packages/meld/gutterrendererchunk.py", line 46, in load
return icon_theme.load_icon(icon_name, LINE_HEIGHT, 0)
gi.repository.GLib.Error: gtk-icon-theme-error-quark: Icon 'meld-change-apply-right' not present in theme Adwaita (0)
This task depends upon

Closed by  Toolybird (Toolybird)
Friday, 22 September 2023, 06:21 GMT
Reason for closing:  Works for me
Additional comments about closing:  Cannot repro these days.
Comment by Jan Alexander Steffens (heftig) - Wednesday, 20 November 2019, 00:54 GMT
I can't reproduce this.
Comment by Arthur Vuillard (arthru) - Tuesday, 02 February 2021, 10:32 GMT
I had the same bug

I fixed it by installing gnome-icon-theme, and by running `sudo gtk-update-icon-cache --force /usr/share/icons/hicolor`

I can't know if installing gnome-icon-theme was actually useful
Comment by mattia (nTia89) - Saturday, 19 March 2022, 19:00 GMT
I cannot reproduce the issue. Is it still valid for you?
Comment by Steve Ward (planet36) - Tuesday, 12 April 2022, 22:36 GMT
I just encountered this today for the first time.

meld 3.20.4

I installed 'gnome-icon-theme-extras' and ran 'sudo gtk-update-icon-cache --force /usr/share/icons/hicolor'.

The error message is this:

Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/meld/ui/emblemcellrenderer.py", line 95, in do_render
pixbuf = self._get_pixbuf(self._icon_name, self._icon_size)
File "/usr/lib/python3.10/site-packages/meld/ui/emblemcellrenderer.py", line 83, in _get_pixbuf
pixbuf = icon_theme.load_icon(name, size, 0).copy()
gi.repository.GLib.GError: gtk-icon-theme-error-quark: Icon 'dialog-warning' not present in theme Adwaita (0)
cairo.Error: Context.restore() without matching Context.save()
cairo.Error: Context.restore() without matching Context.save()
...
Comment by Buggy McBugFace (bugbot) - Tuesday, 08 August 2023, 19:11 GMT
This is an automated comment as this bug is open for more then 2 years. Please reply if you still experience this bug otherwise this issue will be closed after 1 month.

Loading...