f-spot crashes when connecting to gallery

Bug #321594 reported by Haggai Eran on 2009-01-26
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
F-Spot
Expired
Critical
f-spot (Ubuntu)
Medium
Ubuntu Desktop Bugs

Bug Description

Binary package hint: f-spot

Hi,

I'm trying to export from f-spot to gallery, on Ubuntu 8.10. After adding the gallery account details, f-spot crashed. Since then, each time I just open the export to gallery dialog, it crashes. The output is:
---
Gallery created: GalleryRemote.Gallery1
StatusText : Successful
Unparsed Line in ParseFetchAlbums(): album.max_size.1=0
System.FormatException: Input string was not in the correct format
  at System.Int32.Parse (System.String s) [0x00000]
  at GalleryRemote.Gallery.ParseFetchAlbums (System.Net.HttpWebResponse response) [0x00000]
  at GalleryRemote.Gallery1.FetchAlbums () [0x00000]
  at G2Export.GalleryExport.PopulateAlbumOptionMenu (GalleryRemote.Gallery gallery) [0x00000]
  at G2Export.GalleryExport.Connect (G2Export.GalleryAccount selected) [0x00000]
Unparsed Line in ParseFetchAlbums(): album.max_size.1=0
Exception in Gtk# callback delegate
  Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception.
System.FormatException: Input string was not in the correct format
  at System.Int32.Parse (System.String s) [0x00000]
  at GalleryRemote.Gallery.ParseFetchAlbums (System.Net.HttpWebResponse response) [0x00000]
  at GalleryRemote.Gallery1.FetchAlbums () [0x00000]
  at G2Export.GalleryExport.PopulateAlbumOptionMenu (GalleryRemote.Gallery gallery) [0x00000]
  at G2Export.GalleryExport.Connect (G2Export.GalleryAccount selected) [0x00000]
  at G2Export.GalleryExport.Connect () [0x00000]
  at G2Export.GalleryExport.Run (IBrowsableCollection selection) [0x00000]
  at FSpot.Extensions.ExportMenuItemNode.OnActivated (System.Object o, System.EventArgs e) [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)

Regards,
Haggai

Pedro Villavicencio (pedro) wrote :

thanks for the report, is that gallery secured with a .htaccess file?

Changed in f-spot:
assignee: nobody → desktop-bugs
importance: Undecided → Medium
status: New → Incomplete
Haggai Eran (haggai-eran) wrote :

I don't think so. When I access the /gallery_remote2.php page in the browser it opens without asking for any password.

I didn't mention it before, but the gallery is based on the Drupal module image_pub which is supposed to be compatible with Gallery Remote. But even if it isn't, I don't think there's any reason f-spot should crash.

Pedro Villavicencio (pedro) wrote :

right, could you run f-spot on the debug mode so we can see what's going on there as well? please run f-spot as : f-spot --debug &> f-spot-debug.txt perform the operation to make it crash and then attach the resulting file to the report, thanks in advance.

Haggai Eran (haggai-eran) wrote :

Here it is.

Pedro Villavicencio (pedro) wrote :

Thanks you, I've sent this upstream at: http://bugzilla.gnome.org/show_bug.cgi?id=570599

Changed in f-spot:
status: Incomplete → Triaged
Changed in f-spot:
status: Unknown → New
Scott Carter (rmdbd001) wrote :

I had the same problem (added the first Gallery, f-spot crashed; since then, clicking Photo...Export...Gallery crashes f-spot). If it helps any, I have attached my debug output as f-spot-debug2.txt.

Changed in f-spot:
importance: Unknown → Critical
Changed in f-spot:
status: New → Incomplete
Changed in f-spot:
status: Incomplete → Expired
Amanda Bee (amandabee) wrote :

I'm seeing the same behavior. I select a photo and select "export > web gallery ..." and f-spot crashes.

hotman_x (hotman-x) wrote :

OMG, I'm stuck by this bug now. When can it be patched ?

hotman_x (hotman-x) wrote :

And, mail me if if any info needed. hotman_x@163.com

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

Other bug subscribers

Remote bug watches

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