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

Empty values bug #10

Closed
RPing opened this issue Aug 16, 2020 · 0 comments · Fixed by #17
Closed

Empty values bug #10

RPing opened this issue Aug 16, 2020 · 0 comments · Fixed by #17
Milestone

Comments

@RPing
Copy link
Owner

RPing commented Aug 16, 2020

influx-prompt

root> SHOW CONTINUOUS QUERIES
Traceback (most recent call last):
  File "/home/rpchen1228/.pyenv/versions/3.6.4/bin/influx-prompt", line 8, in <module>
    sys.exit(cli())
  File "/home/rpchen1228/.pyenv/versions/3.6.4/lib/python3.6/site-packages/influx_prompt/main.py", line 176, in cli
    influx_prompt.run_cli()
  File "/home/rpchen1228/.pyenv/versions/3.6.4/lib/python3.6/site-packages/influx_prompt/main.py", line 95, in run_cli
    arr = json_to_tabular_result(result)
  File "/home/rpchen1228/.pyenv/versions/3.6.4/lib/python3.6/site-packages/influx_prompt/tabular.py", line 27, in json_to_tabular_result
    values = series['values']
KeyError: 'values'

Official cli

> SHOW CONTINUOUS QUERIES
name: _internal
name query
---- -----

name: NOAA_water_database
name query
---- -----
> 
@RPing RPing added this to the 1.0 milestone Sep 22, 2020
@RPing RPing changed the title SHOW CONTINUOUS QUERIES bug Empty values bug Sep 22, 2020
@RPing RPing mentioned this issue Sep 24, 2020
@RPing RPing closed this as completed in #17 Sep 24, 2020
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

Successfully merging a pull request may close this issue.

1 participant