SpencerPark / IJava

A Jupyter kernel for executing Java code.
MIT License
1.07k stars 211 forks source link

RuntimeError: Cannot enter into task <Task pending coro=<HTTP1ServerConnection._server_request_loop() #136

Open siddjain opened 1 year ago

siddjain commented 1 year ago

we get this error in the logs while running IJava with JupyerLab

Exception in callback <TaskStepMethWrapper object at 0x7fa83f108290>()
handle: <Handle <TaskStepMethWrapper object at 0x7fa83f108290>()>
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/asyncio/events.py", line 88, in _run
    self._context.run(self._callback, *self._args)
RuntimeError: Cannot enter into task <Task pending coro=<HTTP1ServerConnection._server_request_loop() running at /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/tornado/http1connection.py:842> cb=[IOLoop.add_future.<locals>.<lambda>() at /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/tornado/ioloop.py:687]> while another task <Task pending coro=<PeriodicCallback._run() running at /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/tornado/ioloop.py:921> cb=[IOLoop.add_future.<locals>.<lambda>() at /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/tornado/ioloop.py:694]> is being executed.

This is on a Mac Big Sur