F-Spot crashes when authenticating with flickr if flickr is blocked

Bug #389552 reported by gdi2k
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
F-Spot
Expired
Critical
f-spot (Ubuntu)
Triaged
Medium
Ubuntu Desktop Bugs

Bug Description

Binary package hint: f-spot

Sadly, flickr is now blocked in my country of residence. If I try and authorise F-Spot to flickr, it will crash as follows:

[Info 19:20:08.096] Initializing DBus
[Info 19:20:08.411] Initializing Mono.Addins
[Info 19:20:08.871] Starting new FSpot server
[Info 19:20:14.481] Starting BeagleService
[Info 19:20:14.481] Hack for gnome-settings-daemon engaged

(f-spot:18644): 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.

(f-spot:18644): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
Exception in Gtk# callback delegate
  Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception.
FlickrNet.FlickrWebException: HTTP Error 403, Forbidden ---> System.Net.WebException: The remote server returned an error: (403) Forbidden.
  at System.Net.HttpWebRequest.CheckFinalStatus (System.Net.WebAsyncResult result) [0x00000]
  at System.Net.HttpWebRequest.SetResponseData (System.Net.WebConnectionData data) [0x00000] --- End of inner exception stack trace ---

  at FlickrNet.Flickr.DoGetResponse (System.String url, System.String variables) [0x00000]
  at FlickrNet.Flickr.GetResponse (System.Collections.Hashtable parameters, TimeSpan cacheTimeout) [0x00000]
  at FlickrNet.Flickr.GetResponseNoCache (System.Collections.Hashtable parameters) [0x00000]
  at FlickrNet.Flickr.AuthGetFrob () [0x00000]
  at FlickrRemote.TryWebLogin () [0x00000]
  at FSpotFlickrExport.FlickrExport.Login () [0x00000]
  at FSpotFlickrExport.FlickrExport.HandleClicked (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.Application.gtk_main()
   at Gtk.Application.gtk_main()
   at Gtk.Application.Run()
   at Gnome.Program.Run()
   at FSpot.Driver.Main(System.String[] args)

It should just provide an error message instead of crashing.

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

well it shouldn't crash anyways. will look upstream.

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

Thanks for your bug report. This bug has been reported to the developers of the software. You can track it and make comments here: http://bugzilla.gnome.org/show_bug.cgi?id=586418

Changed in f-spot (Ubuntu):
status: New → Triaged
Changed in f-spot:
status: Unknown → New
Changed in f-spot:
importance: Unknown → Critical
Changed in f-spot:
status: New → Incomplete
Changed in f-spot:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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