Closed maxandersen closed 7 months ago
basically have Json { ignoreUnknownKeys = true }
whereever it is messages are read.
Hi! Thanks for pointing this out! Maybe just adding a missing field to the scheme is a better solution? Idea was to keep protocol strict. Will it be possible for you to verify the fix in Google Colab if I prepare a new kernel version?
Yes, that would be great! happy to try it out as long as I can get some Maven coordinates to test :)
@maxandersen you can take version 0.12.0-93 to test (or 0.12.0.93 if you're using python dev packages)
it works!
open this gist with google colab and it works.
note: %kotlin-statistics does not work in that notebook but seems to be a jitpack/kotlin kernel issue rather than colab afaics.
note: I've updated the install-kernel script to have the proxy no longer use "ipc" in name, but more that the core kernel will have "-tcp" added in the end. makes the experience on colab consistent with how it works on all the others.
Thanks for fixing that!
older kernels like the ones used in google colab sends "user_variables" element.
This makes kotlin kernel fail to run.
Here is log from google colab:
could we make the json parsing more lenient and ignore what it does not know?