Rajagopal
unread,Jun 10, 2008, 11:12:54 AM6/10/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google App Engine
Im trying to develop a mashup of Google Calendar, Contacts and Maps as
an application inside the app-engine. For an initial phase, it just
links the calendar and contacts and I had to do a few tweaks to get
this working (as the socket module isnt supported and the urlfetch
tries a redirect 5 times before giving up). Most of the Google apis
does a 302 and need a subsequent POST or PUT or GET depending on the
api accessed. Long story short, I got this to work under the
development sandbox.
Now when I deploy this live, the stacktrace thrown when trying to
update a Calendar Event is
apiproxy_stub_map.MakeSyncCall('urlfetch', 'Fetch', request,
response)
File "/base/python_lib/versions/1/google/appengine/api/
apiproxy_stub_map.py", line 46, in MakeSyncCall
stub.MakeSyncCall(service, call, request, response)
File "/base/python_lib/versions/1/google/appengine/runtime/
apiproxy.py", line 244, in MakeSyncCall
rpc.MakeCall(package, call, request, response)
File "/base/python_lib/versions/1/google/appengine/runtime/
apiproxy.py", line 144, in MakeCall
self.request.Output(e)
File "/base/python_lib/versions/1/google/net/proto/
ProtocolBuffer.py", line 147, in Output
self.OutputUnchecked(e)
File "/base/python_lib/versions/1/google/appengine/api/
urlfetch_service_pb.py", line 592, in OutputUnchecked
self.header_[i].OutputUnchecked(out)
File "/base/python_lib/versions/1/google/appengine/api/
urlfetch_service_pb.py", line 412, in OutputUnchecked
out.putPrefixedString(self.value_)
File "/base/python_lib/versions/1/google/net/proto/
ProtocolBuffer.py", line 326, in putPrefixedString
self.putVarInt32(len(v))
TypeError: object of type 'int' has no len()
I looked briefly in urlfetch and apiproxy to see why this could
happen, but dont see anything that could help me. Im going to dig in
deep, but just wanted to post this and see if anyone has seen this
error earlier.
Thanks
Raja