GNOME Bugzilla – Bug 632344
[picasa] creating a new folder inside the picasa export dialog makes f-spot crash
Last modified: 2010-11-09 13:16:31 UTC
1. Select a picture 2. Select Menu 'Photo → Export to → PicasaWeb…' 3. Press "Add" under Album Section 4. Crash it seems the glade file ressource is missing baptiste@oak:~$ f-spot [Info 10:40:20.997] Initializing Mono.Addins (f-spot:3128): GdkPixbuf-WARNING **: GdkPixbufLoader finalized without calling gdk_pixbuf_loader_close() - this is not allowed. You must explicitly end the data stream to the loader before dropping the last reference. Marshaling clicked signal Exception in Gtk# callback delegate Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception. System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentException: Cannot get resource file 'google_add_album_dialog.glade' Parameter name: resource_name at GtkBeans.Builder..ctor (System.Reflection.Assembly assembly, System.String resource_name, System.String translation_domain) [0x00000] in <filename unknown>:0 at FSpot.Exporters.PicasaWeb.GoogleAddAlbum..ctor (FSpot.Exporters.PicasaWeb.GoogleExport export, Mono.Google.Picasa.PicasaWeb picasa) [0x00000] in <filename unknown>:0 at FSpot.Exporters.PicasaWeb.GoogleExport.HandleAddAlbum (System.Object sender, System.EventArgs args) [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 --- End of inner exception stack trace --- at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0 at System.Delegate.DynamicInvokeImpl (System.Object[] args) [0x00000] in <filename unknown>:0 at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) [0x00000] in <filename unknown>:0 at System.Delegate.DynamicInvoke (System.Object[] args) [0x00000] in <filename unknown>:0 at GLib.Signal.ClosureInvokedCB (System.Object o, GLib.ClosureInvokedArgs args) [0x00000] in <filename unknown>:0 at GLib.SignalClosure.Invoke (GLib.ClosureInvokedArgs args) [0x00000] in <filename unknown>:0 at GLib.SignalClosure.MarshalCallback (IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data) [0x00000] in <filename unknown>:0 at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean is_terminal) at GLib.SignalClosure.MarshalCallback(IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_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 have the same Problem on Ubuntu 10.10 ** Running f-spot in Debug Mode ** ** Running Mono with --debug ** [1 Info 05:10:25.832] Initializing Mono.Addins [1 Debug 05:10:26.068] Mono.Addins Initialization took 0.22217 [1 Debug 05:10:26.267] Db Initialization took 0.079739 [1 Debug 05:10:26.619] Query Started : SELECT * FROM photos WHERE photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY time DESC, filename ASC [1 Debug 05:10:26.713] QueryToTemp took 0.093465 : SELECT * FROM photos WHERE photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY time DESC, filename ASC [1 Debug 05:10:26.713] Reloading the query took 0.100025 [1 Debug 05:10:26.835] Query took 0.012314 : SELECT * FROM photoquery_temp_0 LIMIT 100 OFFSET 0 [1 Debug 05:10:26.902] Query Started : SELECT * FROM photos WHERE photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY time DESC, filename ASC [1 Debug 05:10:27.006] QueryToTemp took 0.104479 : SELECT * FROM photos WHERE photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY time DESC, filename ASC [2 Debug 05:10:27.073] PhotosPerMonth took 0.14172 [2 Debug 05:10:27.074] TimeAdaptor REAL Reload took 0.065669 [1 Debug 05:10:27.083] Query took 0.001417 : SELECT * FROM photoquery_temp_0 LIMIT 100 OFFSET 0 [1 Debug 05:10:27.189] open uri = file:///home/holly/Pictures/Photos/2010/10/23/IMG_4768.JPG [1 Debug 05:10:27.205] Reloading the query took 0.303946 [3 Debug 05:10:27.339] PhotosPerMonth took 0.125703 [3 Debug 05:10:27.340] TimeAdaptor REAL Reload took 0.330965 (f-spot:25336): GdkPixbuf-WARNING **: GdkPixbufLoader finalized without calling gdk_pixbuf_loader_close() - this is not allowed. You must explicitly end the data stream to the loader before dropping the last reference. [1 Debug 05:10:27.543] Loading image took 0.457961 [1 Debug 05:10:30.967] open uri = file:///home/holly/Pictures/Photos/2010/10/23/IMG_4768.JPG Domain: 'GdkPixbuf' Level: Critical Message: gdk_pixbuf_scale_simple: assertion `dest_height > 0' failed Trace follows: at GLib.Log.PrintTraceLogFunction(System.String domain, LogLevelFlags level, System.String message) at Gdk.Pixbuf.gdk_pixbuf_scale_simple(IntPtr , Int32 , Int32 , Int32 ) at Gdk.Pixbuf.ScaleSimple(Int32 dest_width, Int32 dest_height, InterpType interp_type) at PixbufUtils.ScaleToMaxSize(Gdk.Pixbuf pixbuf, Int32 width, Int32 height, Boolean upscale) at PixbufUtils.ScaleToMaxSize(Gdk.Pixbuf pixbuf, Int32 width, Int32 height) at FSpot.Histogram.Generate(Gdk.Pixbuf input, Int32 max_width) at FSpot.Widgets.InfoBox.DelayedUpdateHistogram() at FSpot.Utils.DelayedOperation.HandleOperation() at GLib.Idle+IdleProxy.Handler() 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) [1 Debug 05:10:35.820] GoogleAccount.Connect() Marshaling clicked signal Exception in Gtk# callback delegate Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception. System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentException: Cannot get resource file 'google_add_album_dialog.glade' Parameter name: resource_name at GtkBeans.Builder..ctor (System.Reflection.Assembly assembly, System.String resource_name, System.String translation_domain) [0x00000] in <filename unknown>:0 at FSpot.Exporters.PicasaWeb.GoogleAddAlbum..ctor (FSpot.Exporters.PicasaWeb.GoogleExport export, Mono.Google.Picasa.PicasaWeb picasa) [0x00000] in <filename unknown>:0 at FSpot.Exporters.PicasaWeb.GoogleExport.HandleAddAlbum (System.Object sender, System.EventArgs args) [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 --- End of inner exception stack trace --- at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0 at System.Delegate.DynamicInvokeImpl (System.Object[] args) [0x00000] in <filename unknown>:0 at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) [0x00000] in <filename unknown>:0 at System.Delegate.DynamicInvoke (System.Object[] args) [0x00000] in <filename unknown>:0 at GLib.Signal.ClosureInvokedCB (System.Object o, GLib.ClosureInvokedArgs args) [0x00000] in <filename unknown>:0 at GLib.SignalClosure.Invoke (GLib.ClosureInvokedArgs args) [0x00000] in <filename unknown>:0 at GLib.SignalClosure.MarshalCallback (IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data) [0x00000] in <filename unknown>:0 at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean is_terminal) at GLib.SignalClosure.MarshalCallback(IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_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) [4 Debug 05:10:43.336] Finalizer called on FSpot.Widgets.Filmstrip. Should be Disposed [4 Debug 05:10:43.337] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 05:10:43.337] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 05:10:43.337] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 05:10:43.337] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 05:10:43.339] Finalizer called on FSpot.PhotoView. Should be Disposed [4 Debug 05:10:43.340] Finalizer called on FSpot.Utils.DisposableCache`2[Hyena.SafeUri,Gdk.Pixbuf]. Should be Disposed [4 Debug 05:10:43.342] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 05:10:43.342] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 05:10:43.342] Finalizer called on FSpot.Utils.DisposableCache`2[System.String,Gdk.Pixbuf]. Should be Disposed
Same problem with f-spot 0.8.0 OS Ubuntu 10.10 64bit Kernel 2.6.35.22 Gnome 2.32.0 libgtk2.0-0 2.22.0 mono-runtime 2.6.7 ** Running f-spot in Debug Mode ** ** Running Mono with --debug ** [1 Info 11:25:16.997] Initializing Mono.Addins [1 Debug 11:25:17.274] Mono.Addins Initialization took 0,264061 [1 Debug 11:25:17.601] Db Initialization took 0,177707 [1 Debug 11:25:18.049] Query Started : SELECT * FROM photos WHERE photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY time DESC, filename ASC [1 Debug 11:25:18.302] QueryToTemp took 0,252705 : SELECT * FROM photos WHERE photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY time DESC, filename ASC [1 Debug 11:25:18.302] Reloading the query took 0,256092 [2 Debug 11:25:18.611] PhotosPerMonth took 0,078732 [2 Debug 11:25:18.613] TimeAdaptor REAL Reload took 0,283033 [1 Debug 11:25:20.731] Query took 0,015205 : SELECT * FROM photoquery_temp_0 LIMIT 100 OFFSET 0 [1 Debug 11:25:20.814] Query Started : SELECT * FROM photos WHERE photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY time DESC, filename ASC [1 Debug 11:25:21.080] QueryToTemp took 0,265662 : SELECT * FROM photos WHERE photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY time DESC, filename ASC [1 Debug 11:25:21.116] Query took 0,001901 : SELECT * FROM photoquery_temp_0 LIMIT 100 OFFSET 0 [1 Debug 11:25:21.281] open uri = file:///home/******/Images/Photo/2010-10-31/IMG_2597.JPG [1 Debug 11:25:21.307] Reloading the query took 0,492863 [3 Debug 11:25:21.371] PhotosPerMonth took 0,085414 [3 Debug 11:25:21.372] TimeAdaptor REAL Reload took 0,289825 (f-spot:4168): GdkPixbuf-WARNING **: GdkPixbufLoader finalized without calling gdk_pixbuf_loader_close() - this is not allowed. You must explicitly end the data stream to the loader before dropping the last reference. [1 Debug 11:25:22.077] Loading image took 0,958485 [1 Debug 11:27:51.549] GoogleAccount.Connect() Marshaling clicked signal Exception in Gtk# callback delegate Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception. System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentException: Cannot get resource file 'google_add_album_dialog.glade' Parameter name: resource_name at GtkBeans.Builder..ctor (System.Reflection.Assembly assembly, System.String resource_name, System.String translation_domain) [0x00000] in <filename unknown>:0 at FSpot.Exporters.PicasaWeb.GoogleAddAlbum..ctor (FSpot.Exporters.PicasaWeb.GoogleExport export, Mono.Google.Picasa.PicasaWeb picasa) [0x00000] in <filename unknown>:0 at FSpot.Exporters.PicasaWeb.GoogleExport.HandleAddAlbum (System.Object sender, System.EventArgs args) [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 --- End of inner exception stack trace --- at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0 at System.Delegate.DynamicInvokeImpl (System.Object[] args) [0x00000] in <filename unknown>:0 at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) [0x00000] in <filename unknown>:0 at System.Delegate.DynamicInvoke (System.Object[] args) [0x00000] in <filename unknown>:0 at GLib.Signal.ClosureInvokedCB (System.Object o, GLib.ClosureInvokedArgs args) [0x00000] in <filename unknown>:0 at GLib.SignalClosure.Invoke (GLib.ClosureInvokedArgs args) [0x00000] in <filename unknown>:0 at GLib.SignalClosure.MarshalCallback (IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data) [0x00000] in <filename unknown>:0 at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean is_terminal) at GLib.SignalClosure.MarshalCallback(IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_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) [4 Debug 11:28:18.780] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 11:28:18.780] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 11:28:18.780] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 11:28:18.780] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 11:28:18.780] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 11:28:18.780] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 11:28:18.780] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 11:28:18.780] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 11:28:18.780] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 11:28:18.780] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 11:28:18.781] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 11:28:18.781] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 11:28:18.781] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 11:28:18.781] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 11:28:18.781] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 11:28:18.781] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 11:28:18.781] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 11:28:18.781] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 11:28:18.781] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 11:28:18.781] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 11:28:18.781] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 11:28:18.781] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 11:28:18.781] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 11:28:18.781] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 11:28:18.781] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 11:28:18.781] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 11:28:18.781] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 11:28:18.781] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 11:28:18.781] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 11:28:18.781] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 11:28:18.781] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 11:28:18.782] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 11:28:18.782] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 11:28:18.782] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 11:28:18.782] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 11:28:18.782] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 11:28:18.782] Finalizer called on FSpot.Core.Category. Should be Disposed
Additionnal comment to "comment 2" : No crash when album already exist: I can add pictures with no problem in an existing picasa album. But can not create a new album as described by Baptiste Mille-Mathias.
Duplicate of Bug 629797 https://bugzilla.gnome.org/show_bug.cgi?id=629797 Already solved ! Sorry.
*** This bug has been marked as a duplicate of bug 629797 ***