[google-appengine] Re: GAE + Facebook = DownloadError: ApplicationError: 2
Hi, This error means is a fetch error, which usually indicates the remote host denied or otherwise errored out on the request. -Marzia On Wed, Jan 14, 2009 at 9:06 AM, boson wrote: > > I just launched the alpha version of my Facebook/GAE app. With only a > few users so far I'm already seeing intermittent "DownloadError: > ApplicationError: 2" showing up from urlfetch.fetch(). > > This has shown on both calls to users.getInfo (getting only 5 fields > for a handful of users) and friends.getAppUsers (getting a brief list > of ~5 user ids). > > What does this error mean, and what can we do about it? > > Thank you. > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: GAE + Facebook = DownloadError: ApplicationError: 2
OK perhaps Facebook was having problems (nothing new). I would like to catch these exceptions and provide a more friendly error message. What would the try/catch look like to catch this specific error (and not all errors)? On Jan 14, 10:09 am, Marzia Niccolai wrote: > Hi, > > This error means is a fetch error, which usually indicates the remote > host denied or otherwise errored out on the request. > > -Marzia > > On Wed, Jan 14, 2009 at 9:06 AM, boson wrote: > > > I just launched the alpha version of my Facebook/GAE app. With only a > > few users so far I'm already seeing intermittent "DownloadError: > > ApplicationError: 2" showing up from urlfetch.fetch(). > > > This has shown on both calls to users.getInfo (getting only 5 fields > > for a handful of users) and friends.getAppUsers (getting a brief list > > of ~5 user ids). > > > What does this error mean, and what can we do about it? > > > Thank you. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: GAE + Facebook = DownloadError: ApplicationError: 2
> What would the try/catch look like to catch this specific error (and > not all errors)? > try: response = urlfetch.fetch(url) except urlfetch.DownloadError: # process the error pass --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: GAE + Facebook = DownloadError: ApplicationError: 2
Thank you! On Jan 14, 3:00 pm, Alexander Kojevnikov wrote: > > What would the try/catch look like to catch this specific error (and > > not all errors)? > > try: > response = urlfetch.fetch(url) > except urlfetch.DownloadError: > # process the error > pass --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---