On Feb 12, 2010, at 9:45 AM, Igor Ivanov wrote:

> Look at message string.
> BadValueError: Property data_message_size is 667 bytes long; it must be 500 
> or less. Consider Text instead, which can store strings of any length.

Ah, ok.

What is data_message_size, and why would my submits have a value that would be 
667 bytes long?  From the variable name, I would assume that it's a number, in 
which case I can't imagine that it should be more than a few bytes long...?

> Regards,
> Igor
> 
> 
> Jeff Squyres wrote:
>> Looking in the appspot dashboard, I see a bunch of errors when Cisco tried 
>> to submit test run data.  There's a few random errors, but a bunch that look 
>> like what I pasted below.  How do I diagnose this further?  Clearly, some 
>> field is too long -- how do I find out which one?
>> 
>> -----
>>      • 128.107.241.170 - - [11/Feb/2010:00:51:21 -0800] "POST /client 
>> HTTP/1.1" 500 1972 - "MPI Test MTTGDS Reporter,gzip(gfe)" 
>> "open-mpi-mtt.appspot.com"
>>      • E02-11 12:51AM 21.241
>> Property data_message_size is 667 bytes long; it must be 500 or less. 
>> Consider Text instead, which can store strings of any length.
>> Traceback (most recent call last):
>>   File 
>> "/base/python_lib/versions/1/google/appengine/ext/webapp/__init__.py", line 
>> 509, in __call__
>>     handler.post(*groups)
>>   File "/base/data/home/apps/open-mpi-mtt/1.337140739868725607/main.py", 
>> line 961, in post
>>     status = self._submit();
>>   File "/base/data/home/apps/open-mpi-mtt/1.337140739868725607/main.py", 
>> line 485, in _submit
>>     test_run_phase.put()
>>   File "/base/python_lib/versions/1/google/appengine/ext/db/__init__.py", 
>> line 801, in put
>>     self._populate_internal_entity()
>>   File "/base/python_lib/versions/1/google/appengine/ext/db/__init__.py", 
>> line 779, in _populate_internal_entity
>>     self._entity = self._populate_entity(_entity_class=_entity_class)
>>   File "/base/python_lib/versions/1/google/appengine/ext/db/__init__.py", 
>> line 839, in _populate_entity
>>     self._to_entity(entity)
>>   File "/base/python_lib/versions/1/google/appengine/ext/db/__init__.py", 
>> line 1465, in _to_entity
>>     entity[key] = value
>>   File "/base/python_lib/versions/1/google/appengine/api/datastore.py", line 
>> 492, in __setitem__
>>     datastore_types.ValidateProperty(name, value)
>>   File 
>> "/base/python_lib/versions/1/google/appengine/api/datastore_types.py", line 
>> 1290, in ValidateProperty
>>     prop_validator(name, v)
>>   File 
>> "/base/python_lib/versions/1/google/appengine/api/datastore_types.py", line 
>> 1181, in ValidatePropertyString
>>     ValidateStringLength(name, value, max_len=_MAX_STRING_LENGTH)
>>   File 
>> "/base/python_lib/versions/1/google/appengine/api/datastore_types.py", line 
>> 1171, in ValidateStringLength
>>     (name, len(value), max_len))
>> BadValueError: Property data_message_size is 667 bytes long; it must be 500 
>> or less. Consider Text instead, which can store strings of any length.
>> -----
>> 
>>   
>> 
> 
> 
> __________ Information from ESET NOD32 Antivirus, version of virus signature 
> database 4861 (20100212) __________
> 
> The message was checked by ESET NOD32 Antivirus.
> 
> http://www.esetnod32.ru


-- 
Jeff Squyres
jsquy...@cisco.com

For corporate legal information go to:
http://www.cisco.com/web/about/doing_business/legal/cri/


Reply via email to