Exception on ipc file cleanup resulting in socket leak
- Lenguaje dominante
- Python
- Estrellas
- 734
- Forks
- 412
- Merge medio
- 1 d 5 h
- PR fusionados (30 d)
- 8
Descripción
Running an ipython kernel with `--transport=ipc` and stopping it (via sending an `quit` command though a jupyter-client), generates the following exception:
```
Traceback (most recent call last):
File "/home/amorenoz/.local/share/virtualenvs/insights-cmd-nQG3uYIv/lib/python3.9/site-packages/ipykernel/kernelapp.py", line 242, in cleanup_connection_file
self.cleanup_ipc_files()
File "/home/amorenoz/.local/share/virtualenvs/insights-cmd-nQG3uYIv/lib/python3.9/site-packages/jupyter_client/connect.py", line 426, in cleanup_ipc_files
for port in self.ports:
TypeError: %i format: a number is required, not str
```
The socket files are not cleaned up and leaked
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.