Skip to content

Unexpected keyword error occurs in lc_wrapper/kernel.py #59

@yo-saito

Description

@yo-saito

Hi there

I installed the LC_wrapper according to "How to Install", but I get the following error (infinite loop) and it does not work.
Is there a solution?

Error

ERROR | get_msg() got an unexpected keyword argument 'block
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/lc_wrapper/kernel.py", line 90, in run
    msg = self.channel.get_msg(block=True, timeout=0.2)
TypeError: get_msg() got an unexpected keyword argument 'block'

Procedure

  1. run # jupyterhub -f /etc/jupyterhub/jupyterhub_config.py
  2. access JupyterHub from a web browser and open the LC_wrapper kernel.
  3. keep getting an error on the terminal where JupyterHub is started.
  4. The LC_wrapper kernel will be able to input data, but will not respond with execution results, and the IPython execution status will remain [*].

Environment

  • Ubuntu 18.04 LTS
# jupyterhub --version
1.4.2
# jupyter notebook --version
6.4.3
# python3 --version
Python 3.6.9

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions