I have a datastore entity with a im field, like so:
class Player(db.Model):
user = db.UserProperty()
nick_name = db.StringProperty()
im = db.IMProperty()
.....
Someone has managed to store a player with a bogus IM address (I'm not
sure how I am supposed to validate those :(). But now I can't delete
it! Whenever I fetch this record my app crashes:
Traceback (most recent call last):
File "/base/python_lib/versions/1/google/appengine/ext/webapp/
__init__.py", line 499, in __call__
handler.get(*groups)
File "/base/data/home/apps/zeno/1.6/standings.py", line 145, in get
results = players.fetch(20)
File "/base/python_lib/versions/1/google/appengine/ext/db/
__init__.py", line 1299, in fetch
raw = self._get_query().Get(offset+limit)
File "/base/python_lib/versions/1/google/appengine/api/
datastore.py", line 889, in Get
return self._Run(count)._Next(count)
File "/base/python_lib/versions/1/google/appengine/api/
datastore.py", line 1182, in _Next
ret = [Entity._FromPb(r) for r in result.result_list()]
File "/base/python_lib/versions/1/google/appengine/api/
datastore.py", line 525, in _FromPb
value = datastore_types.FromPropertyPb(prop)
File "/base/python_lib/versions/1/google/appengine/api/
datastore_types.py", line 1099, in FromPropertyPb
value = _PROPERTY_CONVERSIONS[pb.meaning()](value)
File "/base/python_lib/versions/1/google/appengine/api/
datastore_types.py", line 672, in __init__
str(protocol))
BadValueError: Expected string of format "protocol address"; received
http://talk.google.com/ his IM account
If I go to my application's admin section and hit Data Viewer, I get
Server Error
A server error has occured.
which I assume s related. Is there any way I can clear my data?
Thanks