Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 496324

Summary: net-wireless/blueman-1.23-r2 - glib.GError: Symbol »gtk-missing-image« nicht im Thema vorhanden
Product: Gentoo Linux Reporter: marius.spix
Component: Current packagesAssignee: Tiziano Müller (RETIRED) <dev-zero>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Low    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description marius.spix 2013-12-28 23:27:22 UTC
When using net-wireless/blueman-1.23-r2  on a non-gnome GTK+ based system (in my case LXDE) the blueman-applet is unusable (only the info menu item works)

Reproducible: Always

Steps to Reproduce:
rc -s slim start
Start a LXDE session
rc -s bluetooth start
The blueman-applet should appear in LXPanel
Left click the applet and try some options like "Setup a new device ..."

Actual Results:  
Nothing happens:

The stderr output of python 2.7:
on_adapter_changed (/usr/lib64/python2.7/site-packages/blueman/gui/manager/ManagerToolbar.py:89)
toolbar adapter /org/bluez/2661/hci0 
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/dbus/connection.py", line 604, in msg_reply_handler
    reply_handler(*message.get_args_list(**get_args_opts))
  File "/usr/bin/blueman-manager", line 171, in on_bluez_name_owner_changed
    self.Menu = ManagerMenu(self)
  File "/usr/lib64/python2.7/site-packages/blueman/gui/manager/ManagerMenu.py", line 60, in __init__
    item = create_menuitem(_("_Translate This Application..."), get_icon("config-language", 16))
  File "/usr/lib64/python2.7/site-packages/blueman/Functions.py", line 183, in get_icon
    icon = ic.load_icon("gtk-missing-image", size, 0) 
glib.GError: Symbol »gtk-missing-image« nicht im Thema vorhanden


The last line translates to: Icon "gtk-missing-image" has not been found in the theme.

Expected Results:  
The chosen dialogue should start even if the file "gtk-missing-image" is missing.

Workaround:
su
THEME=nuoveXT2
convert -size 32x32 xc:white /usr/share/icons/$THEME/32x32/status/gtk-missing-image.png
exit
gtk-update-icon-cache
killall blueman-applet
blueman-applet

Note: I created an additional file for pcmanfm integration for the option "Browse Files on Device" (
/usr/local/bin/obex_pcmanfm.sh):

#!/bin/bash
fusermount -u ~/bluetooth
obexfs -b $1 ~/bluetooth
pcmanfm ~/bluetooth
Comment 1 marius.spix 2013-12-30 12:11:26 UTC
I found a similar issue (but with app-i18n/ibus) here: https://code.google.com/p/ibus/issues/detail?id=1436

However the gtk-missing-image icon does not exist in the package x11-themes/gnome-icon-theme ...

Would it be a workaround to map gtk-missing-image to image-missing in
/usr/share/icon-naming-utils/legacy-icon-mapping.xml ?
Comment 2 marius.spix 2013-12-30 12:26:15 UTC
However the status/image-missing icon only exists in gnome-icon-theme but not in nuoveXT2, so we could map it to the mimetypes/image icon instead or we have to fix lxde-base/lxde-icon-theme, x11-themes/hicolor-icon-theme and so on.
Comment 3 Maxim Koltsov (RETIRED) gentoo-dev 2014-12-07 19:13:29 UTC

*** This bug has been marked as a duplicate of bug 445966 ***