添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

Hello,

I recently upgraded PyCharm. I was using the version 2022.1.2 with the sonarlint 7.0.0.52289. Everything was working fine.
I am now using PyCharm 2023.2.5 (Build #PY-232 .10227.11) & SonarLint 10.2.0.77238.
My operating system is Windows 10.

I am experiencing big freezes of the software. The problem appears everytime. I have launched PyCharm tens of times to test. In short, it is not usable…
I have downgraded the SonarLint version to 10.1.1.77150 & 10.1.0.77128 to see, and the problem still appears. At first, it even worked a few times on 10.1.1.77150, likely by luck.

The freeze happens on startup only. There are two ways to get it:

  • start the application
  • on the window “Welcome to PyCharm”, select a project to load
  • PyCharm is loading but the UI is frozen (I see the UI, the code, but can not interact (loading wheel))
  • start the application
  • on the window “Welcome to PyCharm”, go to Customize > All settings > Tools > SonarLint
  • it is “loading” and the UI is frozen
  • Sometimes the UI unfreezes after 2 minutes, 5 minutes, 10 minutes,… never?
    Once unfrozen, I can use the software or change the settings, and I have not seen any other problem. I left the software opened for less than an hour.

    I have identified some logs:

  • idea.log under AppData\Local\JetBrains\PyCharm2023.2\log
  • some threadDumps-freeze under AppData\Local\JetBrains\PyCharm2023.2\log
  • some xodus-local-only-issue-store under ~/.sonarlint
  • What would you need ?

    Hi @Aaa , thanks for your detailed report, that’s very useful to us.

    When the UI seems to freeze, could you try to extract thread dumps? You can follow the instructions here . Also the ones under the directory you mentioned should be good, they are automatically generated when needed.

    Lastly, are you using SonarLint in connected mode?

    Thank you

    Yes, I am using SonarLint with a SonarQube server.

    However, it seems that I do not get the freeze anymore (at least today). Nothing seems to have changed on my computer (maybe a network related issue ?).
    I had saved some logs. Not everything I would have liked, though, but I hope it still helps.
    Could you tell me how to send you privately please ?

    Thank you.