index.yaml was the problem. Thanks! robbie
On Saturday, August 10, 2013 5:58:59 AM UTC-4, timh wrote: > > From the stack trace it appears it has a problem with the index > definitions. Check what you have in index.yaml as well as clearing the > datastore. > > T > > On Saturday, August 10, 2013 10:49:16 AM UTC+8, Robbie Edwards wrote: >> >> Hi all, >> >> When trying to view my development datastore, I'm getting an internal >> server error. I've tried to clear the datastore, but nothing seems to make >> it work. Error is as below and occurs whenever I click datastore viewer or >> datastore indexes from the SDK console. Any help is appreciated. >> >> Internal Server Error >> >> The server has either erred or is incapable of performing the requested >> operation. >> >> Traceback (most recent call last): >> File "D:\SDK\Google App Engine\lib\webapp2-2.5.1\webapp2.py", line 1536, >> in __call__ >> rv = self.handle_exception(request, response, e) >> File "D:\SDK\Google App Engine\lib\webapp2-2.5.1\webapp2.py", line 1530, >> in __call__ >> rv = self.router.dispatch(request, response) >> File "D:\SDK\Google App Engine\lib\webapp2-2.5.1\webapp2.py", line 1278, >> in default_dispatcher >> return route.handler_adapter(request, response) >> File "D:\SDK\Google App Engine\lib\webapp2-2.5.1\webapp2.py", line 1102, >> in __call__ >> return handler.dispatch() >> File "D:\SDK\Google App >> Engine\google\appengine\tools\devappserver2\admin\admin_request_handler.py", >> line 95, in dispatch >> super(AdminRequestHandler, self).dispatch() >> File "D:\SDK\Google App Engine\lib\webapp2-2.5.1\webapp2.py", line 572, in >> dispatch >> return self.handle_exception(e, self.app.debug) >> File "D:\SDK\Google App Engine\lib\webapp2-2.5.1\webapp2.py", line 570, in >> dispatch >> return method(*args, **kwargs) >> File "D:\SDK\Google App >> Engine\google\appengine\tools\devappserver2\admin\datastore_viewer.py", line >> 656, in get >> kinds = self._get_kinds(namespace) >> File "D:\SDK\Google App >> Engine\google\appengine\tools\devappserver2\admin\datastore_viewer.py", line >> 592, in _get_kinds >> return sorted([x.kind_name for x in q.run()]) >> File "D:\SDK\Google App Engine\google\appengine\ext\db\__init__.py", line >> 2326, in next >> return self.__model_class.from_entity(self.__iterator.next()) >> File "D:\SDK\Google App >> Engine\google\appengine\datastore\datastore_query.py", line 2891, in next >> next_batch = self.__batcher.next() >> File "D:\SDK\Google App >> Engine\google\appengine\datastore\datastore_query.py", line 2753, in next >> return self.next_batch(self.AT_LEAST_ONE) >> File "D:\SDK\Google App >> Engine\google\appengine\datastore\datastore_query.py", line 2790, in >> next_batch >> batch = self.__next_batch.get_result() >> File "D:\SDK\Google App Engine\google\appengine\api\apiproxy_stub_map.py", >> line 612, in get_result >> return self.__get_result_hook(self) >> File "D:\SDK\Google App >> Engine\google\appengine\datastore\datastore_query.py", line 2527, in >> __query_result_hook >> self._batch_shared.conn.check_rpc_success(rpc) >> File "D:\SDK\Google App >> Engine\google\appengine\datastore\datastore_rpc.py", line 1234, in >> check_rpc_success >> rpc.check_success() >> File "D:\SDK\Google App Engine\google\appengine\api\apiproxy_stub_map.py", >> line 578, in check_success >> self.__rpc.CheckSuccess() >> File "D:\SDK\Google App Engine\google\appengine\api\apiproxy_rpc.py", line >> 156, in _WaitImpl >> self.request, self.response) >> File "D:\SDK\Google App >> Engine\google\appengine\datastore\datastore_sqlite_stub.py", line 946, in >> MakeSyncCall >> response, request_id) >> File "D:\SDK\Google App Engine\google\appengine\api\apiproxy_stub.py", >> line 130, in MakeSyncCall >> method(request, response) >> File "D:\SDK\Google App >> Engine\google\appengine\datastore\datastore_stub_util.py", line 2786, in >> UpdateIndexesWrapper >> self._SetupIndexes() >> File "D:\SDK\Google App >> Engine\google\appengine\datastore\datastore_stub_util.py", line 3134, in >> _SetupIndexes >> index_defs = datastore_index.ParseIndexDefinitions(index_yaml_data) >> File "D:\SDK\Google App >> Engine\google\appengine\datastore\datastore_index.py", line 131, in >> ParseIndexDefinitions >> return yaml_object.BuildSingleObject(IndexDefinitions, document) >> File "D:\SDK\Google App Engine\google\appengine\api\yaml_object.py", line >> 315, in BuildSingleObject >> definitions = BuildObjects(default_class, stream, loader) >> File "D:\SDK\Google App Engine\google\appengine\api\yaml_object.py", line >> 298, in BuildObjects >> listener.Parse(stream, loader) >> File "D:\SDK\Google App Engine\google\appengine\api\yaml_listener.py", >> line 226, in Parse >> self._HandleEvents(self._GenerateEventParameters(stream, loader_class)) >> File "D:\SDK\Google App Engine\google\appengine\api\yaml_listener.py", >> line 177, in _HandleEvents >> raise yaml_errors.EventError(e, event_object) >> EventError: <unprintable EventError object> >> >> -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/groups/opt_out.
