After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 537684 - Export to PicasaWeb Crashes F-Spot
Export to PicasaWeb Crashes F-Spot
Status: RESOLVED FIXED
Product: f-spot
Classification: Other
Component: General
0.4.x
Other Linux
: Normal normal
: ---
Assigned To: F-spot maintainers
F-spot maintainers
: 544667 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-06-10 21:17 UTC by Darin
Modified: 2008-07-25 11:14 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
check-account-not-null-on-album-menu-change.patch (1.59 KB, patch)
2008-06-11 13:54 UTC, Maxxer
committed Details | Review

Description Darin 2008-06-10 21:17:32 UTC
I went to Export, and selected PicasaWeb. I went to add an account/profile, put in a Username and Password, clicked OK, and it crashed. Now everytime I go to Export->PicasaWeb, it doesn't even open up the Picasa Dialog Box - it simply crashes F-Spot.

------------------------------

GoogleAccount.Connect()
Can not connect to Picasa. Bad username ? password ? network connection ?
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 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)


------------------------------

I get no bad login error, failed attempt, or anything - it just crashes. I have also tried to delete the F-Spot folders in my home directory so I could try it again... but now it won't even open the PicasaWeb Dialog Box a first time.

I put this bug under General - I didn't see an Export Component/Category. I am using F-Spot 0.4.3.1, and Ubuntu 8.04 32bit.

Thanks to anyone who can help. Let me know if there is anything more I can add. Thanks.

- Darin
Comment 1 Maxxer 2008-06-11 13:54:36 UTC
Created attachment 112542 [details] [review]
check-account-not-null-on-album-menu-change.patch

you're right, f-spot picasa export crashes on open if the first selected account is not connected. this patch should fix.
Comment 2 Maxxer 2008-06-11 15:16:47 UTC
patch committed in r4059. 
you can find export 0.4.4.1 on the online repository.
Comment 3 Maxxer 2008-07-25 11:14:19 UTC
*** Bug 544667 has been marked as a duplicate of this bug. ***