GNOME Bugzilla – Bug 474421
Picasa export sometimes fails for certain images, error 400
Last modified: 2008-03-27 14:30:04 UTC
I sadly cannot reproduce consistently this bug. Everytime I cancel my upload process and run f-spot --debug>foo.log, the bug doesn't actually show up! I am using tags on my photos, and if I am not mistaken f-spot 0.4 exports those tags to picasa. I wonder if that could be linked.
Created attachment 95098 [details] error dialog's screenshot
please attach such a 'certain image' to this bug.
the problem is, this is not tied to specific images. Because when that happens, I can "skip skip skip", the upload finishes (for a portion of the images). Then I try uploading the remaining images, and it usually works without errors. And also, if I do Cancel instead of Skip, the errors will come up again when I retry.
although I could not provide an image that I identified as problematic, reopening just so that it doesn't get lost.
please try reproducing this bug while running f-spot from the console. no need to add the --debug flag. and cp the trace here. without that, I can't do anything... do you confirm also that 'retry' never works ?
yeah, "retry" never works. I'll run f-spot from the terminal and let you know if I finally get a hold of this error.
It just happened to me, for photos I imported. After having restarted f-spot from a terminal, it works... Maybe it only happens with new photos?
Vincent, if you can reproduce this, could you please run f-spot from a console and paste the output here ?
(In reply to comment #8) > Vincent, if you can reproduce this, could you please run f-spot from a console > and paste the output here ? I can't reproduce right now (that's why I launched f-spot from a terminal). I'm now always launching it from a terminal, so next time this happens, I'll have the debug messages.
Vincent is right, it happens on newly imported pictures. On the third pic I had: open uri = file:///tmp/tmp6eb41ab1.tmp..jpg System.Net.WebException: The remote server returned an error: (400) Bad Request. at System.Net.HttpWebRequest.CheckFinalStatus (System.Net.WebAsyncResult result) [0x00000] at System.Net.HttpWebRequest.SetResponseData (System.Net.WebConnectionData data) [0x00000] Pressing retry doesn't change the situation. Pressing skip will upload a couple of pictures and then stop again. I've pressed skip a second time and it ran to the end.
Created attachment 100029 [details] [review] set-description-on-import.patch I've finally come up to this bug!!! The photo description is not correctly set on import, so the Picasa request was issued with the wrong text (a lot of �) and thus failing. This patch correctly sets the description to the photo item on import.
While I think that patch is needed, it doesn't fix the problem (I've been too quick, sorry). I think this bug depends on Bug #356259.
I've attached that patch to the appropriate bug.
I thought that F-Spot's internal comment/titel/description is the UserComment field. Just setting by default the Description field will overwrite previous F-Spot comments.
There's a patch attached to bug #356259 which should fix this. If anyone wants to give it a try... (I should have marked this as duplicate)
Should be fixed...