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

TSLab version 1.0.21 not working properly with AllTheKernels kernel version 1.2.0 #24

Closed
paolocarinci opened this issue Jun 2, 2024 · 2 comments

Comments

@paolocarinci
Copy link

Whenever you execute a command in AllTheKernels kernel (either in a notebook or in a shell), e.g.

>jslab
console.log("Test");

the cell remains running indefinitley and no output is shown.
In the logs I spotted an error message that says that a JSON parse exception has occurred.

[AllTheKernelsApp] Relaying execute_request to jslab
UnhandledPromiseRejection: SyntaxError: Unexpected token 'a', "a07332d4ce"... is not valid JSON
    at JSON.parse (<anonymous>)
    at ZmqMessage.fromRaw (/opt/jupyterhub/lib/node_modules/tslab/dist/jupyter.js:67:27)
    at ZmqServer.handleShellMessage (/opt/jupyterhub/lib/node_modules/tslab/dist/jupyter.js:315:32)
    at /opt/jupyterhub/lib/node_modules/tslab/dist/jupyter.js:435:30

while the AllTheKernels kernel works fine with all the other kernels I use (IPython, Gophernotes, Bash, C, IJava).

@minrk
Copy link
Owner

minrk commented Jun 3, 2024

Thanks for the message, this is a bug in tslab, as you've already reported. Should be fixed by yunabe/tslab#99

@minrk minrk closed this as completed Jun 3, 2024
@yunabe
Copy link

yunabe commented Jun 22, 2024

Thank you for the fix, Min. I merged your pull request and pushed the new version.

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

3 participants