kiyoon / jupynium.nvim

Selenium-automated Jupyter Notebook that is synchronised with NeoVim in real-time.
MIT License
486 stars 15 forks source link

JupyniumStartSync sometimes leaves the ipynb empty #37

Closed kiyoon closed 1 year ago

kiyoon commented 1 year ago

Minor bug that doesn't set the ipynb content from time to time.

Maybe happens when you move around during the :JupyniumStartSync call.

It's minor because as soon as you make changes in vim it will be synced again.

kiyoon commented 1 year ago

This happens when the kernel lags and gets started after we set all texts. We can wait until the kernel loads before we start setting the texts.

[W 00:17:21.158 NotebookApp] 404 GET /nbextensions/widgets/notebook/js/exten
ion.js?v=20230325001508 (127.0.0.1) 15.100000ms referer=http://localhost:888
/notebooks/Untitled14.ipynb?kernel_name=python3
[I 00:17:21.214 NotebookApp] Kernel started: c41837af-0410-4072-8702-6f723ac
015e, name: python3