jago
unread,Oct 29, 2009, 1:52:22 PM10/29/09Sign 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
How can I best prevent against the following error? Can I check the
length of items before putting them in the memcache?
File "/base/python_lib/versions/1/google/appengine/api/memcache/
__init__.py", line 635, in _set_with_policy
stored_value, flags = _validate_encode_value(value,
self._do_pickle)
File "/base/python_lib/versions/1/google/appengine/api/memcache/
__init__.py", line 180, in _validate_encode_value
'received %d bytes' % (MAX_VALUE_SIZE, len(stored_value)))
ValueError: Values may not be more than 1000000 bytes in length;
received 1861357 bytes