[Breaking Bug] Changing 1 argument in kernel.json to support Hydrogen
See original GitHub issuetslab works for me at jupyter-notebok. I haven’t test for jupyter-lab but i think it will work.
What I am working with is called hydrogen Which is an environment that uses jupyter kernel interfaces to support live code output displaying in the text editor atom by Github.
So the thing is the current generated kernel.json file is like this:
{
"argv": [
"tslab",
"kernel",
"--config-path={connection_file}",
"--js"
],
"display_name": "JavaScript",
"language": "javascript"
}
Which will break as the string “–config-path={connection_file}” is not matched by jupyter client.
Changing it to this will fix the issue:
{
"argv": [
"tslab",
"kernel",
"--config-path",
"{connection_file}",
"--js"
],
"display_name": "JavaScript",
"language": "javascript"
}
The same thing should be done for TypeScript as well.
Note that this is not necessary to change as I believe the problem is with hydrogen.
But since this is an extremely simple fix, why not changing it to support other platform as well?
Especially there starts to have similar plugins for other text editors such as VScode.
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (2 by maintainers)
Top GitHub Comments
Thank you for the detailed investigation.
It’s easy to bypass the issue. I released the new version with the fix (
v1.0.13
). Let me know if the change does not fix the problem.@we684123 😃No worries, it do be like that sometimes.