All of sudden I started getting this error for all of the request to
app. that requires datastore puts.

Someone has tweaked something. lol

The full log:

'Entity' object has no attribute '_Entity__unindexed_properties'
Traceback (most recent call last):
  File "/base/python_lib/versions/1/google/appengine/ext/webapp/
__init__.py", line 501, in __call__
    handler.get(*groups)
  File "/base/data/home/apps/naval-war/1.333185504277530133/main.py",
line 268, in get
    person.put()
  File "/base/python_lib/versions/1/google/appengine/ext/db/
__init__.py", line 695, in put
    return datastore.Put(self._entity)
  File "/base/python_lib/versions/1/google/appengine/api/
datastore.py", line 155, in Put
    req.entity_list().extend([e._ToPb() for e in entities])
  File "/base/python_lib/versions/1/google/appengine/api/
datastore.py", line 513, in _ToPb
    name in self.__unindexed_properties):
AttributeError: 'Entity' object has no attribute
'_Entity__unindexed_properties'



Line of main.py 268:
 person.put()

Person model:

class Person(db.Model):
  id = db.StringProperty()
  name = db.StringProperty(default="") # for use with global rank
  score = db.IntegerProperty(default=0)
  rank = db.IntegerProperty(default=0) # military rank - from 0 to 17
  globalRankingPos = db.IntegerProperty(default=0) # global ranking
position
  trustness = db.FloatProperty(default=0.0)
  fakeness = db.FloatProperty(default=0.0)
  currentFleet = db.IntegerProperty(default=0)
  availableShots = db.IntegerProperty(default=0)
  maxShots = db.IntegerProperty(default=0)
  shipsSunk = db.ListProperty(int,verbose_name="Sunken ships list",
default=[0,0,0,0,0]) # list in which position i has the number of i+1
sized ships
  shipsLost = db.ListProperty(int,verbose_name="Lost ships list",
default=[0,0,0,0,0])
  lastAccess = db.DateTimeProperty(auto_now_add=True)


Any thing I can do?

Thanks alot!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to