vatlab / sos-notebook

Multi-language Jupyter Notebook
http://vatlab.github.io/SoS
BSD 3-Clause "New" or "Revised" License
176 stars 17 forks source link

Neither `sos-notebook` nor `jupyterlab-sos` works... #330

Closed AnselmJeong closed 3 years ago

AnselmJeong commented 3 years ago

I found this project today, and I tried to make it work. However, whenever I tried to change kernel, this error message pops up and the notebook just hangs indefinitely.

image

I did not issue a complicated command, just see below.

image

I even installed all the newest related modules directly from github, but it doesn't work either....

jupyter kernelspec list correctly shows the needed kernels.

image

I've tried sos-notebook but failed to make it work either.

Does any one use this exceptional package in their work recently or just abandoned nowadays?

Thanks.

BoPeng commented 3 years ago

Not sure about the first one, but the 2nd one is #328 and currently the best approach is to downgrade jupyter_client to 6.x.x. This is a problem that affects many kernels, not just sos notebook.

BoPeng commented 3 years ago

@AnselmJeong Could you try the async branch of sos-notebook and see if it works for you? Thanks.

BoPeng commented 3 years ago

I have released sos-notebook 0.22.7. Please let me know if the problem persists.

AnselmJeong commented 3 years ago

It works beautifully..... Thanks for your hard work.

But there is one issue that has not been solved.....

The jupyter log window spawned out these warning messages....

image

May be spelling mistakes?

from AnselmJeong

AnselmJeong commented 3 years ago

Another question...

Can't julia kernel get a dataframe made in R kernel?

In my experimentation, julia kernel can get a vector and a list from R kernel without a problem. But it fails to get any dataframes.

In contrast, SoS kernel can any type of data from R kernel. Julia kernel cannot get a dataframe imported into SoS kernel. This problem also applies to tibble format.

The following is my experimentation.

image

BoPeng commented 3 years ago

I have transferred the issue to https://github.com/vatlab/sos-julia/issues/23

BoPeng commented 3 years ago

@AnselmJeong The template_path issue is unrelated to sos-notebook. It was caused by the update of nbconvert which cuases a conflict with another package.

See https://github.com/ipython-contrib/jupyter_contrib_nbextensions/issues/1529 for more details.