Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Pycharm 2017.2.4 always runs Querying skeleton update in background

Whenever I restart pycharm it starts with Querying skeleton update process in the background even when I have not changed/modified or updated any of my python libraries. I am using Anaconda 5.0 as my default and only python version installed on the system.

Due to this process it takes too long for pycharm to respond initially after launching the application.

Is there any setting to not run this update when there are no changes made to the python library or will I have to disable it.

Are there any settings or changes that I am missing?

I also have attached the log file generated.

EDIT:

Issue is still same with the 2017.3.1, 2018 version of Pycharm.

like image 531
warl0ck Avatar asked Nov 18 '17 16:11

warl0ck


1 Answers

From the log I wonder if the problem is not related to permissions with which you run PyCharm vs. the ones you installed it with.

Not found pregenerated skeletons at C:\Program Files\JetBrains\PyCharm 2017.2.3\skeletons\skeletons-win-401-python-3.6.2.zip

I do not have this problem and the file above exists in my install of PyCharm (version PyCharm Community Edition 2018.1.1) installed at roughly the same location has the file in: C:\Program Files\JetBrains\PyCharm Community Edition 2018.1.1\skeletons\skeletons-win-401-python-3.6.2.zip

In your case PyCharm attempted to read the collected skeletons from your profile folder and it seems it failed and continued regenerating them:

2017-09-30 20:30:59,302 [ 282598] INFO - ns.python.sdk.PythonSdkUpdater - Binary skeletons directory for SDK Python 3.6.2 (C:\ProgramData\Anaconda3\python.exe) (C:\ProgramData\Anaconda3\python.exe)): C:/Users/sjain/.PyCharm2017.2/system/python_stubs/-313451744

2017-09-30 20:30:59,318 [ 282614] INFO - ns.python.sdk.PythonSdkUpdater - User skeletons directory for SDK Python 3.6.2 (C:\ProgramData\Anaconda3\python.exe) (C:\ProgramData\Anaconda3\python.exe)): C:/Program Files/JetBrains/PyCharm 2017.2.3/helpers/python-skeletons

Please attempt to run as Administrator to see if the behaviour is different. If it is then it is likely related to permissions.

The issue has been known for a while (since 2011) but no solution was offered.

like image 197
sophros Avatar answered Oct 26 '22 04:10

sophros