f-spot fails to export to a Folder

Bug #235071 reported by Tiefflieger
18
Affects Status Importance Assigned to Milestone
F-Spot
Fix Released
Medium
f-spot (Ubuntu)
Fix Released
Medium
Ubuntu Desktop Bugs

Bug Description

Binary package hint: f-spot

When I try to export some selected Pictures to a folder, after I've chosen a Gallery Name like "Gallery11" and after I selected "Create standalone web gallery" or "Create gallery using "Original"",
 I get the error message
"Error uploading picture "<SOMENAMEOFAPICTURE>" to Gallery: Object reference not set to an instance of an object"
upon clicking the "Export"-button.

When I click on the ignore-Button on the error-message, the export procedes and reports the same error for the next picture.
The "standalone Webgallery" gets builded, but somehow I think it doesn't look like it's meant to be (Look at the example in the attachments with 3 images).

Appeared on up-to-date AMD64 Hardy Heron and F-spot 0.4.3.1

Revision history for this message
Tiefflieger (tiefflieger) wrote :
Revision history for this message
Gerbman (gerberm2) wrote :

I can confirm the same error with same config. Any workarounds/fixes?

Revision history for this message
Dennis Drescher (dennis-drescher) wrote :

I also can confirm this with the same config. Being in the middle of a project now I sure could use this feature. Any fixes would be greatly appreciated.

Revision history for this message
Orson Jones (orson-launchpad) wrote :

Workaround

The following script when run in the same folder as index.html will build all the thumbnails for the gallery to work correctly
imagemagick is required for this script to work.
Also, you need enough free space to duplicate the entire hq directory before it converts to thumbnails.

#!/bin/sh
mkdir mq/
cd mq
cp ../hq/* .
mogrify -thumbnail 400x400 *
cd ..
mkdir thumbs
cd thumbs
cp ../hq/* .
mogrify -thumbnail 100x100 *

Revision history for this message
Gerbman (gerberm2) wrote :

Thanks for the reply, Orson; however, the error mentioned by tiefflieger comes up for every picture being exported. I am trying to export around 800 pictures, and clicking the "Skip" button for each one is not very doable. How do we get this bug confirmed and assigned to someone?

Revision history for this message
Dennis Drescher (dennis-drescher) wrote :

Thanks also, Orson, for the work around. I'm glad though that I don't have 800 pics to "Skip" through, I only have about 400. ;-) They are divided between about six exported albums. However, at least I have a way now where there was none before.

Revision history for this message
Ken Pratt (kenpratt) wrote :

This bug is also present in version 0.4.3.1 as delivered in 8.10 Ubuntu Desktop.

Revision history for this message
Ken Pratt (kenpratt) wrote :

oops! I meant 8.04 not 8.10... Ubuntu Hardy

Revision history for this message
Gerbman (gerberm2) wrote :

I have created a bug report over on Bugzilla:

http://bugzilla.gnome.org/show_bug.cgi?id=536707

-Matt

Revision history for this message
Gerbman (gerberm2) wrote :

I have submitted a patch to fix this problem over on Bugzilla:

http://bugzilla.gnome.org/show_bug.cgi?id=536707

Hopefully it will be included soon...until then, you can build F-Spot from source and use my patch if you'd like :)

Revision history for this message
Gerbman (gerberm2) wrote :

They have already fixed the problem and backported it to 4.3.1. To get the fix, go to Edit->Manage Extensions. Disable the current Folder Export extension and go to Install Add-ins. Refresh the list and install the new Folder Export extension. Should do the trick.

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

patch was committed upstream, thansk for your work on it!.

Changed in f-spot:
assignee: nobody → desktop-bugs
importance: Undecided → Medium
status: New → Fix Committed
Changed in f-spot:
status: Unknown → Fix Released
Revision history for this message
Tiefflieger (tiefflieger) wrote :

thx from me for that work, too.
I came up with a small problem installing the new export though: https://bugs.launchpad.net/ubuntu/+source/f-spot/+bug/237974

Additionally, when I try "Export to -> Folder" and I choose "Create gallery using "Original"", I still get the following error:
System.NullReference Exception: Object reference not set to an instance of an object at FSpotFolderExport.FolderExport.Upload() [0x00000]

Revision history for this message
Gerbman (gerberm2) wrote :

I'll take a look when I get a chance. Thanks!

Revision history for this message
Tiefflieger (tiefflieger) wrote :

Thank _you_ ;-)
An additional note to the error in "Create gallery using "Original"": The errormessage appears at the very end of the export process (and not after every single exported image)

Revision history for this message
Gerbman (gerberm2) wrote :

I filed a bug report here:

http://bugzilla.gnome.org/show_bug.cgi?id=537331

Working on it now.

Revision history for this message
Andy Buckley (andy-insectnation) wrote :

I'm also seeing this problem (the "object reference" warning for every photo), even after installing the 4.3.1 Folder export plugin. I also can't uninstall the 4.3.0 version, although I can disable it - I don't know if that would be a problem.

Andy

Revision history for this message
Luis Fernando Teixeira (lf-ubuntu) wrote :

I have the same as Andy above, 4.3.1 haven't fixed for me...

Revision history for this message
Martin Gustafsson (martin-gustafsson) wrote :

Just want to confirm that the trick explained above works for me.
Disable 0.4.3.0 and installing 0.4.3.1 of the Folder Export add-in got rid of the errors.

Revision history for this message
SebastianIvan (sebastian-ivan-ubuntu) wrote :

As in case of Tiefflieger I have the same issue.
please refer the uploaded image.

Revision history for this message
SebastianIvan (sebastian-ivan-ubuntu) wrote :

forgot to add, that when adding new Add-ins, the attached warning message is presented.
Even so, the application works fine after a restart.

Best Regards

Revision history for this message
thekip (thekip) wrote :

Also confirming that this bug is resolved. Here's what I did.
Disable the old folder export 0.4.0.3
Install the new folder export using install add-ins
Restart F-Spot

and it worked. Thank you very much!

Revision history for this message
Robert Rehammar (robert-rehammar) wrote :

Hi all,

I have f-spot 0.4.4 and tried the trick with disabling Folder Export 0.4.4.0. However I get a fail when I try to install the new version saying there is a conflict and that I do not have the permission to remove the old version. Then in parenthesis it says that the plug-in is in user directory which I interpret as I should be able to delete it... I don't know?

Revision history for this message
Sebastien Bacher (seb128) wrote :

the new version is in intrepid

Changed in f-spot:
status: Fix Committed → Fix Released
Revision history for this message
chejrw (chejrw) wrote :

And yet, the problem still exists. Fresh install of Intrepid, same problem.

Changed in f-spot:
importance: Unknown → Medium
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.