geremyk / google-gdata

Automatically exported from code.google.com/p/google-gdata
0 stars 0 forks source link

PicasaService.Insert for photo upload doesn't work on Mono #241

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
When trying to upload a photo with PicasaService.Insert() it just hangs 
and after a couple of minutes dies with the following exception (tested 
both with Mono 2.4 and Mono SVN HEAD):

Google.GData.Client.GDataRequestException: Execution of request failed:
http://picasaweb.google.com/data/feed/api/user/SECRET/SECRET/SECRET --->
System.Net.WebException: Error getting response stream (ReadDone2):
ReceiveFailure ---> System.Exception:    at
System.Net.WebConnection.HandleError(WebExceptionStatus st, 
System.Exception e,
System.String where)
   at System.Net.WebConnection.ReadDone(IAsyncResult result)
   at System.Net.Sockets.Socket+SocketAsyncResult.Complete()
   at System.Net.Sockets.Socket+Worker.Receive()
  at System.Net.WebConnection.HandleError (WebExceptionStatus st,
System.Exception e, System.String where) [0x00000] 
  --- End of inner exception stack trace ---
  at System.Net.HttpWebRequest.EndGetResponse (IAsyncResult asyncResult)
[0x00000] 
  at System.Net.HttpWebRequest.GetResponse () [0x00000] 
  at Google.GData.Client.GDataRequest.Execute () [0x00000] 
  --- End of inner exception stack trace ---
  at Google.GData.Client.GDataRequest.Execute () [0x00000] 
  at Google.GData.Client.GDataGAuthRequest.Execute (Int32 retryCounter)
[0x00000]

Original issue reported on code.google.com by ivan.nik...@gmail.com on 20 Apr 2009 at 7:30

GoogleCodeExporter commented 8 years ago
can not reproduce this. I have unit tests that insert photos and they work just 
fine with mono 2.4. I need more 
detail to start working on this.

Original comment by fman...@gmail.com on 23 Apr 2009 at 4:05

GoogleCodeExporter commented 8 years ago
I can reproduce with the attached minimal test case. Compile with "make" and run
bin/Test.exe . Note that you have to set username/password in Test.cs before 
compiling.

Original comment by ivan.nik...@gmail.com on 29 Apr 2009 at 10:04

Attachments:

GoogleCodeExporter commented 8 years ago
what platform is this runing on? This works fine with Mono 2.4 under Mac. 

Original comment by fman...@gmail.com on 30 Apr 2009 at 11:46

GoogleCodeExporter commented 8 years ago
It's running on Linux, but I get the same with Mono on windows in a VM. I 
suspect
there might be a networking issue involved then since I asked a friend on Linux 
to
test and it works fine for him. I suppose you can close this bug as invalid 
then.

Original comment by ivan.nik...@gmail.com on 30 Apr 2009 at 3:35

GoogleCodeExporter commented 8 years ago
Same as 240

Original comment by fman...@gmail.com on 13 May 2009 at 10:17