wakatime / vscode-wakatime

Visual Studio Code plugin for automatic time tracking and metrics generated from your programming activity.
https://wakatime.com/vs-code
BSD 3-Clause "New" or "Revised" License
1.26k stars 142 forks source link

Data has disappeared since 9.3 on dashborad #232

Closed lixk28 closed 3 years ago

lixk28 commented 3 years ago

My dashboard shows there's no coding activity since 9/3. 2021-09-07_23-39-38

Wakatime plugin reports an error on the bottom left status bar. The error has been existing for a few days, but the plugin still works until 9/3. 2021-09-07_23-42-03

Here's a screenshot from my .wakatime.log file: 2021-09-07_23-33-02

I tried the command mentioned in #227, but it throw an error: 2021-09-07_23-38-25

Environment:

alanhamlett commented 3 years ago

The error message shown says your ~/.wakatime.cfg file is corrupted. Can you please paste it's contents here, with your api key removed?

To fix this, clear out your ~/.wakatime.cfg file so it's contents have only [settings] on the first line and apikey = <yourkey> on the second line. Then reload vscode and it should work again.

lixk28 commented 3 years ago

It worked, thanks a lot!