Always quering skeleton generator when opening projects

Completed

It always tooks 3+ minutes to quering skeleton generator when opening a project in Pycharm. Below is the log. Kindly please help to advise. Thanks!

2019-07-22 16:11:13,207 [ 0] INFO - #com.intellij.idea.Main - ------------------------------------------------------ IDE STARTED ------------------------------------------------------ 
2019-07-22 16:11:13,254 [ 47] INFO - #com.intellij.idea.Main - IDE: PyCharm (build #PC-191.7479.30, 29 May 2019 23:16)
2019-07-22 16:11:13,254 [ 47] INFO - #com.intellij.idea.Main - OS: Windows 7 (6.1, amd64)
2019-07-22 16:11:13,254 [ 47] INFO - #com.intellij.idea.Main - JRE: 11.0.2+9-b159.60 (JetBrains s.r.o)
2019-07-22 16:11:13,254 [ 47] INFO - #com.intellij.idea.Main - JVM: 11.0.2+9-b159.60 (OpenJDK 64-Bit Server VM)
2019-07-22 16:11:13,254 [ 47] INFO - #com.intellij.idea.Main - JVM Args: -Xms128m -Xmx750m -XX:ReservedCodeCacheSize=240m -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=50 -ea -Dsun.io.useCanonCaches=false -Djava.net.preferIPv4Stack=true -Djdk.http.auth.tunneling.disabledSchemes="" -XX:+HeapDumpOnOutOfMemoryError -XX:-OmitStackTraceInFastThrow -Djb.vmOptionsFile=C:\Program Files\JetBrains\PyCharm Community Edition 2019.1.3\bin\pycharm64.exe.vmoptions -Didea.platform.prefix=PyCharmCore -Dide.native.launcher=true -Didea.paths.selector=PyCharmCE2019.1 -XX:ErrorFile=C:\Users\username\java_error_in_pycharm_%p.log -XX:HeapDumpPath=C:\Users\username\java_error_in_pycharm.hprof
2019-07-22 16:11:13,269 [ 62] INFO - #com.intellij.idea.Main - charsets: JNU=Cp1252 file=Cp1252
2019-07-22 16:11:13,363 [ 156] INFO - #com.intellij.idea.Main - JNA library (64-bit) loaded in 94 ms
2019-07-22 16:11:13,379 [ 172] INFO - penapi.util.io.win32.IdeaWin32 - Native filesystem for Windows is operational
2019-07-22 16:11:13,691 [ 484] INFO - #com.intellij.util.ui.JBUI - System scale factor: 1.0 (IDE-managed HiDPI)
2019-07-22 16:11:13,722 [ 515] INFO - #com.intellij.util.ui.JBUI - User scale factor: 1.0
2019-07-22 16:11:16,813 [ 3606] INFO - .intellij.idea.IdeaApplication - CPU cores: 4; ForkJoinPool.commonPool: java.util.concurrent.ForkJoinPool@18fea14d[Running, parallelism = 3, size = 0, active = 0, running = 0, steals = 0, tasks = 0, submissions = 0]; factory: com.intellij.concurrency.IdeaForkJoinWorkerThreadFactory@143b867d
2019-07-22 16:11:17,655 [ 4448] INFO - llij.ide.plugins.PluginManager - load plugin descriptors took 499 ms
2019-07-22 16:11:17,702 [ 4495] INFO - llij.ide.plugins.PluginManager - Plugin 'IntelliJ Configuration Script' can't be loaded because: Plugin does not include any module dependency tags in its plugin.xml therefore is assumed legacy and can be loaded only in IntelliJ IDEA
2019-07-22 16:11:17,859 [ 4652] INFO - llij.ide.plugins.PluginManager - 24 plugins initialized in 703 ms
2019-07-22 16:11:17,859 [ 4652] INFO - llij.ide.plugins.PluginManager - Loaded bundled plugins: Copyright (191.7479.30), EditorConfig (191.7479.30), Git Integration (191.7479.30), GitHub (191.7479.30), IDEA CORE (191.7479.30), IntelliLang (191.7479.30), Markdown support (191.7479.30), Mercurial Integration (191.7479.30), Properties Support (191.7479.30), Python Copyright (191.7479.30), Python IntelliLang (191.7479.30), Python ReStructureText Integration (191.7479.30), Python Terminal (191.7479.30), ReStructuredText Support (191.7479.30), Settings Repository (191.7479.30), Subversion (191.7479.30), Task Management (191.7479.30), Terminal (191.7479.30), YAML (191.7479.30)
2019-07-22 16:11:17,859 [ 4652] INFO - llij.ide.plugins.PluginManager - Loaded custom plugins: PlantUML integration (2.18.1), Rainbow Brackets (5.20), VS Code Keymap (1.0.2), Visual Studio Code Dark Plus Theme (1.7)
2019-07-22 16:11:17,859 [ 4652] INFO - llij.ide.plugins.PluginManager - Disabled plugins: IntelliJ Configuration Script (191.7479.30)
2019-07-22 16:11:18,717 [ 5510] INFO - ellij.util.io.PagedFileStorage - lower=100; upper=500; buffer=10; max=705
2019-07-22 16:11:18,826 [ 5619] INFO - pl.local.NativeFileWatcherImpl - Starting file watcher: C:\Program Files\JetBrains\PyCharm Community Edition 2019.1.3\bin\fsnotifier64.exe
2019-07-22 16:11:18,935 [ 5728] INFO - pl.local.NativeFileWatcherImpl - Native file watcher is operational.
2019-07-22 16:11:20,933 [ 7726] INFO - til.net.ssl.CertificateManager - Default SSL context initialized
2019-07-22 16:11:21,292 [ 8085] INFO - j.ide.ui.OptionsTopHitProvider - 952 ms spent to cache options in application
2019-07-22 16:11:21,292 [ 8085] INFO - .openapi.application.Preloader - com.intellij.ide.ui.OptionsTopHitProvider$Activity took 953 ms
2019-07-22 16:11:21,343 [ 8136] INFO - rains.ide.BuiltInServerManager - built-in server started, port 63342
2019-07-22 16:11:21,380 [ 8173] INFO - gs.impl.UpdateCheckerComponent - channel: release
2019-07-22 16:11:21,606 [ 8399] INFO - il.indexing.FileBasedIndexImpl - Index exts enumerated:68, number of extensions:21
2019-07-22 16:11:21,621 [ 8414] INFO - il.indexing.FileBasedIndexImpl - Index scheduled:6
2019-07-22 16:11:21,641 [ 8434] INFO - tellij.psi.stubs.StubIndexImpl - All stub exts enumerated:14, number of extensions:11
2019-07-22 16:11:21,656 [ 8449] INFO - tellij.psi.stubs.StubIndexImpl - stub exts update scheduled:7
2019-07-22 16:11:21,762 [ 8555] INFO - pi.util.registry.RegistryValue - Registry value 'ide.ssh.one.time.password' has changed to 'true'
2019-07-22 16:11:21,881 [ 8674] INFO - com.intellij.ide.ui.UISettings - Loaded: fontSize=12, fontScale=1.0; restored: fontSize=12, fontScale=1.0
2019-07-22 16:11:21,881 [ 8674] INFO - com.intellij.ide.ui.UISettings - Loaded: fontSize=14, fontScale=1.0; restored: fontSize=14, fontScale=1.0
2019-07-22 16:11:21,977 [ 8770] WARN - rationStore.ComponentStoreImpl - Duplicated scheme Visual Studio Code Dark Plus - old: Visual Studio Code Dark Plus, new Visual Studio Code Dark Plus
2019-07-22 16:11:22,084 [ 8877] INFO - plication.impl.ApplicationImpl - 69 application components initialized in 4944ms
2019-07-22 16:11:22,147 [ 8940] INFO - .intellij.idea.IdeaApplication - App initialization took 12232 ms
2019-07-22 16:11:23,069 [ 9862] INFO - ndex.PrebuiltIndexProviderBase - Using prebuilt id-index from C:\Users\username\.PyCharmCE2019.1\system\index\.persistent\prebuilt\Python\id-index.input
2019-07-22 16:11:24,689 [ 11482] INFO - m.intellij.ui.mac.touchbar.NST - OS doesn't support touchbar, skip nst loading
2019-07-22 16:11:25,565 [ 12358] INFO - pl$FileIndexDataInitialization - Initialization done:3944
2019-07-22 16:11:25,753 [ 12546] INFO - j.ide.ui.OptionsTopHitProvider - 1017 ms spent on EDT to cache options in application
2019-07-22 16:11:25,895 [ 12688] INFO - exImpl$StubIndexInitialization - Initialization done:333
2019-07-22 16:11:27,019 [ 13812] INFO - .openapi.application.Preloader - com.intellij.openapi.actionSystem.impl.ActionPreloader took 5704 ms
2019-07-22 16:11:27,300 [ 14093] INFO - .openapi.application.Preloader - com.intellij.ide.ui.search.SearchableOptionPreloader took 278 ms
2019-07-22 16:11:27,612 [ 14405] INFO - .openapi.application.Preloader - com.intellij.codeInsight.completion.CompletionPreloader took 307 ms
2019-07-22 16:11:27,612 [ 14405] INFO - .openapi.application.Preloader - com.intellij.ide.actions.GotoClassPresentationUpdater took 4 ms
2019-07-22 16:11:32,433 [ 19226] INFO - ellij.project.impl.ProjectImpl - 90 project components initialized in 1513 ms
2019-07-22 16:11:32,714 [ 19507] INFO - le.impl.ModuleManagerComponent - 1 module(s) loaded in 265 ms
2019-07-22 16:11:32,885 [ 19678] INFO - j.ide.script.IdeStartupScripts - 0 startup script(s) found
2019-07-22 16:11:33,479 [ 20272] INFO - rojectCodeStyleSettingsManager - Initialized from default code style settings.
2019-07-22 16:11:33,932 [ 20725] INFO - ellij.project.impl.ProjectImpl - 15 project components initialized in 47 ms
2019-07-22 16:11:35,259 [ 22052] INFO - tartup.impl.StartupManagerImpl - EditorHistoryManagerStartUpActivity run in 297ms under project opening modal progress
2019-07-22 16:11:35,399 [ 22192] INFO - tartup.impl.StartupManagerImpl - CheckRequiredPluginsActivity run in 109ms under project opening modal progress
2019-07-22 16:11:35,680 [ 22473] INFO - .diagnostic.PerformanceWatcher - Pushing Python language level to 8 roots in 1 SDKs took 905ms; general responsiveness: ok; EDT responsiveness: ok
2019-07-22 16:11:35,695 [ 22488] INFO - tartup.impl.StartupManagerImpl - OpenFilesActivity run in 296ms under project opening modal progress
2019-07-22 16:11:35,711 [ 22504] INFO - .diagnostic.PerformanceWatcher - Pushing properties took 16ms; general responsiveness: ok; EDT responsiveness: ok
2019-07-22 16:11:35,820 [ 22613] INFO - tartup.impl.StartupManagerImpl - ProjectStartupRunner run in 109ms under project opening modal progress
2019-07-22 16:11:35,992 [ 22785] INFO - .diagnostic.PerformanceWatcher - Post-startup activities under progress took 1357ms; general responsiveness: ok; EDT responsiveness: 1/1 sluggish
2019-07-22 16:11:37,007 [ 23800] INFO - tartup.impl.StartupManagerImpl - C:/Users/username/PycharmProjects/hello/.idea case-sensitivity: expected=false actual=false
2019-07-22 16:11:37,100 [ 23893] INFO - tor.impl.FileEditorManagerImpl - Project opening took 6324 ms
2019-07-22 16:11:37,366 [ 24159] INFO - pl.projectlevelman.NewMappings - VCS Root: [] - [<Project>]
2019-07-22 16:11:38,395 [ 25188] INFO - .diagnostic.PerformanceWatcher - Indexable file iteration took 2684ms; general responsiveness: ok; EDT responsiveness: 2/2 sluggish
2019-07-22 16:11:38,395 [ 25188] INFO - indexing.UnindexedFilesUpdater - Unindexed files update started: 1 files to update
2019-07-22 16:11:39,191 [ 25984] INFO - ndex.PrebuiltIndexProviderBase - Using prebuilt sdk-stubs from C:\Users\username\.PyCharmCE2019.1\system\index\.persistent\prebuilt\Python\sdk-stubs.input
2019-07-22 16:11:39,316 [ 26109] INFO - .diagnostic.PerformanceWatcher - Unindexed files update took 921ms; general responsiveness: ok; EDT responsiveness: ok
2019-07-22 16:11:39,535 [ 26328] INFO - j.ide.ui.OptionsTopHitProvider - 219 ms spent to cache options in project
2019-07-22 16:11:39,535 [ 26328] INFO - tartup.impl.StartupManagerImpl - Some post-startup activities freeze UI for noticeable time. Please consider making them DumbAware to do them in background under modal progress, or just making them faster to speed up project opening.
2019-07-22 16:11:39,535 [ 26328] INFO - tartup.impl.StartupManagerImpl - Activity run in 219ms on UI thread
2019-07-22 16:11:40,190 [ 26983] INFO - j.ide.ui.OptionsTopHitProvider - 296 ms spent on EDT to cache options in project
2019-07-22 16:11:47,554 [ 34347] INFO - .intellij.util.EnvironmentUtil - shell environment loaded (56 vars)
2019-07-22 16:11:48,039 [ 34832] INFO - .intellij.util.EnvironmentUtil - shell environment loaded (56 vars)
2019-07-22 16:11:48,538 [ 35331] INFO - ns.python.sdk.PythonSdkUpdater - Updating sys.path took 5337 ms
2019-07-22 16:11:48,554 [ 35347] INFO - ns.python.sdk.PythonSdkUpdater - Bogus sys.path entry C:\Users\username\AppData\Local\Continuum\anaconda3\python37.zip
2019-07-22 16:11:48,554 [ 35347] INFO - ns.python.sdk.PythonSdkUpdater - Bogus sys.path entry C:\Users\username\AppData\Local\Continuum\anaconda3
2019-07-22 16:11:48,554 [ 35347] INFO - ns.python.sdk.PythonSdkUpdater - Binary skeletons directory for SDK Python 3.7 (C:\Users\username\AppData\Local\Continuum\anaconda3\python.exe)): C:/Users/username/.PyCharmCE2019.1/system/python_stubs/-1322150904
2019-07-22 16:11:48,569 [ 35362] INFO - ns.python.sdk.PythonSdkUpdater - User skeletons directory for SDK Python 3.7 (C:\Users\username\AppData\Local\Continuum\anaconda3\python.exe)): C:/Program Files/JetBrains/PyCharm Community Edition 2019.1.3/helpers/python-skeletons
2019-07-22 16:11:48,601 [ 35394] INFO - ns.python.sdk.PythonSdkUpdater - Performing background update of skeletons for SDK Python 3.7 (C:\Users\username\AppData\Local\Continuum\anaconda3\python.exe)
2019-07-22 16:11:48,601 [ 35394] INFO - .skeletons.PySkeletonRefresher - Refreshing skeletons for C:\Users\username\AppData\Local\Continuum\anaconda3\python.exe
2019-07-22 16:11:54,531 [ 41324] INFO - rationStore.ComponentStoreImpl - Saving appDiffSettings took 15 ms, GeneralSettings took 16 ms, PropertiesComponent took 16 ms
2019-07-22 16:11:54,640 [ 41433] INFO - rationStore.ComponentStoreImpl - Saving Module: 'hello'FacetManager took 16 ms
2019-07-22 16:11:54,702 [ 41495] INFO - rationStore.ComponentStoreImpl - Saving Project 'C:\Users\username\PycharmProjects\hello' helloCommitMessageInspectionProfile took 32 ms, ProjectStartupSharedConfiguration took 15 ms
2019-07-22 16:11:54,905 [ 41698] INFO - mponents.impl.stores.StoreUtil - saveProjectsAndApp took 515 ms
2019-07-22 16:13:48,676 [ 155469] WARN - n.process.BaseOSProcessHandler - Process hasn't generated any output for a long time.
If it's a long-running mostly idle daemon process, consider overriding OSProcessHandler#readerOptions with 'BaseOutputReader.Options.forMostlySilentProcess()' to reduce CPU usage.
Command line: C:\Users\username\AppData\Local\Continuum\anaconda3\python.exe "C:\Program Files\JetBrains\PyCharm Community Edition 2019.1.3\helpers\generator3.py" -L -s "C:/Users/username/AppData/Local/Continuum/anaconda3/DLLs;C:/Users/username/AppData/Local/Continuum/anaconda3/Lib;C:/Users/username/AppData/Local/Continuum/anaconda3/Lib/site-packages;C:/Users/username/AppData/Local/Continuum/anaconda3/Lib/site-packages/win32;C:/Users/username/AppData/Local/Continuum/anaconda3/Lib/site-packages/win32/lib;C:/Users/username/AppData/Local/Continuum/anaconda3/Lib/site-packages/pythonwin;C:/Program Files/JetBrains/PyCharm Community Edition 2019.1.3/helpers/typeshed/stdlib/3;C:/Program Files/JetBrains/PyCharm Community Edition 2019.1.3/helpers/typeshed/stdlib/2and3;C:/Program Files/JetBrains/PyCharm Community Edition 2019.1.3/helpers/typeshed/third_party/3;C:/Program Files/JetBrains/PyCharm Community Edition 2019.1.3/helpers/typeshed/third_party/2and3"
java.lang.Throwable: Process creation:
at com.intellij.execution.process.BaseOSProcessHandler.<init>(BaseOSProcessHandler.java:33)
at com.intellij.execution.process.OSProcessHandler.<init>(OSProcessHandler.java:89)
at com.intellij.execution.process.OSProcessHandler.<init>(OSProcessHandler.java:44)
at com.intellij.execution.process.CapturingProcessHandler.<init>(CapturingProcessHandler.java:21)
at com.jetbrains.python.sdk.PySdkUtil.getProcessOutput(PySdkUtil.java:139)
at com.jetbrains.python.sdk.PySdkUtil.getProcessOutput(PySdkUtil.java:108)
at com.jetbrains.python.sdk.PySdkUtil.getProcessOutput(PySdkUtil.java:98)
at com.jetbrains.python.sdk.skeletons.PySkeletonGenerator.getProcessOutput(PySkeletonGenerator.java:197)
at com.jetbrains.python.sdk.skeletons.PySkeletonGenerator.listBinaries(PySkeletonGenerator.java:234)
at com.jetbrains.python.sdk.skeletons.PySkeletonRefresher.regenerateSkeletons(PySkeletonRefresher.java:300)
at com.jetbrains.python.sdk.skeletons.PySkeletonRefresher.refreshSkeletonsOfSdk(PySkeletonRefresher.java:124)
at com.jetbrains.python.sdk.PythonSdkUpdater$2.run(PythonSdkUpdater.java:185)
at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:731)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:164)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:586)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:532)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:86)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:151)
at com.intellij.openapi.progress.impl.CoreProgressManager$4.run(CoreProgressManager.java:403)
at com.intellij.openapi.application.impl.ApplicationImpl$1.run(ApplicationImpl.java:311)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
2019-07-22 16:13:54,947 [ 161740] INFO - .skeletons.PySkeletonGenerator - Retrieving binary module list took 126315 ms
2019-07-22 16:13:54,947 [ 161740] INFO - tPregeneratedSkeletonsProvider - Home path is C:\Program Files\JetBrains\PyCharm Community Edition 2019.1.3
2019-07-22 16:13:54,947 [ 161740] INFO - tPregeneratedSkeletonsProvider - Pregenerated skeletons root is C:\Program Files\JetBrains\PyCharm Community Edition 2019.1.3\skeletons
2019-07-22 16:13:54,947 [ 161740] INFO - tPregeneratedSkeletonsProvider - Found pre-generated skeletons at C:\Program Files\JetBrains\PyCharm Community Edition 2019.1.3\skeletons\skeletons-win-403-python-3.7.2.zip
2019-07-22 16:13:56,835 [ 163628] INFO - .skeletons.PySkeletonRefresher - Rebuilding skeletons for binaries took 1872 ms
2019-07-22 16:14:01,265 [ 168058] INFO - ns.python.sdk.PythonSdkUpdater - Performing background scan of packages for SDK Python 3.7 (C:\Users\username\AppData\Local\Continuum\anaconda3\python.exe)
2019-07-22 16:14:01,281 [ 168074] INFO - packaging.PyPackageManagerImpl - Running packaging tool: C:\Users\username\AppData\Local\Continuum\anaconda3\python.exe C:\Program Files\JetBrains\PyCharm Community Edition 2019.1.3\helpers\packaging_tool.py list
2019-07-22 16:14:10,532 [ 177325] INFO - rationStore.ComponentStoreImpl - Saving Project 'C:\Users\username\PycharmProjects\hello' helloProjectCodeStyleConfiguration took 16 ms
2019-07-22 16:14:10,532 [ 177325] INFO - mponents.impl.stores.StoreUtil - saveProjectsAndApp took 16 ms
2019-07-22 16:14:12,778 [ 179571] INFO - mponents.impl.stores.StoreUtil - saveProjectsAndApp took 16 ms
0
3 comments

I'm using pycharm via IntelliJ. For me, it is completely broken. The background process stalls at Reloading generated skeletons. Stalls for hours, it is not going to complete. 

I think it is triggered by the recent docker-ce update.

I downgraded to the next most recent docker-ce version according to the instructions on docker (I'm using linux) and it works again. 

 

0

Hi,

I'm sorry to hear that you face this issue.

Could you please report it to https://youtrack.jetbrains.com/issue/IDEA and attach your idea.log file from Help | Show Log in...?

0

It was a docker-ce problem; they released a minor update, problem resolved. 

https://youtrack.jetbrains.com/issue/PY-37021

0

Please sign in to leave a comment.