After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 767396 - GLib.Error: gtk-icon-theme-error-quark: Icon 'meld-change-apply-right' not present in theme gnome (0)
GLib.Error: gtk-icon-theme-error-quark: Icon 'meld-change-apply-right' not pr...
Status: RESOLVED NOTGNOME
Product: meld
Classification: Other
Component: general
3.16.x
Other Linux
: Normal normal
: ---
Assigned To: meld-maint
meld-maint
Depends on:
Blocks:
 
 
Reported: 2016-06-08 13:55 UTC by Ista
Modified: 2016-06-10 22:50 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Ista 2016-06-08 13:55:26 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):
  • File "/usr/lib/python2.7/site-packages/meld/meldapp.py", line 78 in do_command_line
    tab = self.parse_args(command_line)
  • File "/usr/lib/python2.7/site-packages/meld/meldapp.py", line 336 in parse_args
    focus=i == 0)
  • File "/usr/lib/python2.7/site-packages/meld/meldapp.py", line 155 in open_files
    return window.open_paths(paths, **kwargs)
  • File "/usr/lib/python2.7/site-packages/meld/meldwindow.py", line 774 in open_paths
    paths, auto_compare=auto_compare, auto_merge=auto_merge)
  • File "/usr/lib/python2.7/site-packages/meld/meldwindow.py", line 723 in append_diff
    paths, merge_output=merge_output, meta=meta)
  • File "/usr/lib/python2.7/site-packages/meld/meldwindow.py", line 690 in append_filediff
    doc = filediff.FileDiff(len(files))
  • File "/usr/lib/python2.7/site-packages/meld/filediff.py", line 248 in __init__
    from meld.gutterrendererchunk import GutterRendererChunkAction, GutterRendererChunkLines
  • File "/usr/lib/python2.7/site-packages/meld/gutterrendererchunk.py", line 96 in <module>
    GtkSource.GutterRendererPixbuf, MeldGutterRenderer):
  • File "/usr/lib/python2.7/site-packages/meld/gutterrendererchunk.py", line 101 in GutterRendererChunkAction
    MODE_REPLACE: load("meld-change-apply-right"),
  • File "/usr/lib/python2.7/site-packages/meld/gutterrendererchunk.py", line 35 in load
    return icon_theme.load_icon(icon_name, LINE_HEIGHT, 0)
GLib.Error: gtk-icon-theme-error-quark: Icon 'meld-change-apply-right' not present in theme gnome (0)

Comment 1 Kai Willadsen 2016-06-09 20:46:55 UTC
How did you install Meld? That error is almost certainly indicative of a bad install.
Comment 2 Ista 2016-06-09 21:19:54 UTC
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
Comment 3 Kai Willadsen 2016-06-10 22:50:07 UTC
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.