xeus-sqlite-kernel icon indicating copy to clipboard operation
xeus-sqlite-kernel copied to clipboard

RuntimeError: Aborted(Assertion failed: sz < N && "setting a small size"

Open jtpio opened this issue 3 years ago • 3 comments

Description

Opening a notebook with the jupyterlite-xeus-sqlite kernel gives the following error in the console:

RuntimeError: Aborted(Assertion failed: sz < N && "setting a small size", at: /install/include/xtl/xbasic_fixed_string.hpp,109,set_size). Build with -s ASSERTIONS=1 for more info.

Reproduce

Use jupyterlite-xeus-sqlite==0.2.0 in a JupyterLite deployment.

https://user-images.githubusercontent.com/591645/159488974-56419ed2-69c1-44d2-85d8-744e4ca5f958.mp4

Expected behavior

The kernel should start without error.

Context

Noticed when updating to jupyterlite-sqlite for the Try Jupyter deployment: https://github.com/jupyter/try-jupyter/pull/10


cc @SylvainCorlay @DerThorsten if you can have a look, thanks!

jtpio avatar Mar 22 '22 13:03 jtpio

It might not be an issue with 0.2.0 only, looks like it's also happening with the previous version (0.1.2) too.

jtpio avatar Mar 22 '22 13:03 jtpio

@jtpio locally this works for me..

DerThorsten avatar May 14 '22 07:05 DerThorsten

@jtpio it even works when I install xeus-sqlite-kernel-0.2.0 via pip.

DerThorsten avatar May 14 '22 07:05 DerThorsten