Re: f-spot on Fedora 17 doesn't start



On Fri, 2012-10-05 at 10:52 -0400, Dave Sill wrote:
> I'm a long-time f-spot user. Recently reinstalled my desktop system
> and now f-spot doesn't start. I've installed the package
> f-spot-0.8.2-6.fc17.x86_64.rpm.
> Here's what happens:
> [Info  10:49:05.668] Initializing Mono.Addins
> (f-spot:12635): Gtk-CRITICAL **: IA__gtk_style_detach: assertion `style->attach_count > 0' failed
> Exception in Gtk# callback delegate
>   Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception.
> System.NullReferenceException: Object reference not set to an instance of an object
>   at FSpot.Core.Tag.get_SizedIcon () [0x00000] in <filename unknown>:0 
>   at FSpot.TagSelectionWidget.IconDataFunc (Gtk.TreeViewColumn column, Gtk.CellRenderer renderer, TreeModel model, TreeIter iter) [0x00000] in <filename unknown>:0 
>   at GtkSharp.TreeCellDataFuncWrapper.NativeCallback (IntPtr tree_column, IntPtr cell, IntPtr tree_model, IntPtr iter, IntPtr data) [0x00000] in <filename unknown>:0 
>    at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean is_terminal)
>    at GtkSharp.TreeCellDataFuncWrapper.NativeCallback(IntPtr tree_column, IntPtr cell, IntPtr tree_model, IntPtr iter, IntPtr data)
>    at Gtk.Application.gtk_main()
>    at Gtk.Application.Run()
>    at FSpot.Driver.Startup()
>    at Hyena.Gui.CleanRoomStartup.Startup(Hyena.Gui.StartupInvocationHandler startup)
>    at FSpot.Driver.Main(System.String[] args)
> I'm running KDE.
> Any ideas?

It looks like it could be related to Gtk themes;  perhaps your themes
are not installed or borked somehow?


// We can use a SizedIcon everywhere we were using an Icon
public Pixbuf SizedIcon {
	get {
		if (tag_icon_size == IconSize.Hidden) //Hidden
			return null;
		if (tag_icon_size == cached_icon_size)
			return cached_icon;
		if (ThemeIconName != null) { //Theme icon
			if (cached_icon != null)
				cached_icon.Dispose ();
			cached_icon = GtkUtil.TryLoadIcon (Global.IconTheme, ThemeIconName,
(int) tag_icon_size, (Gtk.IconLookupFlags)0);

			if (Math.Max (cached_icon.Width, cached_icon.Height) <= (int)
tag_icon_size)
				return cached_icon;
		}
		if (Icon == null)
			return null;

		if (Math.Max (Icon.Width, Icon.Height) >= (int) tag_icon_size)
{ //Don't upscale
			if (cached_icon != null)
				cached_icon.Dispose ();
			cached_icon = Icon.ScaleSimple ((int) tag_icon_size, (int)
tag_icon_size, InterpType.Bilinear);
			cached_icon_size = tag_icon_size;
			return cached_icon;
		} else
			return Icon;
	}
}





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]