I am getting the following error on Google App Engine: File "/base/data/home/apps/test/1.345469538660333403/gluon/contrib/ gql.py", line 752, in select new_item.append(int(item.key().id())) TypeError: int() argument must be a string or a number, not 'NoneType'
Seems that web2py expects my keys are numeric, which is not a requirement: http://code.google.com/appengine/docs/python/datastore/keyclass.html#Key_id id() Returns the numeric ID of the data entity, as an integer, or None if the entity does not have a numeric ID.