[Pacemaker] Pacemaker GUI won't start if it can't determine the format of its window icon

Florian Haas florian at linbit.com
Mon May 18 12:30:30 UTC 2009


For the record: fixed by "/usr/bin/gdk-pixbuf-query-loaders >
/etc/gtk-2.0/gdk-pixbuf.loaders". Maybe this is missing from the SLE 11
gtk2 RPM post-install script?

Cheers,
Florian

On 2009-05-18 13:46, Florian Haas wrote:
> Hello,
> 
> seen on SLE 11 HAE, Pacemaker 1.0.3, Pacemaker GUI 1.4:
> 
> # crm_gui
> /usr/bin/crm_gui:5785: GtkWarning: Cannot open pixbuf loader module file
> '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory
>   win_widget.set_icon_from_file("/usr/share/heartbeat-gui/ha.png")
> Traceback (most recent call last):
>   File "/usr/bin/crm_gui", line 9127, in <module>
>     window = MainWindow()
>   File "/usr/bin/crm_gui", line 5785, in __init__
>     win_widget.set_icon_from_file("/usr/share/heartbeat-gui/ha.png")
> glib.GError: Couldn't recognize the image file format for file
> '/usr/share/heartbeat-gui/ha.png'
> 
> This is be a fatal error (the GError, not the GtkWarning), which seems
> somewhat excessive to me. Not being able to set a window icon shouldn't
> be causing the app to bomb out.
> 
> And, this of course seems to point to a unclean package dependency on
> SLE 11. But that's probably not best discussed here -- someone with the
> karma to file a Novell Bugzilla entry might want to do so. :)
> 
> Cheers,
> Florian





More information about the Pacemaker mailing list