Closed ikunyemingor closed 2 years ago
This is similar to wakatime/jetbrains-wakatime#202. Is there an api key shown when you open Tools -> WakaTime Settings? If not, please enter one and it should start working.
Yes, there's an API key I added when I installed the plugin. I just clicked save now and it started working
Is debug mode enabled or disabled?
It's working now?
It isn't for me in WebStorm 2021.3.2, Rider 2021.3.3 and Android Studio Bumblebee 2021.1.1 Patch 2, API Key is set, Debug was not checked.
Windows 10 Pro x64
Poking around in various log files, I stumbled over this which seems very much related:
2022-03-05 18:42:18,152 [ 470292] DEBUG - WakaTime - Executing CLI: [C:\Users\redacted\.wakatime\wakatime-cli-windows-amd64.exe, --today, --key, XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXX87c2]
2022-03-05 18:42:18,158 [ 470298] WARN - WakaTime - Cannot run program "C:\Users\redacted\.wakatime\wakatime-cli-windows-amd64.exe": CreateProcess error=5, Access is denied
java.io.IOException: Cannot run program "C:\Users\redacted\.wakatime\wakatime-cli-windows-amd64.exe": CreateProcess error=5, Access is denied
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1128)
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1071)
at java.base/java.lang.Runtime.exec(Runtime.java:592)
at java.base/java.lang.Runtime.exec(Runtime.java:451)
at com.wakatime.intellij.plugin.WakaTime$7.run(WakaTime.java:495)
at com.intellij.util.RunnableCallable.call(RunnableCallable.java:20)
at com.intellij.util.RunnableCallable.call(RunnableCallable.java:11)
at com.intellij.openapi.application.impl.ApplicationImpl$1.call(ApplicationImpl.java:271)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:668)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:665)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:665)
at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.io.IOException: CreateProcess error=5, Access is denied
at java.base/java.lang.ProcessImpl.create(Native Method)
at java.base/java.lang.ProcessImpl.<init>(ProcessImpl.java:487)
at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:154)
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1107)
... 15 more
Trying to run the file by hand reveals that Windows Defender really doesn't like it:
The plugins stats page reports CLI 1.38.0 which has release notes mentioning some threat scanning for the windows binary; it seems that went the wrong way?
The plugins stats page reports CLI 1.38.0 which has release notes mentioning some threat scanning for the windows binary; it seems that went the wrong way?
We've been having problems with Defender on every release, so we tried detecting if Defender would block the release in the build pipeline before releasing.
I've just released an update that warns with a popup whenever Defender blocks WakaTime from running.
Ah that makes sense! Thanks so much for the fast response 🚀
Future discussions moved to #660.
Hi,
I noticed the below error after installing WakaTime 13.1.13 on PhpStorm 2021.3.2. It displays
**_✔️ Initialized_**
at the bottom-right of PhpStorm but doesn't sync when I check the Plugin Status / Stats on https://wakatime.com/plugins/status?onboarding=true.My dev environment is:
Please can you help?