Hi, Application Error 2 indicates that the remote server is returning an error when we attempt to fetch it. Is there a possibility that this URL has certain header restrictions/requirements? That would be my first guess.
-Marzia On Tue, Feb 17, 2009 at 9:59 AM, Faber Fedor <[email protected]> wrote: > I'just getting back to my AppEngine app after playing with my Android > app. I made a few changes to the GAE app, uploaded it and immediately got > the following error when I started testing: > > Traceback (most recent call last): > > File "/base/python_lib/versions/1/google/appengine/ext/webapp/__init__.py", > line 503, in __call__ > handler.post(*groups) > File "/base/data/home/apps/lbtdl/2.331489020577168574/lbtdl.py", line 131, > in post > > location.lookupGeocode() > File "/base/data/home/apps/lbtdl/2.331489020577168574/Location.py", line > 122, in lookupGeocode > self.geoHash = self.getGeohash() > File "/base/data/home/apps/lbtdl/2.331489020577168574/Location.py", line > 137, in getGeohash > > geohashText = urlfetch.fetch(geohashUrl) > File "/base/python_lib/versions/1/google/appengine/api/urlfetch.py", line > 267, in fetch > raise DownloadError(str(e)) > DownloadError: ApplicationError: 2 > > > I've checked the URL in question ( > http://geohash.org?q=34.123453%2C-118.148759&format=url&redirect=0) and it > works, both in URL-encoded form and non (it's just numbers and a comma, no > spaces or anything). The code works locally. I've upgraded to SDK 1.1.9. > Everything still looks good. BTW, the function that is blowing up had no > changes made to it. > > Where do I look now? > > > -- > Faber Fedor > Linux New Jersey > http://linuxnj.com > faberfedor.blogspot.com > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---
