Jump to content

Icon 'unknown' not present in theme


Recommended Posts

Kubuntu latest version with all updates

KDE

Fix this .

2019-06-21 19:16:33,991 ktoto ERROR Program - The runtime is terminating [False]
2019-06-21 19:16:33,994 ktoto ERROR ExceptionHandler - [HandleUnhandledGLibException] Unexpected error: Icon 'unknown' not present in theme
2019-06-21 19:16:33,995 ktoto DEBUG ExceptionHandler - Stack trace:   at Gtk.IconTheme.LoadIcon (System.String icon_name, System.Int32 size, Gtk.IconLookupFlags flags) [0x00048] in <dc5edc3cf5244a9e8b6ef8d8ca6b6434>:0
  at bo.a (System.String A_0) [0x0003d] in <2540d0696db14974811be605e4914b60>:0
  at bo.h (System.String A_0) [0x00007] in <2540d0696db14974811be605e4914b60>:0
  at bo.e (System.String A_0) [0x00001] in <2540d0696db14974811be605e4914b60>:0
  at x0.a (r6 A_0) [0x0005b] in <2540d0696db14974811be605e4914b60>:0
  at x0.a (Gtk.TreeViewColumn A_0, Gtk.CellRenderer A_1, Gtk.TreeModel A_2, Gtk.TreeIter A_3) [0x0001e] in <2540d0696db14974811be605e4914b60>:0
  at GtkSharp.TreeCellDataFuncWrapper.NativeCallback (System.IntPtr tree_column, System.IntPtr cell, System.IntPtr tree_model, System.IntPtr iter, System.IntPtr data) [0x0002c] in <dc5edc3cf5244a9e8b6ef8d8ca6b6434>:0
2019-06-21 19:16:34,001 ktoto ERROR Program - The runtime is terminating [False]
2019-06-21 19:16:34,002 ktoto ERROR ExceptionHandler - [HandleUnhandledGLibException] Unexpected error: Icon 'unknown' not present in theme
2019-06-21 19:16:34,003 ktoto DEBUG ExceptionHandler - Stack trace:   at Gtk.IconTheme.LoadIcon (System.String icon_name, System.Int32 size, Gtk.IconLookupFlags flags) [0x00048] in <dc5edc3cf5244a9e8b6ef8d8ca6b6434>:0
  at bo.a (System.String A_0) [0x0003d] in <2540d0696db14974811be605e4914b60>:0
  at bo.h (System.String A_0) [0x00007] in <2540d0696db14974811be605e4914b60>:0
  at bo.e (System.String A_0) [0x00001] in <2540d0696db14974811be605e4914b60>:0
  at x0.a (r6 A_0) [0x0005b] in <2540d0696db14974811be605e4914b60>:0
  at x0.a (Gtk.TreeViewColumn A_0, Gtk.CellRenderer A_1, Gtk.TreeModel A_2, Gtk.TreeIter A_3) [0x0001e] in <2540d0696db14974811be605e4914b60>:0
  at GtkSharp.TreeCellDataFuncWrapper.NativeCallback (System.IntPtr tree_column, System.IntPtr cell, System.IntPtr tree_model, System.IntPtr iter, System.IntPtr data) [0x0002c] in <dc5edc3cf5244a9e8b6ef8d8ca6b6434>:0
2019-06-21 19:16:34,007 ktoto ERROR Program - The runtime is terminating [False]
2019-06-21 19:16:38,950 ktoto DEBUG Telemetry - Flush time 5509 ms

 

Link to comment
Share on other sites

Hello,

Please give a try to the following workaround, and let us know if it worked.

The errors are due to a missing icon in your current GTK icon theme (as the error messages say). One workaround is trying to install a new theme, we can also try to change the icon theme using the gtkrc-2.0 configuration file.

1) Navigate to /usr/share/icons

2) List the directory content. For me, the content of /usr/share/icons is:

Adawaita, HighContrast, Humanity, Humanity-Dark, LoginIcons, default, hicolor, locolor, ubuntu-mono-dark and ubuntu-mono-light.

3) Create a file in your $HOME with name .gtkrc-2.0 and the following content:

gtk-icon-theme-name="Humanity"

If you don't like the Humanity icon theme, or you don't have it available, you can choose other theme changing "Humanity" for any of the icon themes you have in /usr/share/icons.

4) Save the contents of .gtkrc-2.0 and restart gtkplastic. Change the theme if the error persists.

Regards,

Carlos.
 

Link to comment
Share on other sites

It is only started to work after installation legacy gtk 2 iconset in kde settings. Because it is using legacy icons i am afraid that can happen one day when it will be not possible to use it anymore because old iconset will be removed from distribution.

Beside this, modal window "Icon 'unknown' not present in theme" absolutely block any actions with gui inteface. Not possible even to close application.  Is it possible to change little bit policy about error reports for example all not critical errors send to log files only without modals.

Basically linux gtk client looks little bit outdated. May be exist sense to move to qt instead of gtk ?

May be as a another solution to prevent such kind of issues : will be nice to have opportunity to configure iconset (icon mappings) inside config files.

Or may be i think the best it will be nice to add Plastic own iconset to plastic client installation package and place all needed icons to installation directory . In this case you unbind your project from different linux distributions .

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...