Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Labelling] No response #92

Open
Leobouloc opened this issue Apr 4, 2018 · 0 comments
Open

[Labelling] No response #92

Leobouloc opened this issue Apr 4, 2018 · 0 comments
Labels

Comments

@Leobouloc
Copy link
Member

Traceback (most recent call last):
  File "/root/magical_laundry/laundry_env/lib/python3.5/site-packages/flask/app.py", line 1997, in __call__
    return self.wsgi_app(environ, start_response)
  File "/root/magical_laundry/laundry_env/lib/python3.5/site-packages/flask/app.py", line 1985, in wsgi_app
    response = self.handle_exception(e)
  File "/root/magical_laundry/laundry_env/lib/python3.5/site-packages/flask_cors/extension.py", line 161, in wrapped_function
    return cors_after_request(app.make_response(f(*args, **kwargs)))
  File "/root/magical_laundry/laundry_env/lib/python3.5/site-packages/flask/app.py", line 1540, in handle_exception
    reraise(exc_type, exc_value, tb)
  File "/root/magical_laundry/laundry_env/lib/python3.5/site-packages/flask/_compat.py", line 33, in reraise
    raise value
  File "/root/magical_laundry/laundry_env/lib/python3.5/site-packages/flask/app.py", line 1982, in wsgi_app
    response = self.full_dispatch_request()
  File "/root/magical_laundry/laundry_env/lib/python3.5/site-packages/flask/app.py", line 1614, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/root/magical_laundry/laundry_env/lib/python3.5/site-packages/flask_cors/extension.py", line 161, in wrapped_function
    return cors_after_request(app.make_response(f(*args, **kwargs)))
  File "/root/magical_laundry/laundry_env/lib/python3.5/site-packages/flask/app.py", line 1517, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/root/magical_laundry/laundry_env/lib/python3.5/site-packages/flask/_compat.py", line 33, in reraise
    raise value
  File "/root/magical_laundry/laundry_env/lib/python3.5/site-packages/flask/app.py", line 1612, in full_dispatch_request
    rv = self.dispatch_request()
  File "/root/magical_laundry/laundry_env/lib/python3.5/site-packages/flask/app.py", line 1598, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/root/magical_laundry/laundry_env/lib/python3.5/site-packages/flask_cors/decorator.py", line 128, in wrapped_function
    resp = make_response(f(*args, **kwargs))
  File "/root/magical_laundry/the-magical-csv-merge-machine/merge_machine/api.py", line 1038, in update_labeller
    labeller.update(user_input)
  File "/root/magical_laundry/Merge-Machine/merge_machine/es_labeller.py", line 37, in wrapper
    res = function(*args, **kwargs)
  File "/root/magical_laundry/Merge-Machine/merge_machine/es_labeller.py", line 1598, in update
    self._next_row()
  File "/root/magical_laundry/Merge-Machine/merge_machine/es_labeller.py", line 1092, in _next_row
    self._init_ref_gen()
  File "/root/magical_laundry/Merge-Machine/merge_machine/es_labeller.py", line 1039, in _init_ref_gen
    self._fetch_results_for_row()
  File "/root/magical_laundry/Merge-Machine/merge_machine/es_labeller.py", line 1007, in _fetch_results_for_row
    self.current_source_item, self.NUM_SEARCH_RESULTS)
  File "/root/magical_laundry/Merge-Machine/merge_machine/es_labeller.py", line 37, in wrapper
    res = function(*args, **kwargs)
  File "/root/magical_laundry/Merge-Machine/merge_machine/es_labeller.py", line 1175, in pruned_bulk_search
    bulk_results = self._bulk_search(query_bulk, row, num_results)
  File "/root/magical_laundry/Merge-Machine/merge_machine/es_labeller.py", line 1128, in _bulk_search
    num_results)
  File "/root/magical_laundry/Merge-Machine/merge_machine/helpers.py", line 251, in _bulk_search
    responses.extend(es.msearch(bulk_body)['responses']) #, index=index_name)
KeyError: 'responses'

@Leobouloc Leobouloc added the bug label Apr 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant