Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 499970 - media-video/arista - arista-gtk: glib.GError: Icon 'gtk-cdrom' not present in theme
Summary: media-video/arista - arista-gtk: glib.GError: Icon 'gtk-cdrom' not present in...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-01 12:55 UTC by Fabian Köster
Modified: 2016-10-01 07:54 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fabian Köster 2014-02-01 12:55:23 UTC
media-video/arista-0.9.5 crashes on startup with

$ LANG=C arista-gtk 
** Message: pygobject_register_sinkfunc is deprecated (GstObject)
Traceback (most recent call last):
  File "/usr/bin/arista-gtk", line 1671, in <module>
    main = MainWindow(options)
  File "/usr/bin/arista-gtk", line 397, in __init__
    self.setup_source()
  File "/usr/bin/arista-gtk", line 544, in setup_source
    model.set_value(iter, 0, theme.load_icon(icon, size, 0))
glib.GError: Icon 'gtk-cdrom' not present in theme

media-video/arista-0.9.7 starts, but crashes with the same message when clicking on "Create conversion".

Reproducible: Always
Comment 1 Fabian Köster 2014-02-01 12:57:45 UTC
By the way, gnome-icon-theme is installed:

x11-themes/gnome-icon-theme-3.8.3 was built with the following:
USE="branding"

and it contains gtk-cdrom icon:

# equery f gnome-icon-theme | grep gtk-cdrom
/usr/share/icons/gnome/16x16/devices/gtk-cdrom.png
/usr/share/icons/gnome/22x22/devices/gtk-cdrom.png
/usr/share/icons/gnome/24x24/devices/gtk-cdrom.png
/usr/share/icons/gnome/256x256/devices/gtk-cdrom.png
/usr/share/icons/gnome/32x32/devices/gtk-cdrom.png
/usr/share/icons/gnome/48x48/devices/gtk-cdrom.png
Comment 2 Fabian Köster 2014-02-01 12:58:06 UTC
If it matters, I use KDE as desktop.
Comment 3 Fabian Köster 2014-02-01 13:09:34 UTC
Just noticed: I installed kde-misc/kde-gtk-config and configured Gtk applications to use KDE's Oxygen icon theme. If I switch it back to GNOME, arista-gtk works as intended.

So this problem only occurs if I use a different icon-theme for Gtk applications. But arista should not fail in this case, it should fallback to using no icons.
Comment 4 Matteo 2014-06-23 16:51:19 UTC
I have the same error:

$ arista-gtk 
** Message: pygobject_register_sinkfunc is deprecated (GstObject)
Traceback (most recent call last):
  File "/usr/bin/arista-gtk", line 1671, in <module>
    main = MainWindow(options)
  File "/usr/bin/arista-gtk", line 397, in __init__
    self.setup_source()
  File "/usr/bin/arista-gtk", line 544, in setup_source
    model.set_value(iter, 0, theme.load_icon(icon, size, 0))
glib.GError: Icona «gtk-cdrom» non presente nel tema


But in my case, changing icon (using gnome-icon) not works...


Anyway, i should have that icons....

$ equery f gnome-icon-theme | grep gtk-cdrom
/usr/share/icons/gnome/16x16/devices/gtk-cdrom.png
/usr/share/icons/gnome/22x22/devices/gtk-cdrom.png
/usr/share/icons/gnome/24x24/devices/gtk-cdrom.png
/usr/share/icons/gnome/256x256/devices/gtk-cdrom.png
/usr/share/icons/gnome/32x32/devices/gtk-cdrom.png
/usr/share/icons/gnome/48x48/devices/gtk-cdrom.png
Comment 5 Pacho Ramos gentoo-dev 2016-10-01 07:54:57 UTC
removed