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 542934 - SmugMug exporter fails to upload multiple photos
SmugMug exporter fails to upload multiple photos
Status: RESOLVED INCOMPLETE
Product: f-spot
Classification: Other
Component: General
0.4.x
Other All
: Normal normal
: ---
Assigned To: F-spot maintainers
F-spot maintainers
Depends on:
Blocks:
 
 
Reported: 2008-07-14 15:11 UTC by Jared M.
Modified: 2009-02-05 20:34 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Add-in manager screen (52.57 KB, image/png)
2008-07-14 15:53 UTC, Jared M.
Details

Description Jared M. 2008-07-14 15:11:02 UTC
Please describe the problem:
The Smugmug exporter fails between the first and second photo on a
multiple photo export with the message:

"Error Uploading To Gallery: Object reference not set to an instance of
an object"

This is on Ubuntu 8.04, with F-Spot 0.4.3.1-0ubuntu1 and Smugmug export
plugin 0.4.3.0 and 0.4.3.1 (I tried both).

I double checked and the first photo of the set does make it up on
smugmug, but not the second.


In the export dialog I do NOT select Style->Resize to:  or Style->Autorotate.    I have tried selecting and unselecting Album->Open Album in browser...   with no change in error message.


Steps to reproduce:
1. Select mutliple photos.
2. Attempt to export to smugmug with:  Photo->Export To->SmugMug...->Select Account/Album->Leave check dialogs to default
3. Select "Export"


Actual results:
Error window reports:
"Error Uploading To Gallery: Object reference not set to an instance of
an object"

Expected results:
The photos are correctly exported to SmugMug without error.

Does this happen every time?
Yes.

Other information:
Comment 1 Maxxer 2008-07-14 15:35:29 UTC
(In reply to comment #0)
> This is on Ubuntu 8.04, with F-Spot 0.4.3.1-0ubuntu1 and Smugmug export
> plugin 0.4.3.0 and 0.4.3.1 (I tried both).

are you sure you disabled 0.4.3 in favour of 0.4.3.1? that latest release from online repo should fix this exact error.
(bug #534092)
Comment 2 Jared M. 2008-07-14 15:53:31 UTC
Created attachment 114531 [details]
Add-in manager screen
Comment 3 Jared M. 2008-07-14 15:55:59 UTC
Yes, I disabled the 0.4.3.0 plugin in favor of the 0.4.3.1 version.  See recently attached picture of the add-in manager to confirm.
Comment 4 Jared M. 2008-07-15 20:09:26 UTC
Okay, I just installed from source 0.4.4 instead.   First I completely wiped 0.4.3.1-ubuntu1 from my system.   The problem still exists in the 0.4.4 smugmug exporter.   Now I don't even get the options dialog when I select Export to->SmugMug, f-spot just crashes.   The exception text is below.  Note it says "Can not connect to SmugMug. Bad username ? password ? network connection ?"  when it hasn't yet given me the window in which to set my account.

Thanks for looking into it.  Otherwise f-spot is an amazing tool, I just don't have any way to publish my photos.


$ f-spot
[Info  14:01:09.930] Initializing DBus
[Info  14:01:10.055] Initializing Mono.Addins
[Info  14:01:10.257] Starting new FSpot server
error checking orientation

(f-spot:25694): 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
error checking orientation
Can not connect to SmugMug. 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 FSpotSmugMugExport.SmugMugExport.Connect (FSpotSmugMugExport.SmugMugAccount selected, System.String text) [0x00000] 
  at FSpotSmugMugExport.SmugMugExport.Connect (FSpotSmugMugExport.SmugMugAccount selected) [0x00000] 
  at FSpotSmugMugExport.SmugMugExport.Connect () [0x00000] 
  at FSpotSmugMugExport.SmugMugExport.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)
Comment 5 Maxxer 2008-07-15 20:18:19 UTC
(In reply to comment #4)
> Okay, I just installed from source 0.4.4 instead.   First I completely wiped
> 0.4.3.1-ubuntu1 from my system.   The problem still exists in the 0.4.4 smugmug
> exporter.   

check online updates. smugmug export should be at 0.4.4.4
Comment 6 Jared M. 2008-07-15 20:39:18 UTC
Okay, with the 0.4.4.4 update, I get the option window back, but with the original problem.   I get the "Object reference not set to an instance of an object" message.   If I hit "Skip" it uploads the next picture then fires that exception off again.  So if I keep hitting skip I can upload photos, but this is troublesome with hundreds of photos obviously.

Here's the output.   The basic thing I did was:
* Select 3 photos
* Went through the smugmug export dialog box
* Upload started
* I hit "Skip" the first time I got the error, resulting in the second upload
* then hit "Cancel"
* exited the program


Also note, I changed my smugmug account info for privacy.
---------------------output-------------------------------------------

$ f-spot
[Info  14:30:58.023] Initializing DBus
[Info  14:30:58.144] Initializing Mono.Addins
[Info  14:30:58.335] Starting new FSpot server
error checking orientation

(f-spot:26821): 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
error checking orientation
error parsing 03.17.2008 07:28
System.FormatException: Input string was not in the correct format
  at System.Int32.Parse (System.String s) [0x00000] 
  at FSpot.Tiff.DirectoryEntry.DateTimeFromString (System.String dt) [0x00000] 
  at FSpot.Tiff.DirectoryEntry.get_ValueAsDate () [0x00000] 
  at FSpot.Tiff.Header.SelectDirectory (FSpot.Tiff.ImageDirectory dir, StatementSink sink) [0x00000] 
error parsing 03.17.2008 07:28
System.FormatException: Input string was not in the correct format
  at System.Int32.Parse (System.String s) [0x00000] 
  at FSpot.Tiff.DirectoryEntry.DateTimeFromString (System.String dt) [0x00000] 
  at FSpot.Tiff.DirectoryEntry.get_ValueAsDate () [0x00000] 
  at FSpot.Tiff.Header.SelectDirectory (FSpot.Tiff.ImageDirectory dir, StatementSink sink) [0x00000] 
SmugMug.Connect() <changedtoprotectinnocent>@gmail.com
Starting Upload to Smugmug, album <somevalidalbumname> - <somevalidID>
uploading 0
System.NullReferenceException: Object reference not set to an instance of an object
  at SmugMugNet.SmugMugException..ctor (System.String message, System.Exception innerException) [0x00000] 
  at SmugMugNet.SmugMugApi.Upload (System.String path, Int32 album_id) [0x00000] 
  at FSpotSmugMugExport.SmugMugExport.Upload () [0x00000] 
uploading 1
System.NullReferenceException: Object reference not set to an instance of an object
  at SmugMugNet.SmugMugException..ctor (System.String message, System.Exception innerException) [0x00000] 
  at SmugMugNet.SmugMugApi.Upload (System.String path, Int32 album_id) [0x00000] 
  at FSpotSmugMugExport.SmugMugExport.Upload () [0x00000] 

-------------------------------------------output----------------------------
Comment 7 Stephane Delcroix 2008-07-16 08:05:28 UTC
it looks like there was an error applying some of the transformations you asked (resize, rotate, ...) to your image, and that it's not a SmugMug export error.

can you please:
- attach an image you can't upload here
- tell us the status of the various checks on the export dialog
Comment 8 marcus lloyd 2008-07-18 17:10:55 UTC
I have the same problem on same installation:

This is on Ubuntu 8.04, with F-Spot 0.4.3.1-0ubuntu1 and Smugmug export
plugin 0.4.3.0 and 0.4.3.1 (I tried both).

I have tried both resizing and rotating, but the error still occurs. The installation of Smugmug export plugin 0.4.3.1 doesn't make a difference, and no newer ones were found through the f-spot update manager to try out.

Just to clarify though, the error comes after the first upload, clicking 'skip' allows the next photo to be uploaded with the same error message ad infinitum. ie for the 300 photos I'm currently trying to export, I have to click 300 times on 'skip' for the photos all to be successfully exported (but the do get exported, just with a lot of clicking).
Comment 9 Forest Monsen 2008-07-21 03:40:42 UTC
Exact same problem here for a number of days now:

* Ubuntu Hardy Heron 8.04
* f-spot version: 0.4.3.1-0ubuntu1
* SmugMug Export plugin: 0.4.3.0 & 0.4.3.1 (0.4.3.0 disabled AND enabled, tried both)

Behavior replicates Marcus Lloyd's reported above.
Comment 10 Maxxer 2008-07-21 06:59:56 UTC
i'm sorry I cannot reproduce the problem in SVN, and the exporter is the same as in 0.4.4.4. 


for ubuntu i'd suggest to open a bug in launchpad, as a fix exists in svn.
Comment 11 Jared M. 2008-07-21 12:57:39 UTC
(In reply to comment #10)
> i'm sorry I cannot reproduce the problem in SVN, and the exporter is the same
> as in 0.4.4.4. 
> 
> 
> for ubuntu i'd suggest to open a bug in launchpad, as a fix exists in svn.
> 

A bug was created in Launchpad, https://bugs.launchpad.net/ubuntu/+source/f-spot/+bug/248387, and I updated it to reflect activity in this bug.

Thanks for looking into it.
Comment 12 Tobias Mueller 2009-02-05 20:34:09 UTC
Hm. As there is still no picture as requested in comment #7, I'm closing as INCOMPLETE. Feel free to reopen, if you have further information.