PyCharm freezing whole computer on Ubuntu

后端 未结 2 636
青春惊慌失措
青春惊慌失措 2021-02-14 01:14

I am running PyCharm 5 with JDK 8 on a Ubunto 15.10. The problem is that Ubuntu comes with 3 different Python versions and when I am prompted to select the correct interpreter v

2条回答
  •  死守一世寂寞
    2021-02-14 01:32

    To answer the question: yes, exactly the same behaviour but with OpenJDK 7 and OpenJDK 8. It freezes the UI; the computer can be accessed eg via SSH so you can kill the PyCharm Java process. I have not been able to investigate further (instead I went back to my old machine, OS X, on which PyCharm is bundled with a Java interpreter).

    EDIT with workaround: change the UI Theme in the Settings. In the Settings dialog, under Appearance & Behaviour > Appearance change Theme from 'GTK+' to 'Intellij'. I saved this change, restarted PyCharm, and I am not seeing the freeze. Bug reports on Ubuntu Launchpad and bugs.debian.org suggest problems with GTK+ and OpenJDK, for example:

    https://bugs.launchpad.net/ubuntu/+source/openjdk-8/+bug/1510009

    https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=798131

提交回复
热议问题