Almenon / Almenon/AREPL-electron

AREPL does not restart python if user closes it

Đang mở
#73 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug
Ngôn ngữ chính
JavaScript
Star
74
Fork
6
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Replication steps:

1. import turtle;turtle.forward(100)
2. exit out of turtle
3. Error logged to dev console: Uncaught Error: process exited with code 3489660927 in python-shell line 89
4. If user types in anything at this point it results in Uncaught Error: this socket has been ended by the other party at PythonShell.send
5. User tries to restart with F1
6. "pyshell refused to die" is logged, followed by "the python process simply cannot be killed!" (the code misinterprets what is happening here - it doesn't realize process is already dead)
7. Because the process has already exited the exit event is never called so the listener for exit does not restart the process

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

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đá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.