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 535959 - Crash when using wrong URL for export to web gallery
Crash when using wrong URL for export to web gallery
Status: RESOLVED FIXED
Product: f-spot
Classification: Other
Component: General
0.4.x
Other All
: Normal critical
: ---
Assigned To: F-spot maintainers
F-spot maintainers
Depends on:
Blocks:
 
 
Reported: 2008-05-31 19:40 UTC by Eira Monstad
Modified: 2008-06-05 08:46 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
g2-fix-dialog.patch (22.22 KB, patch)
2008-06-04 11:44 UTC, Maxxer
none Details | Review

Description Eira Monstad 2008-05-31 19:40:53 UTC
Steps to reproduce:
1. Export > Web gallery
2. Add new gallery
3. Input bogus URL
4. OK
5. Kaboom


Stack trace:
Exception in Gtk# callback delegate
  Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception.
System.Exception: Cannot connect to a Gallery for which the version is unknown
  at G2Export.GalleryAccount.Connect () [0x00000]
  at G2Export.AccountDialog.HandleAddResponse (System.Object sender, Gtk.ResponseArgs args) [0x00000]
  at Gtk.Dialog.ResponseSignalCallback (IntPtr arg0, Int32 arg1, IntPtr gch) [0x00000]
   at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean is_terminal)
   at Gtk.Dialog.ResponseSignalCallback(IntPtr arg0, Int32 arg1, IntPtr gch)
   at Gtk.Dialog.ResponseSignalCallback(IntPtr , Int32 , 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:
Version 0.4.3.1, Kubuntu 8.04/KDE4
Comment 1 Maxxer 2008-06-03 16:22:19 UTC
(In reply to comment #0)
> 3. Input bogus URL

example?
Comment 2 Eira Monstad 2008-06-03 20:37:04 UTC
I used a valid but nonexistent url, such as http://nothing.here.no/
Comment 3 Maxxer 2008-06-04 11:44:49 UTC
Created attachment 112117 [details] [review]
g2-fix-dialog.patch

this patch should fix your problem, and probably also the one at bug #349422.
Comment 4 Stephane Delcroix 2008-06-05 08:46:08 UTC
fixed in r4044