Magic does not work after error
Closed this issue · 7 comments
I've got various issues in my recent experiences with JupyterLab that I did not get a chance to report until today. But let me start with maybe only a couple of them hoping that they are somewhat related and the fix of one leads to fix of another. Here is the first one:
To reproduce, open up SoS and use an R cell to make a mistake. Then try some magic eg %cd
. It will complain.
Next, click on the reload icon to restart notebook:
then the cd
works, but will throw in a warning message:
I believe a similar yet slightly different symptom is observed for %revisions
so I hope fixing this ticket will fix both.
The %cd
R problem is caused by outdated sos-r
module. Please upgrade.
Sorry, it only happens after error? I will check.
Hmm seems so ... I'll leave the ticket open for a while until I confirm my other unreported ill-behaved magics work after the upgrade. Thanks a lot!
Okay in my ticket I reported 2 things:
cd_command
issue after error, which is fixed after upgrade.- click on the restart icon after error, and see the restart jupyter server prompt. That is not fixed by the upgrade.
I can somehow reproduce this bug by evaluate any cell, restart, and re-evaluate, if it is ok, restart kernel again.
The problem seems to have disappeared. I have added a few debug messages for kernel change so please re-open this ticket with message copied from the browser console window if you still experience any problem with missing sos-comm.