Not tracking time on Debian - vscode-wakatime

Well i have wakatime with vscode in debian 10 buster, the extension never count the time and i never find the log file to see if i have a problem.

The extension not present a visual error or something.

Asked Sep 27 '21 19:09
avatar Developer8814
Developer8814

6 Answer:

Any error message in your VS Code dev console or ~/.wakatime.log file?

1
Answered May 20 '21 at 21:02
avatar  of alanhamlett
alanhamlett

No, the extension only create a wakatime.cfg file.

i put wakatime in debug mode in vscode console still don't create the log file

1
Answered May 20 '21 at 22:05
avatar  of Developer8814
Developer8814

With debug mode, there should be some error messages in your VS Code Developer Console window?

1
Answered May 21 '21 at 16:57
avatar  of alanhamlett
alanhamlett

The console says

[WakaTime][WARN] Failed to download https://wakatime-cli.s3-us-west-2.amazonaws.com/linux-x86-64/wakatime-cli.zip
S @ workbench.desktop.main.js:62
workbench.desktop.main.js:62 [Extension Host] [WakaTime][WARN] Error: unable to get local issuer certificate
S @ workbench.desktop.main.js:62
workbench.desktop.main.js:62 [Extension Host] [WakaTime][DEBUG] WakaTime: Initialized
workbench.desktop.main.js:62 [Extension Host] [WakaTime][DEBUG] Status bar icon enabled.
1
Answered May 21 '21 at 17:25
avatar  of Developer8814
Developer8814

What if you add this line to your ~/.wakatime.cfg file then restart VS Code?

legacy_python_cli = false

That downloads the core wakatime-cli from GitHub instead of AWS. Maybe something is preventing your vscode from connecting to AWS S3 for some reason.

1
Answered May 21 '21 at 17:27
avatar  of alanhamlett
alanhamlett

Now, after the change the console says

[Extension Host] [WakaTime][DEBUG] Initializing WakaTime v10.0.0

and in the screen only say Wakatime Initializing .... and dont change

1
Answered May 21 '21 at 17:42
avatar  of Developer8814
Developer8814