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

Test throws error #5

Open
ghost opened this issue Aug 11, 2018 · 2 comments
Open

Test throws error #5

ghost opened this issue Aug 11, 2018 · 2 comments

Comments

@ghost
Copy link

ghost commented Aug 11, 2018

when I run test/_get.py, I get
Traceback (most recent call last): File "_get.py", line 21, in <module> "parents": True File "...python3.6/site-packages/datachile/chilecube.py", line 110, in get q = agg.tidy File "...python3.6/site-packages/mondrian_rest/aggregation.py", line 94, in tidy measures = data['axes'][0]['members'] KeyError: 'axes

@hlatorreg
Copy link

What if you print/debug the data object and watch the keys.

My guess is that it's 'axis' and not 'axes'.

@f3l1p3xlcc
Copy link

f3l1p3xlcc commented Sep 11, 2019

Hi, I have the following out:

Traceback (most recent call last):
File "script1.py", line 6, in
"parents": True } )
File ".../anaconda3/lib/python3.7/site-packages/datachile/chilecube.py", line 110, in get
q = agg.tidy
File "...anaconda3/lib/python3.7/site-packages/mondrian_rest/aggregation.py", line 116, in tidy
'axes': data['axis_dimensions'][1:],
KeyError: 'axis_dimensions'

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

2 participants