ganymede
ganymede copied to clipboard
validation error
request & response from websocket is normal ,but the data can't pass the validation of the frontend! the property of username is empty.
jlab_core.e1237d77b77be55fe336.js?v=e1237d77b77be55fe336:2 Uncaught Error: Kernel message validation error: Missing property 'username'
at Object.n [as validateProperty] (jlab_core.e1237d77b77be55fe336.js?v=e1237d77b77be55fe336:2)
at s (jlab_core.e1237d77b77be55fe336.js?v=e1237d77b77be55fe336:2)
at Object.a [as validateMessage] (jlab_core.e1237d77b77be55fe336.js?v=e1237d77b77be55fe336:2)
at WebSocket._onWSMessage (jlab_core.e1237d77b77be55fe336.js?v=e1237d77b77be55fe336:2)

The Ganymede kernel works fine in notebooks but I get the same validation error in using the kernel in JupyterLab. The issue may be similar to symmetryinvestments/jupyter-wire#27. I'm just starting out with java but it looks like the Message class has a username attribute so I'm not sure where it's getting dropped. https://github.com/allen-ball/ganymede/blob/a7cfca7eaf4608c12e8587dac154e93f7f5ee285/ganymede-kernel/src/main/java/ganymede/server/Message.java#L110-L120