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.24k stars 137 forks source link

Warnings in log after 1.62.1 upgrade: "project_root_count: Can not be greater than number of folders in entity." #322

Closed 2-5 closed 1 year ago

2-5 commented 1 year ago

After upgrade to 1.62.1 .wakatime.log is full of these warnings:

{
  "caller":"cmd/heartbeat/heartbeat.go:136",
  "file":"REMOVED",
  "func":"heartbeat.SendHeartbeats",
  "level":"warning",
  "lineno":1,
  "message":"project_root_count: Can not be greater than number of folders in entity.",
  "now":"2023-01-26T18:23:15+02:00",
  "os/arch":"windows/amd64",
  "plugin":"vscode/1.74.3 vscode-wakatime/23.2.0",
  "time":1674750194.7731433,
  "version":"v1.62.1"
}

I also have no stats for today - 0 secs displayed in the VS Code status bar, which is wrong.

alanhamlett commented 1 year ago

For now, we've fixed it on the server so you'r dashboard won't be empty going forward.

alanhamlett commented 1 year ago

Will be fixed with https://github.com/wakatime/wakatime-cli/pull/818.