Picasa Web export crashes F-Spot when Google account password is incorrect

Bug #240797 reported by Øyvind Stegard
28
Affects Status Importance Assigned to Milestone
f-spot (Ubuntu)
Fix Released
Medium
Ubuntu Desktop Bugs

Bug Description

Binary package hint: f-spot

I accidently entered the wrong password for my Google-account when setting up the Picasa Web export plugin in F-Spot. This caused F-spot to crash immediately. The bad password was stored (in Gnome-keyring), and caused F-spot to crash every time I tried to export to Picasa Web. It gave me no chance to re-enter the correct password.

Here's the stack trace:

(f-spot:8406): 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.
item changed
item changed
item changed
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 fixed my Google account password in the Gnome keyring through Seahorse, and now the Picasa Web export from F-spot works fine. The point is, F-spot or the Picasa plugin does not handle the case of wrong username or password being entered and/or connection/authentication errors to Google.

description: updated
Revision history for this message
Matthew Woerly (nattgew) wrote :

I had the same thing happen, I may get a trace later.

Revision history for this message
Ara Pulido (ara) wrote :

Thanks for the report.

Reproduce in

f-spot:
  Installed: 0.4.3.1-0ubuntu1
  Candidate: 0.4.3.1-0ubuntu1
  Version table:
 *** 0.4.3.1-0ubuntu1 0
        500 http://es.archive.ubuntu.com hardy-updates/main Packages
        100 /var/lib/dpkg/status
     0.4.2-1ubuntu3 0
        500 http://es.archive.ubuntu.com hardy/main Packages

Changed in f-spot:
assignee: nobody → desktop-bugs
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Pedro Villavicencio (pedro) wrote :

this is probably fixed with f-spot 0.4.4 (available in intrepid) can someone give it a try and comment back? thanks.

Changed in f-spot:
status: Triaged → Incomplete
Revision history for this message
Ara Pulido (ara) wrote :

I have tried in Intrepid and it is working correctly. Thanks.

Revision history for this message
Pedro Villavicencio (pedro) wrote :

Ok thanks, marking this as fixed then.

Changed in f-spot:
status: Incomplete → Fix Released
Revision history for this message
Ben Andersen (ben72) wrote :

And to fix the problem in the mean time you can go into Accessories->"Passwords and Encryption keys" and change your password.

This wasn't obvious to me, that's why I'm posting it here for others convenience..

Revision history for this message
okubax (xappeal) wrote :
Download full text (5.8 KiB)

I entered the right password and f-spot is still crashing. am using f-sopt 0.4.3.1 version.
Here's my stack trace:

(f-spot:10032): 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)
ajibola@ajibola-laptop:~$ f-spot
Starting new FSpot server
Reloading
item changed

(f-spot:10130): 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.
error checking orientation
ajibola@ajibola-laptop:~$ f-spot
Starting new FSpot server
Reloading
item changed

(f-spot:10145): 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.
error checking orientation
Gnome.Keyring.KeyringException: Unknown error
  at Gnome.Keyring.Ring.SendRequest (System.IO.MemoryStream stream) [0x00000]
  at Gnome.Keyring.Ring.Find (ItemType type, System.Collections.Hashtable atts) [0x00000]
GoogleAccount.Connect()
Exception in Gtk# callback delegate
  Note: Applic...

Read more...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.