-
Notifications
You must be signed in to change notification settings - Fork 150
Description
This may be related to #247.
If I create a minimalist jupyter_console_config.py
with just these lines:
c = get_config() #noqa
c.ZMQTerminalInteractiveShell.include_other_output = True
The following error occurs when I run jupyter_console
:
Task exception was never retrieved
future: <Task finished name='Task-7' coro=<ZMQTerminalInteractiveShell.handle_external_iopub() done, defined at /home/praful/.pyenv/versions/3.11.1/lib/python3.11/site-packages/jupyter_console/ptshell.py:839> exception=TypeError("object int can't be used in 'await' expression")>
Traceback (most recent call last):
File "/home/praful/.pyenv/versions/3.11.1/lib/python3.11/site-packages/jupyter_console/ptshell.py", line 842, in handle_external_iopub
poll_result = await self.client.iopub_channel.socket.poll(500)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: object int can't be used in 'await' expression
Shutting down kernel
This setting is required to use the jupyter-vim plugin.
I have done the same in jupyter_qtconsole_config.py
and all is fine. For now, I'm running jupyter qtconsole
.
The output of jupyter console --show-config
is:
0.00s - Debugger warning: It seems that frozen modules are being used, which may
0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off
0.00s - to python to disable frozen modules.
0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation.
0.00s - Debugger warning: It seems that frozen modules are being used, which may
0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off
0.00s - to python to disable frozen modules.
0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation.
Jupyter console 6.4.4
Python 3.11.1 (main, Feb 4 2023, 16:51:41) [GCC 11.3.0]
Type 'copyright', 'credits' or 'license' for more information
IPython 8.9.0 -- An enhanced Interactive Python. Type '?' for help.
Loaded config files:
/home/praful/.jupyter/jupyter_console_config.py
ZMQTerminalInteractiveShell
.include_other_output = True
Here is my system info:
❯ lsb_release -a
No LSB modules are available.
Distributor ID: Linuxmint
Description: Linux Mint 21.1
Release: 21.1
Codename: vera
❯ uname -r
5.15.0-58-generic
Metadata
Metadata
Assignees
Labels
No labels