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

"ValueError: Empty value passed for a required argument" during setup #152

Open
remram44 opened this issue Sep 26, 2018 · 0 comments
Open

Comments

@remram44
Copy link

remram44 commented Sep 26, 2018

Might be related to #149, however it happens with elasticsearch-dsl<6.2, even with Elasticsearch 5 (with elasticsearch==5.5.3 and elasticsearch-dsl==5.4.0).

Traceback (most recent call last):
  File "/home/ubuntu/venv/bin/invenio", line 11, in <module>
    sys.exit(cli())
  File "/home/ubuntu/venv/lib/python3.6/site-packages/click/core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "/home/ubuntu/venv/lib/python3.6/site-packages/flask/cli.py", line 557, in main
    return super(FlaskGroup, self).main(*args, **kwargs)
  File "/home/ubuntu/venv/lib/python3.6/site-packages/click/core.py", line 717, in main
    rv = self.invoke(ctx)
  File "/home/ubuntu/venv/lib/python3.6/site-packages/click/core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/ubuntu/venv/lib/python3.6/site-packages/click/core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/ubuntu/venv/lib/python3.6/site-packages/click/core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/ubuntu/venv/lib/python3.6/site-packages/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/home/ubuntu/venv/lib/python3.6/site-packages/click/decorators.py", line 17, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/home/ubuntu/venv/lib/python3.6/site-packages/flask/cli.py", line 412, in decorator
    return __ctx.invoke(f, *args, **kwargs)
  File "/home/ubuntu/venv/lib/python3.6/site-packages/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/home/ubuntu/venv/lib/python3.6/site-packages/invenio_search/cli.py", line 44, in inner
    return f(*args, **kwargs)
  File "/home/ubuntu/venv/lib/python3.6/site-packages/invenio_search/cli.py", line 97, in destroy
    for name, response in bar:
  File "/home/ubuntu/venv/lib/python3.6/site-packages/click/_termui_impl.py", line 285, in generator
    for rv in self.iter:
  File "/home/ubuntu/venv/lib/python3.6/site-packages/invenio_search/ext.py", line 309, in delete
    for result in _delete(self.active_aliases):
  File "/home/ubuntu/venv/lib/python3.6/site-packages/invenio_search/ext.py", line 301, in _delete
    for result in _delete(value, alias=name):
  File "/home/ubuntu/venv/lib/python3.6/site-packages/invenio_search/ext.py", line 295, in _delete
    ignore=ignore,
  File "/home/ubuntu/venv/lib/python3.6/site-packages/elasticsearch/client/utils.py", line 73, in _wrapped
    return func(*args, params=params, **kwargs)
  File "/home/ubuntu/venv/lib/python3.6/site-packages/elasticsearch/client/indices.py", line 432, in delete_alias
    raise ValueError("Empty value passed for a required argument.")
ValueError: Empty value passed for a required argument.

(I'm following those instructions)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant