Pycharm freezing sockets in terminals when the terminals are not active
So I don't know that this is a pycharm specific issue, but I think it is. I have multiple programs communicating with multiple clients via the python socket library. Each one is living in their own terminal window inside of pycharm right now. Occasionally they "lock up", and stop functioning. However, when I click through the terminal tabs, as soon as the terminal is open everything starts flowing again. On a second machine, they lock up in a similar fashion, but switching to that terminal does not unlock them. Both are windows machines, I think the interpreter is python 3.9 in one case and 3.8 in the other, but it's the same code. Any idea WTH?
Please sign in to leave a comment.
I would further add that resizing the window can also sometimes trigger it unlocking. What the heck?
And, just to confirm, I don't see the same issue re-occur if it is running purely from the windows command line after substantial testing. This is specific to the pycharm terminal.
Hello,
If there is a project example that can be shared with us to reproduce the behavior please submit a request at https://youtrack.jetbrains.com/issues/PY
and also, please attach your logs folder zipped from ***Help | Collect logs and Diagnostic Data***
Information on how to use YouTrack: https://intellij-support.jetbrains.com/hc/en-us/articles/207241135-How-to-follow-YouTrack-issues-and-receive-notifications
.