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

jupyter-client 8.0.0 invalid json output #920

Closed
kgartland-rstudio opened this issue Jan 26, 2023 · 1 comment · Fixed by #921
Closed

jupyter-client 8.0.0 invalid json output #920

kgartland-rstudio opened this issue Jan 26, 2023 · 1 comment · Fixed by #921

Comments

@kgartland-rstudio
Copy link

Our application executes the following command:
python -m jupyter kernelspec list --json

Since the 8.0.0 release today, we have been hitting an error. It looks like there's now some extra text before the JSON output so it doesn't parse properly. The following line was changed from a print output to a logger which seems to prefix the JSON with a log label and breaks JSON parsing.

https://github.com/jupyter/jupyter_client/pull/895/files#diff-8d595ac8be48da6c32e22dedb24097bae34a9ca54c6298f572ccab22db174fa7L68-R62

@blink1073
Copy link
Member

Thanks for the report! Fix is coming in #921.

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.

2 participants