jupyterlite / xeus-sqlite-kernel

A SQLite kernel for JupyterLite, powered by Xeus
BSD 3-Clause "New" or "Revised" License
29 stars 24 forks source link

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

Open jtpio opened 2 years ago

jtpio commented 2 years ago

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 commented 2 years ago

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.

DerThorsten commented 2 years ago

@jtpio locally this works for me..

DerThorsten commented 2 years ago

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