ipython / ipython/ipykernel

Exception on ipc file cleanup resulting in socket leak

Đang mở
#730 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
734
Fork
412
Merge trung bình
1 ngày 5 giờ
Pull request đã merge (30 ngày)
8

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.