Well, I was able to solve it by myself: did a SELECT __key__ query, fetched the last entity and deleted it.
My undertanding is that the problem was generated by creating and storing a User object created with a federated_identity with no email address (blogger.com, in that specific case). The application must verify that this information is passed by the federated_provider and if not, ask the user to provide it via a web form or do not attempt to store the object. Thanks Roberto On 16 Giu, 01:05, Roberto <[email protected]> wrote: > Sorry for the repost, but I am totally stuck. > There is no way of removing the corrupted entity. > App Id: test-pappa-mi > Entity: Commissario (corrupted entity should be the last created of > its kind) > > this is the stack trace: > Traceback (most recent call last): > File "/base/python_runtime/python_lib/versions/1/google/appengine/ > ext/webapp/__init__.py", line 511, in __call__ > handler.get(*groups) > File "/base/data/home/apps/test-pappa-mi/1.342696057774496084/py/ > admin.py", line 419, in get > for commissario in Commissario.all(): > File "/base/python_runtime/python_lib/versions/1/google/appengine/ > ext/db/__init__.py", line 1816, in next > return self.__model_class.from_entity(self.__iterator.next()) > File "/base/python_runtime/python_lib/versions/1/google/appengine/ > api/datastore.py", line 2082, in next > self.__buffer = self._Next(self.__batch_size) > File "/base/python_runtime/python_lib/versions/1/google/appengine/ > api/datastore.py", line 2028, in _Next > return self._ProcessQueryResult(result) > File "/base/python_runtime/python_lib/versions/1/google/appengine/ > api/datastore.py", line 2058, in _ProcessQueryResult > return [Entity._FromPb(e) for e in result.result_list()] > File "/base/python_runtime/python_lib/versions/1/google/appengine/ > api/datastore.py", line 760, in _FromPb > value = datastore_types.FromPropertyPb(prop) > File "/base/python_runtime/python_lib/versions/1/google/appengine/ > api/datastore_types.py", line 1597, in FromPropertyPb > federated_identity=federated_identity) > File "/base/python_runtime/python_lib/versions/1/google/appengine/ > api/users.py", line 104, in __init__ > raise UserNotFoundError > UserNotFoundError > > Thanks > Roberto > > On 15 Giu, 12:10, "Nick Johnson (Google)" <[email protected]> > wrote: > > > > > Hi Roberto, > > > What is your App ID? > > > -Nick Johnson > > > On Tue, Jun 15, 2010 at 11:04 AM, Roberto > > <[email protected]>wrote: > > > > Hi all, > > > > I have a serious problem with an application using OpenId > > > autentication. > > > > I tested the app using using blogger.com as an openid provider and > > > stored the User object in the Datastore, in a UserProfile table. > > > Now it is not possible to retrieve the entity containing that User, > > > raising UserNotFoundError. > > > > Even the remote Datastore Viewer crashes with the following message > > > when querying the entity: > > > Server Error > > > A server error has occurred. > > > > Any help is appreciated. > > > > Thanks > > > Roberto > > > > -- > > > You received this message because you are subscribed to the Google Groups > > > "Google App Engine" group. > > > To post to this group, send email to [email protected]. > > > To unsubscribe from this group, send email to > > > [email protected]<google-appengine%2Bunsubscrib > > > [email protected]> > > > . > > > For more options, visit this group at > > >http://groups.google.com/group/google-appengine?hl=en. > > > -- > > Nick Johnson, Developer Programs Engineer, App Engine Google Ireland Ltd. :: > > Registered in Dublin, Ireland, Registration Number: 368047 > > Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number: > > 368047 -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
