jetbrains-wakatime icon indicating copy to clipboard operation
jetbrains-wakatime copied to clipboard

WakaTime is stuck on inititialized and doesn't display time

Open pavloko opened this issue 3 years ago • 7 comments

WakaTime plugin for PyCharm with version 13.1.14 doesn't display logged time until you click on it.

Screenshot 2022-04-14 at 14 51 24

This hasn't happened in the previous version.

pavloko avatar Apr 14 '22 11:04 pavloko

Some Problem, here's my Goland info

GoLand 2022.1
Build #GO-221.5080.224, built on April 14, 2022
Licensed to HackBrowserData / moonD4rk
Subscription is active until October 11, 2022.
Runtime version: 11.0.14.1+1-b2043.25 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 12.3.1
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 10
Registry:
    suggest.all.run.configurations.from.context=true
    ide.completion.variant.limit=500
    ide.balloon.shadow.size=0

Non-Bundled Plugins:
    ……
    com.wakatime.intellij.plugin (13.1.14)

I already reinstalled wakatime plugin and restart Goland, always show initialized.

moonD4rk avatar Apr 15 '22 20:04 moonD4rk

Hi, I found it's network problem for me, I could not find api.wakatime.com IP with default DNS server. try resolve it with add this line in /etc/hosts

# /etc/hosts
143.244.210.202 api.wakatime.com

moonD4rk avatar Apr 17 '22 10:04 moonD4rk

@pavloko is yours not updating also networking related?

alanhamlett avatar Apr 21 '22 09:04 alanhamlett

I'm not sure what @moonD4rk means he couldn't find the IP. If I ping api.wakatime.com from the console, I can see 143.244.210.202 IP resolved in the response.

pavloko avatar Apr 21 '22 13:04 pavloko

After turning on debug mode (Tools -> WakaTime Settings) and restarting your IDE, do you see any WakaTime related logs in your idea.log file?

https://intellij-support.jetbrains.com/hc/en-us/articles/207241085-Locating-IDE-log-files

alanhamlett avatar Apr 21 '22 14:04 alanhamlett

Yes, I can see logs like WakaTime - Executing CLI:.....

I can't understand what's happening, but now the time indicator is missing completely:

Screenshot 2022-04-21 at 18 09 32

pavloko avatar Apr 21 '22 15:04 pavloko

Would you be able to email your idea.log file to [email protected]? I want to check the plugin init logs and the status bar API response.

alanhamlett avatar Apr 21 '22 15:04 alanhamlett

Hi, I found it's network problem for me, I could not find api.wakatime.com IP with default DNS server. try resolve it with add this line in /etc/hosts

# /etc/hosts
143.244.210.202 api.wakatime.com

It totally worked!

YOLOabrcdbr avatar Oct 26 '22 05:10 YOLOabrcdbr

I apologize for the late response, but the problem just went away for me after reinstalling the plugin a few times.

pavloko avatar Oct 26 '22 05:10 pavloko