GNOME Bugzilla – Bug 541140
Export to PicasaWeb fails when account has no existing albums
Last modified: 2008-07-02 13:44:24 UTC
Steps to reproduce: 1. Create PicasaWeb account (without any albums) 2. Select photo in F-Spot, select Photo | Export | PicasaWeb 3. Enter username and password in gallery dialog 4. F-Spot crashes (After creating an album through PicasaWeb web interface, everything works OK.) Stack trace: (f-spot:12222): 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. GoogleAccount.Connect() Exception in Gtk# callback delegate Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception. System.ArgumentOutOfRangeException: Index is less than 0 or more than or equal to the list count. Parameter name: index 0 at System.Collections.ArrayList.get_Item (Int32 index) [0x00000] at System.Collections.Specialized.NameObjectCollectionBase.BaseGet (Int32 index) [0x00000] at Mono.Google.Picasa.PicasaAlbumCollection.get_Item (Int32 index) [0x00000] at FSpotGoogleExport.GoogleExport.HandleAlbumOptionMenuChanged (System.Object sender, System.EventArgs args) [0x00000] at GLib.Signal.voidObjectCallback (IntPtr handle, IntPtr data) [0x00000] at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean is_terminal) at GLib.Signal.voidObjectCallback(IntPtr handle, IntPtr data) at GLib.Signal.voidObjectCallback(IntPtr , IntPtr ) at Gtk.OptionMenu.gtk_option_menu_set_menu(IntPtr , IntPtr ) at Gtk.OptionMenu.gtk_option_menu_set_menu(IntPtr , IntPtr ) at Gtk.OptionMenu.set_Menu(Gtk.Widget value) at FSpotGoogleExport.GoogleExport.PopulateAlbumOptionMenu(Mono.Google.Picasa.PicasaWeb picasa) at FSpotGoogleExport.GoogleExport.Connect(FSpotGoogleExport.GoogleAccount selected, System.String token, System.String text) at FSpotGoogleExport.GoogleExport.Connect(FSpotGoogleExport.GoogleAccount selected) at FSpotGoogleExport.GoogleExport.Connect() at FSpotGoogleExport.GoogleExport.Run(IBrowsableCollection selection) at FSpot.Extensions.ExportMenuItemNode.OnActivated(System.Object o, System.EventArgs e) at GLib.Signal.voidObjectCallback(IntPtr handle, IntPtr data) at GLib.Signal.voidObjectCallback(IntPtr , IntPtr ) at Gtk.Application.gtk_main() at Gtk.Application.gtk_main() at Gtk.Application.Run() at Gnome.Program.Run() at FSpot.Driver.Main(System.String[] args) Other information:
Created attachment 113851 [details] [review] picasa-no-album.patch this should fix
commit if it works
fixed in r4138