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

udata search reindex error #1009

Closed
abulte opened this issue Jul 3, 2017 · 1 comment
Closed

udata search reindex error #1009

abulte opened this issue Jul 3, 2017 · 1 comment

Comments

@abulte
Copy link
Contributor

abulte commented Jul 3, 2017

udata search reindex w/o argument raises the following error:

Traceback (most recent call last):
  File "/Users/alexandre/Developer/Etalab/udata/pyenv/bin/udata", line 11, in <module>
    load_entry_point('udata', 'console_scripts', 'udata')()
  File "/Users/alexandre/Developer/Etalab/udata/udata/commands/__init__.py", line 88, in console_script
    run_manager()
  File "/Users/alexandre/Developer/Etalab/udata/udata/commands/__init__.py", line 84, in run_manager
    manager.run()
  File "/Users/alexandre/Developer/Etalab/udata/pyenv/lib/python2.7/site-packages/flask_script/__init__.py", line 412, in run
    result = self.handle(sys.argv[0], sys.argv[1:])
  File "/Users/alexandre/Developer/Etalab/udata/pyenv/lib/python2.7/site-packages/flask_script/__init__.py", line 383, in handle
    res = handle(*args, **config)
  File "/Users/alexandre/Developer/Etalab/udata/pyenv/lib/python2.7/site-packages/flask_script/commands.py", line 216, in __call__
    return self.run(*args, **kwargs)
  File "/Users/alexandre/Developer/Etalab/udata/udata/search/commands.py", line 90, in reindex
    if adapter.doc_type().lower() == doc_type.lower():
AttributeError: 'NoneType' object has no attribute 'lower'
abulte added a commit that referenced this issue Jul 4, 2017
@abulte
Copy link
Contributor Author

abulte commented Sep 5, 2017

Fixed in 1.1.0

@abulte abulte closed this as completed Sep 5, 2017
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