You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary
There is a call to /python/search/clean-up during the unittests which fails with a 500 internal server error.
Application Code
class CleanUpHandler(webapp2.RequestHandler):
def post(self):
indexes = search.get_indexes()
for index in indexes:
doc_ids = index.get_range(ids_only=True)
index.delete(doc_ids)
Expected
Documents should be deleted from the Index
Actual
500 Internal server error is encountered.
Application Logs
ERROR 2018-12-12 20:06:54,350 webapp2.py:1528] Required field: status not set.
Traceback (most recent call last):
File "/root/appscale/AppServer/lib/webapp2-2.3/webapp2.py", line 1511, in __call__
rv = self.handle_exception(request, response, e)
File "/root/appscale/AppServer/lib/webapp2-2.3/webapp2.py", line 1505, in __call__
rv = self.router.dispatch(request, response)
File "/root/appscale/AppServer/lib/webapp2-2.3/webapp2.py", line 1253, in default_dispatcher
return route.handler_adapter(request, response)
File "/root/appscale/AppServer/lib/webapp2-2.3/webapp2.py", line 1077, in __call__
return handler.dispatch()
File "/root/appscale/AppServer/lib/webapp2-2.3/webapp2.py", line 547, in dispatch
return self.handle_exception(e, self.app.debug)
File "/root/appscale/AppServer/lib/webapp2-2.3/webapp2.py", line 545, in dispatch
return method(*args, **kwargs)
File "/var/apps/hawkeyepython27_default_v1_1544644216773/app/search.py", line 104, in post
indexes = search.get_indexes()
File "/root/appscale/AppServer/google/appengine/api/search/search.py", line 672, in get_indexes
fetch_schema=fetch_schema, **kwargs)
File "/root/appscale/AppServer/google/appengine/api/search/search.py", line 719, in _GetIndexes
apiproxy_stub_map.MakeSyncCall('search', 'ListIndexes', request, response)
File "/root/appscale/AppServer/google/appengine/api/apiproxy_stub_map.py", line 94, in MakeSyncCall
return stubmap.MakeSyncCall(service, call, request, response)
File "/root/appscale/AppServer/google/appengine/api/apiproxy_stub_map.py", line 326, in MakeSyncCall
rpc.CheckSuccess()
File "/root/appscale/AppServer/google/appengine/api/apiproxy_rpc.py", line 234, in _make_sync_call
self.stub.MakeSyncCall(service, call, request, response)
File "/root/appscale/AppServer/google/appengine/ext/remote_api/remote_api_stub.py", line 201, in MakeSyncCall
self._MakeRealSyncCall(service, call, request, response)
File "/root/appscale/AppServer/google/appengine/ext/remote_api/remote_api_stub.py", line 238, in _MakeRealSyncCall
raise pickle.loads(response_pb.exception())
ProtocolBufferDecodeError: Required field: status not set.
INFO 2018-12-12 20:06:54,360 module.py:651] default: "POST /python/search/clean-up HTTP/1.0" 500 228
The text was updated successfully, but these errors were encountered:
Summary
There is a call to /python/search/clean-up during the unittests which fails with a 500 internal server error.
Application Code
Expected
Documents should be deleted from the Index
Actual
500 Internal server error is encountered.
Application Logs
The text was updated successfully, but these errors were encountered: