Using the dev server, I am trying to display some image files stored
in the blobstore. However, when I call images.get_serving_url(), I get
a python error saying that the BlobKey passed in to the function has
no len() method. I wouldn't expect BlobKey to have a len() method, so
I presume something else is wrong.
I will paste the traceback below -- can anyone help me figure out what
is wrong?
File "C:\Program Files\Google\google_appengine\google\appengine\api
\images\__init__.py", line 965, in get_serving_url
response)
File "C:\Program Files\Google\google_appengine\google\appengine\api
\apiproxy_stub_map.py", line 86, in MakeSyncCall
return stubmap.MakeSyncCall(service, call, request, response)
File "C:\Program Files\Google\google_appengine\google\appengine\api
\apiproxy_stub_map.py", line 286, in MakeSyncCall
rpc.CheckSuccess()
File "C:\Program Files\Google\google_appengine\google\appengine\api
\apiproxy_rpc.py", line 149, in _WaitImpl
self.request, self.response)
File "C:\Program Files\Google\google_appengine\google\appengine\api
\apiproxy_stub.py", line 73, in MakeSyncCall
if request.ByteSize() > self.__max_request_size:
File "C:\Program Files\Google\google_appengine\google\appengine\api
\images\images_service_pb.py", line 2090, in ByteSize
n += self.lengthString(len(self.blob_key_))
TypeError: object of type 'BlobKey' has no len()
--
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.