hass-pyscript-jupyter icon indicating copy to clipboard operation
hass-pyscript-jupyter copied to clipboard

issues running pyscript kernel - new random ports

Open abfist opened this issue 1 year ago • 0 comments

i tried to install the jupiter notebook but it keeps getting the same errors. when i look in Hass the service exist and the log (debug enabled) is empty

I 2023-07-27 23:24:49.167 ServerApp] Kernel started: 65aa09b1-7f4c-4065-ab3e-d24566cd34e8
hass_pyscript_kernel: got jupyter client config={'shell_port': 62433, 'iopub_port': 62434, 'stdin_port': 62435, 'control_port': 62437, 'hb_port': 62436, 'ip': '127.0.0.1', 'key': 'c2acfa21-0f69694e2940a724c2888d88', 'transport': 'tcp', 'signature_scheme': 'hmac-sha256', 'kernel_name': 'pyscript', 'jupyter_session': 'c:\\jupyter\\pyscriptTutorial.ipynb'}
hass_pyscript_kernel: about to do service call post homeassistant.local:8123/api/services/pyscript/jupyter_kernel_start
hass_pyscript_kernel: got error homeassistant.local:8123/api/services/pyscript/jupyter_kernel_start (url=homeassistant.local:8123/api/services/pyscript/jupyter_kernel_start)
[I 2023-07-27 23:24:52.159 ServerApp] AsyncIOLoopKernelRestarter: restarting kernel (1/5), new random ports
hass_pyscript_kernel: got jupyter client config={'shell_port': 62433, 'iopub_port': 62434, 'stdin_port': 62435, 'control_port': 62437, 'hb_port': 62436, 'ip': '127.0.0.1', 'key': 'c2acfa21-0f69694e2940a724c2888d88', 'transport': 'tcp', 'signature_scheme': 'hmac-sha256', 'kernel_name': 'pyscript', 'jupyter_session': 'c:\\jupyter\\pyscriptTutorial.ipynb'}
hass_pyscript_kernel: about to do service call post homeassistant.local:8123/api/services/pyscript/jupyter_kernel_start
hass_pyscript_kernel: got error homeassistant.local:8123/api/services/pyscript/jupyter_kernel_start (url=homeassistant.local:8123/api/services/pyscript/jupyter_kernel_start)

abfist avatar Jul 27 '23 20:07 abfist