kiquenet / gdocbackup

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

PDF's are not downloaded, instead marked as ERROR in download list #24

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Upload some pdf's to gdocs
2. Run GDocBackup
3. ERROR for each pdf

What is the expected output? What do you see instead?

PDF should be downloaded to local dir.

What version of the product are you using? On what operating system?

0.4.13.87

Please provide any additional information below.

21/05/2010 14:02:22 - 009 > Start exporting sample.pdf(Type=PDF) --> pdf
21/05/2010 14:02:22 - 009 > DOC-ERROR: 
Google.GData.Client.GDataRequestException: Execution of request failed: 
http://doc-0k-34-
docs.googleusercontent.com/docs/secure/manfdgo6gfmafcsnh7e6pj7e8944u01k/flt
36t1k6klbu2fv85j9bh3ev5ku72u7/1274443200000/07784837658578260716/0778483765
8578260716/0BwH1w0IXWQQQYTgzNmM2NzEtMTNiNS9872983700YTIxLTk5NmEtNjUxZjBjZjN
lNDg3?h=16653014193614665626&e=download&gd=true ---> 
System.Net.WebException: De externe server heeft een fout geretourneerd: 
(403) Niet toegestaan.
   bij System.Net.HttpWebRequest.GetResponse()
   bij Google.GData.Client.GDataRequest.Execute()
   --- Einde van intern uitzonderingsstackpad ---
   bij Google.GData.Client.GDataRequest.Execute()
   bij Google.GData.Client.GDataGAuthRequest.Execute(Int32 retryCounter)
   bij Google.GData.Client.Service.Query(Uri queryUri, DateTime 
ifModifiedSince, String etag, Int64& contentLength)
   bij Google.GData.Client.Service.Query(Uri queryUri)
   bij GDocBackupLib.Backup.ExecInternal()

Original issue reported on code.google.com by renegade...@gmail.com on 21 May 2010 at 12:03

GoogleCodeExporter commented 9 years ago

Original comment by fht...@gmail.com on 21 May 2010 at 12:12

GoogleCodeExporter commented 9 years ago
Perhaps a Google Issue... 

Original comment by fht...@gmail.com on 21 May 2010 at 12:22

GoogleCodeExporter commented 9 years ago
Confirmed. It's a Google issue.
http://www.google.com/support/forum/p/apps-apis/thread?tid=5210d6e881f408aa&hl=e
n

Original comment by fht...@gmail.com on 21 May 2010 at 12:27

GoogleCodeExporter commented 9 years ago
Today it works fine. Waiting for news from Google.

Original comment by fht...@gmail.com on 23 May 2010 at 3:48

GoogleCodeExporter commented 9 years ago
Indeed, I just backed up my pdf's.

All pdf's were copied except one, but when I tried to open it on Google Docs, 
it wouldn't open either. 
The message "Unable to open the document for viewing" is returned. After a 
retry it suddenly works 
well. Running GDocBackup again and the pdf got backed up. Maybe the GDocBackup 
should retry (at least 
once) if an error is returned from GDocs ?

Thanks for this great app by the way.

Error that was give the first run:

23/05/2010 21:06:04 - 075 > DOC-ERROR: 
Google.GData.Client.GDataRequestException: Execution of request 
failed: http://doc-0k-0s-
docs.googleusercontent.com/docs/secure/fjic0vgcfep20svveip1fne6km09842a/q1mavgnh
0fesb3m4pilm79b8irp62e6
5/1274637600000/0778483765857826079816/07784837658578260716/0BwH1w0IXWQQQMjUzNzk
2NzEtMjJlYi00ODBhLTg5Nj
UtNTExNjk0NzdhYzU0?h=16653014193614665626&e=download&gd=true ---> 
System.Net.WebException: De externe 
server heeft een fout geretourneerd: (404) Niet gevonden.
   bij System.Net.HttpWebRequest.GetResponse()
   bij Google.GData.Client.GDataRequest.Execute()
   --- Einde van intern uitzonderingsstackpad ---
   bij Google.GData.Client.GDataRequest.Execute()
   bij Google.GData.Client.GDataGAuthRequest.Execute(Int32 retryCounter)
   bij Google.GData.Client.Service.Query(Uri queryUri, DateTime ifModifiedSince, String etag, Int64& 
contentLength)
   bij Google.GData.Client.Service.Query(Uri queryUri)
   bij GDocBackupLib.Backup.ExecInternal()
23/05/2010 21:06:04 - 075 > FO> FileName=c4_2.pdf DocType=PDF ExpFrm= 
Action=ERROR Folder= 
LocalDateTime= RemoteDateTime=

Original comment by renegade...@gmail.com on 23 May 2010 at 7:14

GoogleCodeExporter commented 9 years ago
Thank you for your feedback.
About "retries": yes, I could do that but in the maior part of the cases when 
you get 
an error from Google it persists for a day or two (or more). So it's not very 
useful to 
retry. But I'll try to add it as an option for the next release.

Original comment by fht...@gmail.com on 23 May 2010 at 7:34