GNOME Bugzilla – Bug 767396
GLib.Error: gtk-icon-theme-error-quark: Icon 'meld-change-apply-right' not present in theme gnome (0)
Last modified: 2016-06-10 22:50:07 UTC
When I try to diff files will meld I get this error and no diff is produced. Example: meld tmp1.txt tmp2.txt Traceback (most recent call last):
+ Trace 236313
tab = self.parse_args(command_line)
focus=i == 0)
return window.open_paths(paths, **kwargs)
paths, auto_compare=auto_compare, auto_merge=auto_merge)
paths, merge_output=merge_output, meta=meta)
doc = filediff.FileDiff(len(files))
from meld.gutterrendererchunk import GutterRendererChunkAction, GutterRendererChunkLines
GtkSource.GutterRendererPixbuf, MeldGutterRenderer):
MODE_REPLACE: load("meld-change-apply-right"),
return icon_theme.load_icon(icon_name, LINE_HEIGHT, 0)
How did you install Meld? That error is almost certainly indicative of a bad install.
I installed Meld on archlinux using the rgular package manager 'pacman'. I inestigates further and found that the icons were installed in /usr/share/icons/hicolor/16x16/actions. Since the error mentioned the gnome theme I took a wild guesa and tried ln -s /usr/share/icons/hicolor/16x16/actions/meld* /usr/share/icons/gnome/16x16/actions/ That actually worked, so maybe that suggests a packaging error? c.f. https://bbs.archlinux.org/viewtopic.php?id=213515 and http://stackoverflow.com/questions/35794241/meld-gi-glib-gerror-icon-meld-change-apply-right-not-present-in-theme-wha and
Yeah, that looks like a packaging error to me. I'm glad that's fixed it for you, but I suspect the actual fix is for the packaging script to call gtk-update-icon-cache after the install. We do this by default in our install script, but provide a flag to disable it (for distribution packaging reasons) which Arch is using. I think the only reason it's worked up until now is that we only just moved actually-loaded icons (other than the default logo) into theme directories.