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

Kqlmagic logs "ERROR:root:argument of type 'NoneType' is not iterable" when setting one of these options.... #92

Open
David-Noble-at-work opened this issue May 20, 2022 · 2 comments
Assignees

Comments

@David-Noble-at-work
Copy link

David-Noble-at-work commented May 20, 2022

The offending option is Kqlmagic.plotly_config which produces this warning message:

ERROR:root:argument of type 'NoneType' is not iterable

Here are all the options I set in my notebook:

%config Kqlmagic.plotly_layout = {'autosize': True, 'template': 'plotly_dark', 'height': 900, 'yaxis': {'rangemode': 'nonnegative'}}
%config Kqlmagic.plotly_config = {'displaylogo': False}
%config Kqlmagic.enable_curly_brackets_params = False
%config Kqlmagic.enable_suppress_result = True
%config Kqlmagic.json_display = 'formatted'
%config Kqlmagic.schema_json_display = 'formatted'
%config Kqlmagic.show_query = False
%config Kqlmagic.table_package = 'pandas'

The warning message originates in the call to IPython traitlets.config.configurable._load_config at line 200 in the version install on my virtualenv. The warning occurs the first time down this code path.

@David-Noble-at-work
Copy link
Author

Are you guys actively looking at issues? I'm Microsoft and available for a remote debugging session on macOS, if you would like. It seems to me you've let some Window-isms creep in. You also don't work very well with JetBrains. I'm here to help, if you'd like.

@mbnshtck mbnshtck self-assigned this Jun 7, 2022
@David-Noble-at-work
Copy link
Author

@mbnshtck Any updates? Need any help on this?

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