wakatime / jetbrains-wakatime

IntelliJ IDEA, PyCharm, RubyMine, PhpStorm, AppCode, AndroidStudio, Goland, Rider, & WebStorm plugin for quantifying your coding.
https://wakatime.com/intellij-idea
BSD 3-Clause "New" or "Revised" License
1.14k stars 167 forks source link

Pycharm with Anaconda not working with Wakatime plugin #124

Closed Tarek-Bohdima closed 5 years ago

Tarek-Bohdima commented 5 years ago

i am using Pycharm with Anaconda and Edutools plugins on Windows 10 professional 64 bit and here is the last logs from idea.log


2019-09-18 12:53:16,076 [     78]   INFO -        #com.intellij.idea.Main - IDE: PyCharm (build #PC-192.6603.34, 10 Sep 2019 18:01) 
2019-09-18 12:53:16,110 [    112]   INFO -        #com.intellij.idea.Main - OS: Windows 10 (10.0, amd64) 
2019-09-18 12:53:16,111 [    113]   INFO -        #com.intellij.idea.Main - JRE: 11.0.3+12-b304.56 (JetBrains s.r.o) 
2019-09-18 12:53:16,111 [    113]   INFO -        #com.intellij.idea.Main - JVM: 11.0.3+12-b304.56 (OpenJDK 64-Bit Server VM) 
2019-09-18 12:53:16,112 [    114]   INFO -        #com.intellij.idea.Main - JVM Args: exit -Xms128m -Xmx1010m -XX:ReservedCodeCacheSize=240m -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=50 -ea -XX:CICompilerCount=2 -Dsun.io.useCanonPrefixCache=false -Djava.net.preferIPv4Stack=true -Djdk.http.auth.tunneling.disabledSchemes="" -XX:+HeapDumpOnOutOfMemoryError -XX:-OmitStackTraceInFastThrow -Djdk.attach.allowAttachSelf -Djb.vmOptionsFile=C:\Users\Tarek.Tarek-PC\.PyCharmCE2019.2\config\pycharm64.exe.vmoptions -Djava.library.path=C:\Program Files\JetBrains\PyCharm Community Edition with Anaconda plugin 2019.2\jbr\\bin;C:\Program Files\JetBrains\PyCharm Community Edition with Anaconda plugin 2019.2\jbr\\bin\server -Didea.platform.prefix=PyCharmCore -Dide.native.launcher=true -Didea.paths.selector=PyCharmCE2019.2 -XX:ErrorFile=C:\Users\Tarek.Tarek-PC\java_error_in_pycharm_%p.log -XX:HeapDumpPath=C:\Users\Tarek.Tarek-PC\java_error_in_pycharm.hprof 
2019-09-18 12:53:16,112 [    114]   INFO -        #com.intellij.idea.Main - charsets: JNU=Cp1256 file=Cp1256 
2019-09-18 12:53:16,164 [    166]   INFO -        #com.intellij.idea.Main - JNA library (64-bit) loaded in 124 ms 
2019-09-18 12:53:16,176 [    178]   INFO - penapi.util.io.win32.IdeaWin32 - Native filesystem for Windows is operational 
2019-09-18 12:53:16,183 [    185]   INFO - tellij.diagnostic.LoadingPhase - Reached SPLASH loading phase 
2019-09-18 12:53:16,197 [    199]   INFO - plication.impl.ApplicationImpl - CPU cores: 4; ForkJoinPool.commonPool: java.util.concurrent.ForkJoinPool@22049eba[Running, parallelism = 3, size = 0, active = 0, running = 0, steals = 0, tasks = 0, submissions = 0]; factory: com.intellij.concurrency.IdeaForkJoinWorkerThreadFactory@19f4dae5 
2019-09-18 12:53:16,940 [    942]   INFO - llij.ide.plugins.PluginManager - Plugin '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-09-18 12:53:17,054 [   1056]   INFO - llij.ide.plugins.PluginManager - Loaded bundled plugins: Anaconda Support (192.6603.34), Copyright (192.6603.34), EditorConfig (192.6603.34), Git (192.6603.34), GitHub (192.6603.34), IDEA CORE (192.6603.34), IntelliLang (192.6603.34), Machine Learning Code Completion (192.6603.34), Mercurial (192.6603.34), Properties (192.6603.34), Python Copyright (192.6603.34), Python IntelliLang (192.6603.34), Python ReStructureText Integration (192.6603.34), Python Terminal (192.6603.34), ReStructuredText Support (192.6603.34), Settings Repository (192.6603.34), Shell Script (192.6603.34), Subversion (192.6603.34), Task Management (192.6603.34), Terminal (192.6603.34), TextMate bundles (192.6603.34), YAML (192.6603.34) 
2019-09-18 12:53:17,055 [   1057]   INFO - llij.ide.plugins.PluginManager - Loaded custom plugins: EduTools (2.9-2019.2-2449), WakaTime (9.3.2) 
2019-09-18 12:53:17,055 [   1057]   INFO - llij.ide.plugins.PluginManager - Disabled plugins: Configuration Script (192.6603.34) 
2019-09-18 12:53:17,503 [   1505]   INFO - tellij.diagnostic.LoadingPhase - Reached CONFIGURATION_STORE_INITIALIZED loading phase 
2019-09-18 12:53:17,621 [   1623]   INFO - ellij.util.io.PagedFileStorage - lower=100; upper=500; buffer=10; max=956 
2019-09-18 12:53:17,739 [   1741]   INFO - pl.local.NativeFileWatcherImpl - Starting file watcher: C:\Program Files\JetBrains\PyCharm Community Edition with Anaconda plugin 2019.2\bin\fsnotifier64.exe 
2019-09-18 12:53:17,884 [   1886]   INFO - pl.local.NativeFileWatcherImpl - Native file watcher is operational. 
2019-09-18 12:53:19,465 [   3467]   INFO - til.net.ssl.CertificateManager - Default SSL context initialized 
2019-09-18 12:53:19,600 [   3602]   INFO - rains.ide.BuiltInServerManager - built-in server started, port 63342 
2019-09-18 12:53:19,813 [   3815]   INFO -                       WakaTime - Initializing WakaTime plugin v9.3.2 (https://wakatime.com/) 
2019-09-18 12:53:19,815 [   3817]  DEBUG -                       WakaTime - Logging level set to DEBUG 
2019-09-18 12:53:19,821 [   3823]   INFO - il.indexing.FileBasedIndexImpl - File index extensions iterated:116 
2019-09-18 12:53:20,023 [   4025]  DEBUG -                       WakaTime -  
com.sun.jna.platform.win32.Win32Exception: The system cannot find the file specified.
    at com.sun.jna.platform.win32.Advapi32Util.registryGetKeys(Advapi32Util.java:1991)
    at com.sun.jna.platform.win32.Advapi32Util.registryGetKeys(Advapi32Util.java:1971)
    at com.wakatime.intellij.plugin.Dependencies.getPythonFromRegistry(Dependencies.java:119)
    at com.wakatime.intellij.plugin.Dependencies.getPythonLocation(Dependencies.java:84)
    at com.wakatime.intellij.plugin.Dependencies.isPythonInstalled(Dependencies.java:45)
    at com.wakatime.intellij.plugin.WakaTime.initComponent(WakaTime.java:88)
    at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter.getComponentInstance(ComponentManagerImpl.java:503)
    at com.intellij.openapi.components.impl.ComponentManagerImpl.createComponents(ComponentManagerImpl.java:126)
    at com.intellij.openapi.application.impl.ApplicationImpl.lambda$load$7(ApplicationImpl.java:414)
    at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:169)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:591)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:537)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:59)
    at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:156)
    at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:414)
    at com.intellij.idea.IdeaApplication.lambda$executeInitAppInEdt$5(IdeaApplication.java:150)
    at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
    at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:776)
    at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:727)
    at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
    at java.base/java.security.AccessController.doPrivileged(Native Method)
    at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
    at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:746)
    at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:438)
    at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
    at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
    at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
    at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
    at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
    at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
2019-09-18 12:53:20,031 [   4033]  DEBUG -                       WakaTime -  
com.sun.jna.platform.win32.Win32Exception: The system cannot find the file specified.
    at com.sun.jna.platform.win32.Advapi32Util.registryGetStringValue(Advapi32Util.java:702)
    at com.sun.jna.platform.win32.Advapi32Util.registryGetStringValue(Advapi32Util.java:679)
    at com.wakatime.intellij.plugin.Dependencies.getPythonFromRegistry(Dependencies.java:120)
    at com.wakatime.intellij.plugin.Dependencies.getPythonLocation(Dependencies.java:85)
    at com.wakatime.intellij.plugin.Dependencies.isPythonInstalled(Dependencies.java:45)
    at com.wakatime.intellij.plugin.WakaTime.initComponent(WakaTime.java:88)
    at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter.getComponentInstance(ComponentManagerImpl.java:503)
    at com.intellij.openapi.components.impl.ComponentManagerImpl.createComponents(ComponentManagerImpl.java:126)
    at com.intellij.openapi.application.impl.ApplicationImpl.lambda$load$7(ApplicationImpl.java:414)
    at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:169)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:591)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:537)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:59)
    at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:156)
    at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:414)
    at com.intellij.idea.IdeaApplication.lambda$executeInitAppInEdt$5(IdeaApplication.java:150)
    at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
    at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:776)
    at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:727)
    at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
    at java.base/java.security.AccessController.doPrivileged(Native Method)
    at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
    at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:746)
    at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:438)
    at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
    at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
    at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
    at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
    at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
    at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
2019-09-18 12:53:20,034 [   4036]  DEBUG -                       WakaTime -  
com.sun.jna.platform.win32.Win32Exception: The system cannot find the file specified.
    at com.sun.jna.platform.win32.Advapi32Util.registryGetStringValue(Advapi32Util.java:702)
    at com.sun.jna.platform.win32.Advapi32Util.registryGetStringValue(Advapi32Util.java:679)
    at com.wakatime.intellij.plugin.Dependencies.getPythonFromRegistry(Dependencies.java:132)
    at com.wakatime.intellij.plugin.Dependencies.getPythonLocation(Dependencies.java:85)
    at com.wakatime.intellij.plugin.Dependencies.isPythonInstalled(Dependencies.java:45)
    at com.wakatime.intellij.plugin.WakaTime.initComponent(WakaTime.java:88)
    at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter.getComponentInstance(ComponentManagerImpl.java:503)
    at com.intellij.openapi.components.impl.ComponentManagerImpl.createComponents(ComponentManagerImpl.java:126)
    at com.intellij.openapi.application.impl.ApplicationImpl.lambda$load$7(ApplicationImpl.java:414)
    at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:169)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:591)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:537)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:59)
    at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:156)
    at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:414)
    at com.intellij.idea.IdeaApplication.lambda$executeInitAppInEdt$5(IdeaApplication.java:150)
    at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
    at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:776)
    at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:727)
    at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
    at java.base/java.security.AccessController.doPrivileged(Native Method)
    at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
    at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:746)
    at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:438)
    at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
    at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
    at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
    at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
    at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
    at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
2019-09-18 12:53:20,036 [   4038]  DEBUG -                       WakaTime - pythonw --version 
2019-09-18 12:53:20,173 [   4175]  DEBUG -                       WakaTime - Python 3.7.3 
2019-09-18 12:53:20,173 [   4175]  DEBUG -                       WakaTime - Found python binary: pythonw 
2019-09-18 12:53:21,306 [   5308]   INFO - ndex.PrebuiltIndexProviderBase - Using prebuilt id-index from C:\Users\Tarek.Tarek-PC\.PyCharmCE2019.2\system\index\.persistent\prebuilt\Python\id-index.input 
2019-09-18 12:53:21,453 [   5455]  DEBUG -                       WakaTime - wakatime cli version check output: "13.0.0" 
2019-09-18 12:53:21,454 [   5456]  DEBUG -                       WakaTime - wakatime cli version check exit code: 0 
2019-09-18 12:53:21,610 [   5612]   INFO - pl$FileIndexDataInitialization - Initialization done:1906 
2019-09-18 12:53:21,669 [   5671]   INFO - exImpl$StubIndexInitialization - Initialization done:58 
2019-09-18 12:53:22,092 [   6094]  DEBUG -                       WakaTime - Current cli version from GitHub: 13.0.0 
2019-09-18 12:53:22,092 [   6094]   INFO -                       WakaTime - wakatime-cli is up to date. 
2019-09-18 12:53:22,092 [   6094]  DEBUG -                       WakaTime - CLI location: C:\Users\Tarek.Tarek-PC\AppData\Roaming\WakaTime\wakatime-master\wakatime\cli.py 
2019-09-18 12:53:54,116 [  38118]   INFO -                       WakaTime - Finished initializing WakaTime plugin 
2019-09-18 12:53:54,210 [  38212]   INFO - j.ide.ui.OptionsTopHitProvider - 34 ms spent to cache options in application 
2019-09-18 12:53:54,228 [  38230]   INFO - tellij.diagnostic.LoadingPhase - Reached FRAME_SHOWN loading phase 
2019-09-18 12:53:55,452 [  39454]   INFO - com.intellij.ide.ui.UISettings - Loaded: fontSize=13, fontScale=1.0; restored: fontSize=13, fontScale=1.0 
2019-09-18 12:53:55,967 [  39969]   INFO - j.ide.script.IdeStartupScripts - 0 startup script(s) found 
2019-09-18 12:53:56,100 [  40102]   INFO - rojectCodeStyleSettingsManager - Initialized from default code style settings. 
2019-09-18 12:53:56,986 [  40988]   INFO - .diagnostic.PerformanceWatcher - Pushing Python language level to 5 roots in 1 SDKs took 224ms; general responsiveness: ok; EDT responsiveness: ok 
2019-09-18 12:53:57,760 [  41762]   INFO - .diagnostic.PerformanceWatcher - Pushing properties took 22ms; general responsiveness: ok; EDT responsiveness: ok 
2019-09-18 12:53:58,460 [  42462]   INFO - ge.ExternalProjectsDataStorage - Load external projects data in 3 millis (read time: 2) 
2019-09-18 12:53:58,510 [  42512]   INFO - j.ide.ui.OptionsTopHitProvider - 738 ms spent to cache options in project 
2019-09-18 12:53:58,511 [  42513]   INFO - .diagnostic.PerformanceWatcher - Post-startup activities under progress took 1981ms; general responsiveness: ok; EDT responsiveness: 1/2 sluggish, 1/2 very slow 
2019-09-18 12:53:58,678 [  42680]  DEBUG -                       WakaTime - Api Key: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXX226c 
2019-09-18 12:53:58,974 [  42976]   INFO - tartup.impl.StartupManagerImpl - C:/Users/Tarek.Tarek-PC/PycharmProjects/classes/.idea case-sensitivity: expected=false actual=false 
2019-09-18 12:53:58,985 [  42987]   INFO - tellij.diagnostic.LoadingPhase - Reached PROJECT_OPENED loading phase 
2019-09-18 12:53:59,112 [  43114]   INFO - pl.ProjectRootManagerComponent - project roots have changed 
2019-09-18 12:53:59,113 [  43115]   INFO - .diagnostic.PerformanceWatcher - Indexable file iteration took 1351ms; general responsiveness: ok; EDT responsiveness: 1/1 sluggish 
2019-09-18 12:53:59,126 [  43128]   INFO - tor.impl.FileEditorManagerImpl - Project opening took 4473 ms 
2019-09-18 12:53:59,176 [  43178]   INFO - .diagnostic.PerformanceWatcher - Pushing Python language level to 5 roots in 1 SDKs took 10ms; general responsiveness: ok; EDT responsiveness: ok 
2019-09-18 12:53:59,205 [  43207]   INFO - .diagnostic.PerformanceWatcher - Pushing properties took 1ms; general responsiveness: ok; EDT responsiveness: ok 
2019-09-18 12:53:59,520 [  43522]   INFO - .diagnostic.PerformanceWatcher - Indexable file iteration took 314ms; general responsiveness: ok; EDT responsiveness: ok 
2019-09-18 12:53:59,522 [  43524]   INFO - tellij.diagnostic.LoadingPhase - Reached INDEXING_FINISHED loading phase 
2019-09-18 12:54:03,890 [  47892]   INFO - .intellij.util.EnvironmentUtil - shell environment loaded (58 vars) 
2019-09-18 12:54:03,988 [  47990]   INFO - .intellij.util.EnvironmentUtil - shell environment loaded (58 vars) 
2019-09-18 12:54:04,166 [  48168]   INFO - ns.python.sdk.PythonSdkUpdater - Updating sys.path took 1420 ms 
2019-09-18 12:54:04,168 [  48170]   INFO - ns.python.sdk.PythonSdkUpdater - Bogus sys.path entry C:\Users\Tarek.Tarek-PC\Anaconda3\envs\classes\python37.zip 
2019-09-18 12:54:04,170 [  48172]   INFO - ns.python.sdk.PythonSdkUpdater - Bogus sys.path entry C:\Users\Tarek.Tarek-PC\Anaconda3\envs\classes 
2019-09-18 12:54:04,172 [  48174]   INFO - ns.python.sdk.PythonSdkUpdater - Binary skeletons directory for SDK Python 3.7 (classes) (C:\Users\Tarek.Tarek-PC\Anaconda3\envs\classes\python.exe)): C:/Users/Tarek.Tarek-PC/.PyCharmCE2019.2/system/python_stubs/-1981790029 
2019-09-18 12:54:04,172 [  48174]   INFO - ns.python.sdk.PythonSdkUpdater - User skeletons directory for SDK Python 3.7 (classes) (C:\Users\Tarek.Tarek-PC\Anaconda3\envs\classes\python.exe)): C:/Program Files/JetBrains/PyCharm Community Edition with Anaconda plugin 2019.2/helpers/python-skeletons 
2019-09-18 12:54:04,183 [  48185]   INFO - ns.python.sdk.PythonSdkUpdater - Performing background update of skeletons for SDK Python 3.7 (classes) (C:\Users\Tarek.Tarek-PC\Anaconda3\envs\classes\python.exe) 
2019-09-18 12:54:04,184 [  48186]   INFO - .skeletons.PySkeletonRefresher - Refreshing skeletons for C:\Users\Tarek.Tarek-PC\Anaconda3\envs\classes\python.exe 
2019-09-18 12:54:05,124 [  49126]   INFO - .skeletons.PySkeletonGenerator - Retrieving binary module list took 924 ms 
2019-09-18 12:54:05,126 [  49128]   INFO - tPregeneratedSkeletonsProvider - Home path is C:\Program Files\JetBrains\PyCharm Community Edition with Anaconda plugin 2019.2 
2019-09-18 12:54:05,127 [  49129]   INFO - tPregeneratedSkeletonsProvider - Pregenerated skeletons root is C:\Program Files\JetBrains\PyCharm Community Edition with Anaconda plugin 2019.2\skeletons 
2019-09-18 12:54:05,128 [  49130]   INFO - tPregeneratedSkeletonsProvider - Not found pre-generated skeletons at C:\Program Files\JetBrains\PyCharm Community Edition with Anaconda plugin 2019.2\skeletons 
2019-09-18 12:54:05,151 [  49153]   INFO - .skeletons.PySkeletonRefresher - Rebuilding skeletons for binaries took 22 ms 
2019-09-18 12:54:05,167 [  49169]   INFO - python.packaging.PyPackageUtil - Refreshing installed packages for SDK C:\Users\Tarek.Tarek-PC\Anaconda3\envs\classes\python.exe 
2019-09-18 12:54:05,168 [  49170]   INFO - packaging.PyPackageManagerImpl - Running packaging tool: C:\Users\Tarek.Tarek-PC\Anaconda3\envs\classes\python.exe C:\Program Files\JetBrains\PyCharm Community Edition with Anaconda plugin 2019.2\helpers\packaging_tool.py list 
2019-09-18 12:54:05,244 [  49246]   INFO - ns.python.sdk.PythonSdkUpdater - Performing background scan of packages for SDK Python 3.7 (classes) (C:\Users\Tarek.Tarek-PC\Anaconda3\envs\classes\python.exe) 
2019-09-18 12:54:05,245 [  49247]   INFO - packaging.PyPackageManagerImpl - Running packaging tool: C:\Users\Tarek.Tarek-PC\Anaconda3\envs\classes\python.exe C:\Program Files\JetBrains\PyCharm Community Edition with Anaconda plugin 2019.2\helpers\packaging_tool.py list 
2019-09-18 12:54:08,986 [  52988]   INFO - ings.impl.UpdateCheckerService - channel: release 
2019-09-18 12:54:14,993 [  58995]   INFO - mponents.impl.stores.StoreUtil - saveProjectsAndApp took 130 ms ```
Tarek-Bohdima commented 5 years ago

Also this is the relevant .wakatime.log

{ 
   "now":"2019/09/18 12:54:20 +0200",
   "version":"13.0.0",
   "plugin":"PyCharmCore/2019.2.2 PyCharmCore-wakatime/9.3.2",
   "time":1568804038.769,
   "caller":"C:\\Users\\Tarek.Tarek-PC\\AppData\\Roaming\\WakaTime\\wakatime-master\\wakatime\\api.py",
   "lineno":53,
   "file":"C:\\Users\\Tarek.Tarek-PC\\PycharmProjects\\classes\\airtravel.py",
   "level":"DEBUG",
   "message":"Sending heartbeats to api at https://api.wakatime.com/api/v1/users/current/heartbeats.bulk"
}{ 
   "now":"2019/09/18 12:54:20 +0200",
   "version":"13.0.0",
   "plugin":"PyCharmCore/2019.2.2 PyCharmCore-wakatime/9.3.2",
   "time":1568804038.769,
   "caller":"C:\\Users\\Tarek.Tarek-PC\\AppData\\Roaming\\WakaTime\\wakatime-master\\wakatime\\api.py",
   "lineno":59,
   "file":"C:\\Users\\Tarek.Tarek-PC\\PycharmProjects\\classes\\airtravel.py",
   "level":"DEBUG",
   "message":"[{'time': 1568804038.769, 'entity': 'C:/Users/Tarek.Tarek-PC/PycharmProjects/classes/airtravel.py', 'type': 'file', 'category': None, 'is_write': False, 'project': 'classes', 'branch': None, 'language': 'Python', 'dependencies': [], 'lines': 10, 'lineno': None, 'cursorpos': None, 'user_agent': 'wakatime/13.0.0 (Windows-10-10.0.18362-SP0) Python3.7.3.final.0 PyCharmCore/2019.2.2 PyCharmCore-wakatime/9.3.2'}]"
}{ 
   "now":"2019/09/18 12:54:21 +0200",
   "version":"13.0.0",
   "plugin":"PyCharmCore/2019.2.2 PyCharmCore-wakatime/9.3.2",
   "time":1568804038.769,
   "caller":"C:\\Users\\Tarek.Tarek-PC\\AppData\\Roaming\\WakaTime\\wakatime-master\\wakatime\\api.py",
   "lineno":125,
   "file":"C:\\Users\\Tarek.Tarek-PC\\PycharmProjects\\classes\\airtravel.py",
   "level":"WARNING",
   "message":"{'SSLError': 'HTTPSConnectionPool(host=\\'api.wakatime.com\\', port=443): Max retries exceeded with url: /api/v1/users/current/heartbeats.bulk (Caused by SSLError(\"Can\\'t connect to HTTPS URL because the SSL module is not available.\"))', 'traceback': 'Traceback (most recent call last):\\n  File \"C:\\\\Users\\\\Tarek.Tarek-PC\\\\AppData\\\\Roaming\\\\WakaTime\\\\wakatime-master\\\\wakatime\\\\packages\\\\urllib3\\\\connectionpool.py\", line 589, in urlopen\\n    conn = self._get_conn(timeout=pool_timeout)\\n  File \"C:\\\\Users\\\\Tarek.Tarek-PC\\\\AppData\\\\Roaming\\\\WakaTime\\\\wakatime-master\\\\wakatime\\\\packages\\\\urllib3\\\\connectionpool.py\", line 251, in _get_conn\\n    return conn or self._new_conn()\\n  File \"C:\\\\Users\\\\Tarek.Tarek-PC\\\\AppData\\\\Roaming\\\\WakaTime\\\\wakatime-master\\\\wakatime\\\\packages\\\\urllib3\\\\connectionpool.py\", line 827, in _new_conn\\n    raise SSLError(\"Can\\'t connect to HTTPS URL because the SSL \"\\nurllib3.exceptions.SSLError: Can\\'t connect to HTTPS URL because the SSL module is not available.\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n  File \"C:\\\\Users\\\\Tarek.Tarek-PC\\\\AppData\\\\Roaming\\\\WakaTime\\\\wakatime-master\\\\wakatime\\\\packages\\\\requests\\\\adapters.py\", line 440, in send\\n    timeout=timeout\\n  File \"C:\\\\Users\\\\Tarek.Tarek-PC\\\\AppData\\\\Roaming\\\\WakaTime\\\\wakatime-master\\\\wakatime\\\\packages\\\\urllib3\\\\connectionpool.py\", line 639, in urlopen\\n    _stacktrace=sys.exc_info()[2])\\n  File \"C:\\\\Users\\\\Tarek.Tarek-PC\\\\AppData\\\\Roaming\\\\WakaTime\\\\wakatime-master\\\\wakatime\\\\packages\\\\urllib3\\\\util\\\\retry.py\", line 388, in increment\\n    raise MaxRetryError(_pool, url, error or ResponseError(cause))\\nurllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host=\\'api.wakatime.com\\', port=443): Max retries exceeded with url: /api/v1/users/current/heartbeats.bulk (Caused by SSLError(\"Can\\'t connect to HTTPS URL because the SSL module is not available.\"))\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n  File \"C:\\\\Users\\\\Tarek.Tarek-PC\\\\AppData\\\\Roaming\\\\WakaTime\\\\wakatime-master\\\\wakatime\\\\api.py\", line 111, in send_heartbeats\\n    verify=ssl_verify)\\n  File \"C:\\\\Users\\\\Tarek.Tarek-PC\\\\AppData\\\\Roaming\\\\WakaTime\\\\wakatime-master\\\\wakatime\\\\packages\\\\requests\\\\sessions.py\", line 555, in post\\n    return self.request(\\'POST\\', url, data=data, json=json, **kwargs)\\n  File \"C:\\\\Users\\\\Tarek.Tarek-PC\\\\AppData\\\\Roaming\\\\WakaTime\\\\wakatime-master\\\\wakatime\\\\packages\\\\requests\\\\sessions.py\", line 508, in request\\n    resp = self.send(prep, **send_kwargs)\\n  File \"C:\\\\Users\\\\Tarek.Tarek-PC\\\\AppData\\\\Roaming\\\\WakaTime\\\\wakatime-master\\\\wakatime\\\\packages\\\\requests\\\\sessions.py\", line 618, in send\\n    r = adapter.send(request, **kwargs)\\n  File \"C:\\\\Users\\\\Tarek.Tarek-PC\\\\AppData\\\\Roaming\\\\WakaTime\\\\wakatime-master\\\\wakatime\\\\packages\\\\requests\\\\adapters.py\", line 506, in send\\n    raise SSLError(e, request=request)\\nwakatime.packages.requests.exceptions.SSLError: HTTPSConnectionPool(host=\\'api.wakatime.com\\', port=443): Max retries exceeded with url: /api/v1/users/current/heartbeats.bulk (Caused by SSLError(\"Can\\'t connect to HTTPS URL because the SSL module is not available.\"))\\n'}"
}
Tarek-Bohdima commented 5 years ago

Fixed it by adding:

\Anaconda3 \Anaconda3\scripts \Anaconda3\Library\bin to the PATH variable.