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 629797 - Export to picasaweb crashes when Add selected
Export to picasaweb crashes when Add selected
Status: RESOLVED FIXED
Product: f-spot
Classification: Other
Component: Export
0.8.0
Other Linux
: Normal critical
: 0.8.1
Assigned To: F-spot maintainers
F-spot maintainers
: 632344 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2010-09-15 20:59 UTC by Dougie Nisbet
Modified: 2010-11-09 13:16 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Output using f-spot --debug (47.53 KB, application/octet-stream)
2010-09-15 20:59 UTC, Dougie Nisbet
  Details
Fix a typo from Glade conversion (1.15 KB, patch)
2010-09-24 18:53 UTC, Paul Lange
committed Details | Review

Description Dougie Nisbet 2010-09-15 20:59:40 UTC
Created attachment 170373 [details]
Output using f-spot --debug

This is a consistently reproducible error for me. Tempted to mark severity as Major as it's a real pain. But there is a work-around (create gallery first on Picasaweb).

Select Export to Picasaweb, and click on the Add option to enter a new Gallery name. f-spot immediately crashes. This does not occur when an existing gallery is used. It is independent of whether 'Export Tags' is checked.

The section of the debug output corresponding to the crash is:

(f-spot:9041): 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.
[1 Debug 21:49:24.686] GoogleAccount.Connect()

+++ CRASH OCCURS HERE +++

Marshaling clicked signal
Exception in Gtk# callback delegate
  Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentException: Cannot get resource file 'google_add_album_dialog.glade'
Parameter name: resource_name
  at GtkBeans.Builder..ctor (System.Reflection.Assembly assembly, System.String resource_name, System.String translation_domain) [0x00000] 
  at FSpot.Exporters.PicasaWeb.GoogleAddAlbum..ctor (FSpot.Exporters.PicasaWeb.GoogleExport export, Mono.Google.Picasa.PicasaWeb picasa) [0x00011] in /home/dougie/f-spot-0.8.0/src/Extensions/Exporters/FSpot.Exporters.PicasaWeb/FSpot.Exporters.PicasaWeb/GoogleAddAlbum.cs:43 
  at FSpot.Exporters.PicasaWeb.GoogleExport.HandleAddAlbum (System.Object sender, System.EventArgs args) [0x0001b] in /home/dougie/f-spot-0.8.0/src/Extensions/Exporters/FSpot.Exporters.PicasaWeb/FSpot.Exporters.PicasaWeb/PicasaWebExport.cs:469 
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] 
  --- End of inner exception stack trace ---
Comment 1 Paul Lange 2010-09-24 18:52:57 UTC
Hey Dougie,

Thanks for reporting this bug. I found the problem which will be fixed in the next release.
I'll attach a patch so you can use a fixed version till the next release.
Comment 2 Paul Lange 2010-09-24 18:53:17 UTC
Created attachment 171060 [details] [review]
Fix a typo from Glade conversion
Comment 3 Ruben Vermeersch 2010-10-21 11:00:18 UTC
Review of attachment 171060 [details] [review]:

Very stupid bug :-) Thanks for catching this. Will merge.
Comment 4 Ruben Vermeersch 2010-10-21 11:45:05 UTC
Attachment 171060 [details] pushed as c182b1d - Fix a typo from Glade conversion
Comment 5 Baptiste Mille-Mathias 2010-11-09 13:16:31 UTC
*** Bug 632344 has been marked as a duplicate of this bug. ***