-
Notifications
You must be signed in to change notification settings - Fork 24
Closed
Labels
Description
I am raising this issue to alert users to a problem with recent versions of the ipykernel, which causes exceptions in the NeXpy IPython shell to hang. This resulted from a change to the message-based kernel code without a concomitant change being made to the in-process kernel that NeXpy uses (see this PR). The fix to the ipykernel package has now been merged, so the problem should be resolved after its next release.
The symptom is that, when you type something in the shell that raises an exception, the shell hangs with a message like this one:
/.../ipykernel/ipykernel/kernelbase.py:757: RuntimeWarning: coroutine 'InProcessKernel._abort_queues' was never awaitedIn [2]:
self._abort_queues()
If you experience this issue, a temporary fix is to install ipykernel v6.8.0.
$ conda install ipykernel=6.8.0
or
$ pip install -I ipykernel==6.8.0