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 360877 - Failed to upload to Picasaweb still opens my webbrowser.
Failed to upload to Picasaweb still opens my webbrowser.
Status: RESOLVED FIXED
Product: f-spot
Classification: Other
Component: General
CVS
Other Linux
: Normal normal
: ---
Assigned To: F-spot maintainers
F-spot maintainers
Depends on:
Blocks:
 
 
Reported: 2006-10-09 11:24 UTC by Bengt Thuree
Modified: 2006-10-19 09:06 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Bengt Thuree 2006-10-09 11:24:40 UTC
I managed to get the below error message twice in a row for the same photo, and on the third time it was uploaded ok. Probably some problems with my network connection.

Anyway, this should perhaps be handled a bit nicer, with a better error message and more importantly not to open the picasaweb site in the browser, since nothing was uploaded.


System.Net.WebException: Error getting response stream (ReadDone1): ReceiveFailure ---> System.IO.IOException: EndRead failure ---> System.Net.Sockets.SocketException: Connection reset by peer
  at System.Net.Sockets.Socket+SocketAsyncResult.CheckIfThrowDelayedException () [0x00000] 
  at System.Net.Sockets.Socket.EndReceive (IAsyncResult result) [0x00000] 
  at System.Net.Sockets.NetworkStream.EndRead (IAsyncResult ar) [0x00000] --- End of inner exception stack trace ---

  at System.Net.Sockets.NetworkStream.EndRead (IAsyncResult ar) [0x00000] 
  at System.Net.WebConnection.ReadDone (IAsyncResult result) [0x00000] --- End of inner exception stack trace ---

  at System.Net.HttpWebRequest.EndGetResponse (IAsyncResult asyncResult) [0x00000] 
  at System.Net.HttpWebRequest.GetResponse () [0x00000] 
  at Mono.Google.MultipartRequest.GetResponseAsString () [0x00000] 
  at Mono.Google.Picasa.PicasaAlbum.UploadPicture (System.String title, System.String description, System.IO.Stream input) [0x00000] 
  at Mono.Google.Picasa.PicasaAlbum.UploadPicture (System.String filename, System.String description) [0x00000] 
  at FSpot.GoogleExport.Upload () [0x00000]
Comment 1 Larry Ewing 2006-10-09 18:41:59 UTC
so you are saying an exception while uploading still opens the browser to the picasa page without rgard to the fact that the upload has failed?
Comment 2 Bengt Thuree 2006-10-09 20:45:00 UTC
Yes, I got three tabs with picasaweb with my 2 failed and 1 successfull uploads.
Comment 3 Stephane Delcroix 2006-10-19 09:06:36 UTC
Fixed in CVS, thanks for the report Bengt.