Skip to content
This repository has been archived by the owner on Sep 3, 2020. It is now read-only.

Error occurs when loading time wheel config #14

Open
chiatt opened this issue Mar 26, 2019 · 0 comments
Open

Error occurs when loading time wheel config #14

chiatt opened this issue Mar 26, 2019 · 0 comments

Comments

@chiatt
Copy link
Member

chiatt commented Mar 26, 2019

A keyerror occurs when rendering the time wheel using the DISCO pkg.

Internal Server Error: /search/time_wheel_config
Traceback (most recent call last):
File "/Users/cyrus/Documents/projects/GCI/arches4/env/lib/python2.7/site-packages/django/core/handlers/exception.py", line 41, in inner
response = get_response(request)
File "/Users/cyrus/Documents/projects/GCI/arches4/env/lib/python2.7/site-packages/django/core/handlers/base.py", line 187, in _get_response
response = self.process_exception_by_middleware(e, request)
File "/Users/cyrus/Documents/projects/GCI/arches4/env/lib/python2.7/site-packages/django/core/handlers/base.py", line 185, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/Users/cyrus/Documents/projects/GCI/arches4/arches/arches/app/views/search.py", line 621, in time_wheel_config
config = time_wheel.time_wheel_config(request.user)
File "/Users/cyrus/Documents/projects/GCI/arches4/arches/arches/app/search/time_wheel.py", line 20, in time_wheel_config
if results is not None and results['aggregations']['min_max_agg']['min_dates.date']['value'] is not None and results['aggregations']['min_max_agg']['max_dates.date']['value'] is not None:
KeyError: 'min_dates.date'

@chiatt chiatt transferred this issue from archesproject/arches Jun 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant