preparing workspace takes long time
已回答
Hi, every time I open a Python project in PyCharm the first time, it takes couple mins to "preparing workspace" (A dialog that loads the project). What can I do to speed this up?
My env: PY-213.6777.50, JRE 11.0.13+7-b1751.25x64 JetBrains s.r.o., OS Mac OS X(x86_64) v12.2.1, screens 3440.0x1440.0
My project is a very simple Python project with only couple of scripts, but I did created a virtualenv "venv" folder and set my IDE to use that as my default interpreter. The "venv" does not even have anything added other than the default packages like setuptools and wheel.
请先登录再写评论。
Please report it to https://youtrack.jetbrains.com/issues/PY and provide you idea.log file from Help | Show Log in... after reproducing the issue.
We'll investigate.
Thanks Sergey for the reply. I actually able to see the issue from the ideal.log you mention. The delay startup is due to URL connections got timeout as the IDE tries to connect outside of my network which is behind a proxy, and I have not set the proxy in the IDE yet. After I add in the proxy, it was loading faster and not stuck on that dialog now.
However this bring the question to ask is why force the user to be blocked when IDE starting up with these URL connections timing out? I saw from log that these connections are trying to make are things like jetbrains IDE cloud and plugin manager check etc. Shouldn't these be perform in the background and ignore if failed rather than blocking user at startup? I don't these updates, in fact I rather just have my IDE offline if possible, but this slowness startup is painful to experience. Is there a options to turn off all external connections?
Hi! Could you please provide idea.log (Help | Show log...) after restarting the IDEA?
I don't see a way to attach file on this forum. Can I send to you through email?
Hi! Please upload it to https://uploads.jetbrains.com
Okay it's here: Upload id: 2022_03_18_XypNbY1gCgSK4a6z (file: pycharm-support-20220309_idea.log)
Hi. We have a ticket for this problem in our tracker, please follow https://youtrack.jetbrains.com/issue/IDEA-286039, also could you please check if the problem reproduce on EAP build (https://www.jetbrains.com/pycharm/nextversion/)?