You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That should send the message "Dan Brown" to appengine.
I get this python traceback (most likely a problem with encoding/decoding URLs on both sides:
Traceback (most recent call last):
File "/base/python_runtime/python_lib/versions/1/google/appengine/ext/webapp/init.py", line 700, in call
handler.get(_groups)
File "/base/data/home/apps/ssmspersonfinder/1.350924882319313693/main.py", line 196, in get
result = search.handle(message)
File "/base/data/home/apps/ssmspersonfinder/1.350924882319313693/search/init.py", line 186, in handle
data = urllib2.urlopen("%s%s" % (host, query_uri)).read()
File "/base/python_runtime/python_dist/lib/python2.5/urllib2.py", line 124, in urlopen
return _opener.open(url, data)
File "/base/python_runtime/python_dist/lib/python2.5/urllib2.py", line 381, in open
response = self._open(req, data)
File "/base/python_runtime/python_dist/lib/python2.5/urllib2.py", line 399, in _open
'_open', req)
File "/base/python_runtime/python_dist/lib/python2.5/urllib2.py", line 360, in _call_chain
result = func(_args)
File "/base/python_runtime/python_dist/lib/python2.5/urllib2.py", line 1122, in https_open
return self.do_open(httplib.HTTPSConnection, req)
File "/base/python_runtime/python_dist/lib/python2.5/urllib2.py", line 1087, in do_open
r = h.getresponse()
File "/base/python_runtime/python_dist/lib/python2.5/httplib.py", line 197, in getresponse
self._allow_truncated, self._follow_redirects)
File "/base/python_runtime/python_lib/versions/1/google/appengine/api/urlfetch.py", line 260, in fetch
return rpc.get_result()
File "/base/python_runtime/python_lib/versions/1/google/appengine/api/apiproxy_stub_map.py", line 592, in get_result
return self.__get_result_hook(self)
File "/base/python_runtime/python_lib/versions/1/google/appengine/api/urlfetch.py", line 358, in _get_fetch_result
raise DownloadError(str(err))
DownloadError: ApplicationError: 2
The text was updated successfully, but these errors were encountered:
Yeah, unfortunately the issue has to do with using characters that require
encoding, like spaces (which would become %20 in the URL). The appengine
side is not expecting someone to input from a browser I think.
But I was thinking we should build in support for that, so if someone tried it they wouldn't see the Python traceback. :P
I tried visiting this url in my browser:
http://smspersonfinder.appspot.com/search?message=Dan%20Brown
That should send the message "Dan Brown" to appengine.
I get this python traceback (most likely a problem with encoding/decoding URLs on both sides:
Traceback (most recent call last):
File "/base/python_runtime/python_lib/versions/1/google/appengine/ext/webapp/init.py", line 700, in call
handler.get(_groups)
File "/base/data/home/apps/s
smspersonfinder/1.350924882319313693/main.py", line 196, in getsmspersonfinder/1.350924882319313693/search/init.py", line 186, in handleresult = search.handle(message)
File "/base/data/home/apps/s
data = urllib2.urlopen("%s%s" % (host, query_uri)).read()
File "/base/python_runtime/python_dist/lib/python2.5/urllib2.py", line 124, in urlopen
return _opener.open(url, data)
File "/base/python_runtime/python_dist/lib/python2.5/urllib2.py", line 381, in open
response = self._open(req, data)
File "/base/python_runtime/python_dist/lib/python2.5/urllib2.py", line 399, in _open
'_open', req)
File "/base/python_runtime/python_dist/lib/python2.5/urllib2.py", line 360, in _call_chain
result = func(_args)
File "/base/python_runtime/python_dist/lib/python2.5/urllib2.py", line 1122, in https_open
return self.do_open(httplib.HTTPSConnection, req)
File "/base/python_runtime/python_dist/lib/python2.5/urllib2.py", line 1087, in do_open
r = h.getresponse()
File "/base/python_runtime/python_dist/lib/python2.5/httplib.py", line 197, in getresponse
self._allow_truncated, self._follow_redirects)
File "/base/python_runtime/python_lib/versions/1/google/appengine/api/urlfetch.py", line 260, in fetch
return rpc.get_result()
File "/base/python_runtime/python_lib/versions/1/google/appengine/api/apiproxy_stub_map.py", line 592, in get_result
return self.__get_result_hook(self)
File "/base/python_runtime/python_lib/versions/1/google/appengine/api/urlfetch.py", line 358, in _get_fetch_result
raise DownloadError(str(err))
DownloadError: ApplicationError: 2
The text was updated successfully, but these errors were encountered: