Meld - gi._glib.GError: The "meld-change-apply-right" icon is missing from the theme. What happened to the installation?

I managed to install meld 3.14.2 and all the dependency packages by compiling each package from the source code, and they are all installed on the NFS share with --prefix=<base>/meld for the tool --prefix=<base>/meld/deps && --prefix=<base>/meld/deps for dependencies.

Finally, I called the tool and see the graphical interface. But when I try to do some functional testing, it gives me errors. I have never used a tool. So, I don't know how this should work for sure. But users pointed out the following error, and I think there could be many other errors. But the following is one of them.

 $meld GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications. II 1 Traceback (most recent call last): File "/applics/platform/meld/meld-3.14.2/lib/python2.7/site-packages/meld/newdifftab.py", line 117, in on_button_compare_clicked tab = self.diff_methods[self.diff_type](compare_paths) File "/applics/platform/meld/meld-3.14.2/lib/python2.7/site-packages/meld/meldwindow.py", line 647, in append_filediff doc = filediff.FileDiff(len(files)) File "/applics/platform/meld/meld-3.14.2/lib/python2.7/site-packages/meld/filediff.py", line 281, in __init__ from meld.gutterrendererchunk import GutterRendererChunkAction File "/applics/platform/meld/meld-3.14.2/lib/python2.7/site-packages/meld/gutterrendererchunk.py", line 33, in <module> class GutterRendererChunkAction(GtkSource.GutterRendererPixbuf): File "/applics/platform/meld/meld-3.14.2/lib/python2.7/site-packages/meld/gutterrendererchunk.py", line 38, in GutterRendererChunkAction MODE_REPLACE: load("meld-change-apply-right"), File "/applics/platform/meld/meld-3.14.2/lib/python2.7/site-packages/meld/gutterrendererchunk.py", line 30, in load return icon_theme.load_icon(icon_name, LINE_HEIGHT, 0) File "/applics/platform/meld/meld-3.14.2/dependencies/lib/python2.7/site-packages/gi/types.py", line 113, in function return info.invoke(*args, **kwargs) gi._glib.GError: Icon 'meld-change-apply-right' not present in theme 

Please tell me what could be wrong?

The following variables I used during installation and while using the tool.

PATH, LD_LIBRARY_PATH, PKG_CONFIG_PATH, PYTHONPATH, GSETTINGS_SCHEMA_DIR

The reason for using all of these paths is that this is a fully customizable installation, since GTK versions, etc., were already running on the servers, etc. And we donโ€™t want to break them and we want a separate setting for combining, and also so that One and the same installation shared on NFS can be used from multiple servers.

But, unlike the other tools that we usually install, meld has very serious dependencies, and we need to compile complex packages such as GTK.

Anyway, can anyone tell us what is wrong with the current installation? And do I need to install more variables and references, or do I need to install modules again with additional options? Now I have installed only recommended dependencies for each package and left optional package dependencies.

And as for the error, I can find the png file in my installation <base>/meld/share/icons/hicolor/16x16/actions/meld-change-apply-right.png , why can't the tool find it? What does the topic mean here?

I was actually very proud of myself when I saw the window, but now it seems that this is just an empty window with zero functionality :(

enter image description here

+9
libpng glib gtk meld gio
source share
5 answers

I got this error too, and
Reinstalling meld & gnome-icon-theme fixed my problem:

 sudo apt-get install --reinstall meld gnome-icon-theme 

without --reinstall I only get the following for my Ubuntu 18.04.1 LTS:

 $ sudo apt-get install meld gnome-icon-theme Reading package lists... Done Building dependency tree Reading state information... Done gnome-icon-theme is already the newest version (3.12.0-3). meld is already the newest version (3.18.0-6). 
+2
source share

I had a similar problem with running Meld 3.16.0 on Archlinux. In my case, the specific error message was GLib.Error: gtk-icon-theme-error-quark: Icon 'meld-change-apply-right' not present in theme gnome (0) .

I โ€œfixedโ€ it by creating symbolic links from the directory where the Meld badges were installed in the place where Meld seems to be looking for these badges. In my case, it meant ln -s /usr/share/icons/hicolor/16x16/actions/meld* /usr/share/icons/gnome/16x16/actions/ .

I believe this is work, not a real solution, but at least Meld is working correctly.

+1
source share

I decided on Ubuntu 16.04 with

 sudo apt-get install gnome-icon-theme 
+1
source share

I decided to reinstall meld

 $ sudo apt-get install meld 

(a new version was available in debian stretch). The problem is gone.

0
source share

Reinstalling solved the problem in my case too on CentOs 7.

 sudo yum remove meld sudo yum install meld 
0
source share

All Articles