Impossible to interrupt Python Console cell execution


In Pycharm's scientific mode (I'm using the latest pro version), If I run some computing in a code cell and interrupt it by clicking cancel (this is different from stopping the Python console, which I do not want to do, since that would delete all the dataframe that I read in before that code cell), then the computation actually doesn't stop.

Even worse, afterwards I cannot run a single code cell anymore, as it says "Previous execution still running" - yet the Python console is responsive nonetheless.

Is this a bug? Is there really no way to stop the execution of a code cell? This is super simple in Jupyter where if I click "interrupt kernel" it *immediately* stops the execution and I can relaunch a different task without having to reload all my variables etc.; this should also be possible in Pycharm.

Please see the GIF-video below - it illustrates more clearly the problem of the execution not interrupting and preventing further code cells from execution: 

(the video is a minute and a half long - if you want to see if from the beginning, just refresh your page)


1 comment

Hi Eikama,

This seams to be a bug indeed. I have filed it to our issue tracker for an investigation, please attach your logs folder zipped (Help | Show Log in...) to the issue and follow for future updates. 

See if you are not familiar with YouTrack.


Please sign in to leave a comment.