Hi all
I'm getting this error every time I try to run this particular fetch
call. In the development environment I get "TypeError: sendall()
argument 1 must be string or read-only buffer, not dict" instead.
Fetch is working fine with GET's elsewhere in the app without an
issue. Any ideas as to what I'm doing wrong?
fromstring() argument 1 must be string or read-only buffer, not dict
Traceback (most recent call last):
File "/base/python_lib/versions/1/google/appengine/ext/webapp/
__init__.py", line 501, in __call__
handler.get(*groups)
File "/base/data/home/apps/farcryupdateapp/1.334515093861420580/
updateapp.py", line 321, in get
result = fetch(url=thisapplication.url+"index.cfm?
type=UpdateApp&view=displayTypeReset&ajaxmode=true",
payload=resetoptions, method=POST, deadline=25)
File "/base/python_lib/versions/1/google/appengine/api/urlfetch.py",
line 240, in fetch
allow_truncated, follow_redirects)
File "/base/python_lib/versions/1/google/appengine/api/urlfetch.py",
line 290, in make_fetch_call
rpc.make_call('Fetch', request, response, _get_fetch_result,
allow_truncated)
File "/base/python_lib/versions/1/google/appengine/api/
apiproxy_stub_map.py", line 389, in make_call
self.__rpc.MakeCall(self.__service, method, request, response)
File "/base/python_lib/versions/1/google/appengine/api/
apiproxy_rpc.py", line 92, in MakeCall
self._MakeCallImpl()
File "/base/python_lib/versions/1/google/appengine/runtime/
apiproxy.py", line 124, in _MakeCallImpl
self.request.Output(e)
File "/base/python_lib/versions/1/google/net/proto/
ProtocolBuffer.py", line 163, in Output
self.OutputUnchecked(e)
File "/base/python_lib/versions/1/google/appengine/api/
urlfetch_service_pb.py", line 1599, in
OutputUnchecked
out.putPrefixedString(self.payload_)
File "/base/python_lib/versions/1/google/net/proto/
ProtocolBuffer.py", line 366, in putPrefixedString
self.buf.fromstring(v)
Any help appreciated.
Blair
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---