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.2k stars 133 forks source link

Wakatime Error .wakatime.log #384

Closed Shirshakkandel closed 5 months ago

Shirshakkandel commented 5 months ago

From past 1 day I am getting wakatime Error in Vscode My wakatime dashboard is https://wakatime.com/@shirshakkandel and my .wakatime.log is listed below {"caller":"cmd/run.go:276","func":"cmd.runCmd","level":"error","message":"failed to run command: sending heartbeat(s) later due to api error: failed making request to \"https://api.wakatime.com/api/v1/users/current/heartbeats.bulk\": Post \"https://api.wakatime.com/api/v1/users/current/heartbeats.bulk\": dial tcp: lookup api.wakatime.com: no such host","now":"2022-06-12T12:04:43+05:45","version":"v1.48.1"} {"caller":"cmd/run.go:276","func":"cmd.runCmd","level":"error","message":"failed to run command: today fetch failed: api error: failed fetching today from api: failed to make request to \"https://api.wakatime.com/api/v1/users/current/statusbar/today\": Get \"https://api.wakatime.com/api/v1/users/current/statusbar/today\": dial tcp: lookup api.wakatime.com: no such host","now":"2022-06-12T12:04:50+05:45","version":"v1.48.1"} {"caller":"cmd/run.go:276","func":"cmd.runCmd","level":"error","message":"failed to run command: today fetch failed: api error: failed fetching today from api: failed to make request to \"https://api.wakatime.com/api/v1/users/current/statusbar/today\": Get \"https://api.wakatime.com/api/v1/users/current/statusbar/today\": dial tcp: lookup api.wakatime.com: no such host","now":"2022-06-12T12:05:44+05:45","version":"v1.48.1"} {"caller":"pkg/heartbeat/format.go:68","func":"heartbeat.formatLinuxFilePath","level":"warning","message":"failed to resolve real path for \"C:\\New Snippet\": CreateFile C:\New Snippet: The system cannot find the file specified.","now":"2022-06-12T12:09:53+05:45","version":"v1.48.1"} {"caller":"pkg/heartbeat/format.go:68","func":"heartbeat.formatLinuxFilePath","level":"warning","message":"failed to resolve real path for \"C:\\New Snippet\": CreateFile C:\New Snippet: The system cannot find the file specified.","now":"2022-06-12T12:09:53+05:45","version":"v1.48.1"} {"caller":"pkg/heartbeat/format.go:68","func":"heartbeat.formatLinuxFilePath","level":"warning","message":"failed to resolve real path for \"C:\\New Snippet\": CreateFile C:\New Snippet: The system cannot find the file specified.","now":"2022-06-12T12:09:53+05:45","version":"v1.48.1"} {"caller":"pkg/heartbeat/format.go:82","func":"heartbeat.formatWindowsFilePath","level":"warning","message":"failed to format local file path: failed to convert entity \"C:/New Snippet\" to unc path: failed to execute ls command: exec: \"net use\": executable file not found in %PATH%","now":"2022-06-12T12:09:53+05:45","version":"v1.48.1"} {"caller":"pkg/heartbeat/format.go:82","func":"heartbeat.formatWindowsFilePath","level":"warning","message":"failed to format local file path: failed to convert entity \"C:/New Snippet\" to unc path: failed to execute ls command: exec: \"net use\": executable file not found in %PATH%","now":"2022-06-12T12:09:53+05:45","version":"v1.48.1"} {"caller":"pkg/filter/filter.go:33","func":"filter.WithFiltering","level":"error","message":"filter file: skipping because of non-existing file \"C:/New Snippet\"","now":"2022-06-12T12:09:53+05:45","version":"v1.48.1"} {"caller":"pkg/filter/filter.go:33","func":"filter.WithFiltering","level":"error","message":"filter file: skipping because of non-existing file \"C:/New Snippet\"","now":"2022-06-12T12:09:53+05:45","version":"v1.48.1"} {"caller":"pkg/heartbeat/format.go:82","func":"heartbeat.formatWindowsFilePath","level":"warning","message":"failed to format local file path: failed to convert entity \"C:/New Snippet\" to unc path: failed to execute ls command: exec: \"net use\": executable file not found in %PATH%","now":"2022-06-12T12:09:53+05:45","version":"v1.48.1"} {"caller":"pkg/filter/filter.go:33","func":"filter.WithFiltering","level":"error","message":"filter file: skipping because of non-existing file \"C:/New Snippet\"","now":"2022-06-12T12:09:53+05:45","version":"v1.48.1"} {"caller":"cmd/run.go:276","func":"cmd.runCmd","level":"error","message":"failed to run command: offline sync failed: failed to sync offline heartbeats: failed making request to \"https://api.wakatime.com/api/v1/users/current/heartbeats.bulk\": Post \"https://api.wakatime.com/api/v1/users/current/heartbeats.bulk\": dial tcp: lookup api.wakatime.com: no such host","now":"2022-06-12T12:09:53+05:45","version":"v1.48.1"} {"caller":"cmd/run.go:276","func":"cmd.runCmd","level":"error","message":"failed to run command: offline sync failed: failed to sync offline heartbeats: failed making request to \"https://api.wakatime.com/api/v1/users/current/heartbeats.bulk\": Post \"https://api.wakatime.com/api/v1/users/current/heartbeats.bulk\": dial tcp: lookup api.wakatime.com: no such host","now":"2022-06-12T12:09:53+05:45","version":"v1.48.1"} {"caller":"cmd/run.go:276","func":"cmd.runCmd","level":"error","message":"failed to run command: offline sync failed: failed to sync offline heartbeats: failed making request to \"https://api.wakatime.com/api/v1/users/current/heartbeats.bulk\": Post \"https://api.wakatime.com/api/v1/users/current/heartbeats.bulk\": dial tcp: lookup api.wakatime.com: no such host","now":"2022-06-12T12:09:53+05:45","version":"v1.48.1"} {"caller":"pkg/heartbeat/format.go:68","func":"heartbeat.formatLinuxFilePath","level":"warning","message":"failed to resolve real path for \"C:\\New Snippet\": CreateFile C:\New Snippet: The system cannot find the file specified.","now":"2022-06-12T12:10:29+05:45","version":"v1.48.1"} {"caller":"cmd/run.go:276","func":"cmd.runCmd","level":"error","message":"failed to run command: sending heartbeat(s) later due to api error: failed making request to \"https://api.wakatime.com/api/v1/users/current/heartbeats.bulk\": Post \"https://api.wakatime.com/api/v1/users/current/heartbeats.bulk\": dial tcp: lookup api.wakatime.com: no such host","now":"2022-06-12T12:10:29+05:45","version":"v1.48.1"} {"caller":"pkg/heartbeat/format.go:82","func":"heartbeat.formatWindowsFilePath","level":"warning","message":"failed to format local file path: failed to convert entity \"C:/New Snippet\" to unc path: failed to execute ls command: exec: \"net use\": executable file not found in %PATH%","now":"2022-06-12T12:10:29+05:45","version":"v1.48.1"} {"caller":"pkg/filter/filter.go:33","func":"filter.WithFiltering","level":"error","message":"filter file: skipping because of non-existing file \"C:/New Snippet\"","now":"2022-06-12T12:10:29+05:45","version":"v1.48.1"} {"caller":"cmd/run.go:276","func":"cmd.runCmd","level":"error","message":"failed to run command: offline sync failed: failed to sync offline heartbeats: failed making request to \"https://api.wakatime.com/api/v1/users/current/heartbeats.bulk\": Post \"https://api.wakatime.com/api/v1/users/current/heartbeats.bulk\": dial tcp: lookup api.wakatime.com: no such host","now":"2022-06-12T12:10:29+05:45","version":"v1.48.1"} {"caller":"cmd/run.go:276","func":"cmd.runCmd","level":"error","message":"failed to run command: today fetch failed: api error: failed fetching today from api: failed to make request to \"https://api.wakatime.com/api/v1/users/current/statusbar/today\": Get \"https://api.wakatime.com/api/v1/users/current/statusbar/today\": dial tcp: lookup api.wakatime.com: no such host","now":"2022-06-12T12:10:42+05:45","version":"v1.48.1"} {"caller":"pkg/heartbeat/format.go:68","func":"heartbeat.formatLinuxFilePath","level":"warning","message":"failed to resolve real path for \"C:\\f5fe523f-ea1a-418b-9097-bf98acb70e3a\\f5fe523f-ea1a-418b-9097-bf98acb70e3a\\text.ts\": CreateFile C:\f5fe523f-ea1a-418b-9097-bf98acb70e3a: The system cannot find the file specified.","now":"2022-06-12T12:11:08+05:45","version":"v1.48.1"} {"caller":"pkg/heartbeat/format.go:82","func":"heartbeat.formatWindowsFilePath","level":"warning","message":"failed to format local file path: failed to convert entity \"C:/f5fe523f-ea1a-418b-9097-bf98acb70e3a/f5fe523f-ea1a-418b-9097-bf98acb70e3a/text.ts\" to unc path: failed to execute ls command: exec: \"net use\": executable file not found in %PATH%","now":"2022-06-12T12:11:09+05:45","version":"v1.48.1"} {"caller":"pkg/filter/filter.go:33","func":"filter.WithFiltering","level":"error","message":"filter file: skipping because of non-existing file \"C:/f5fe523f-ea1a-418b-9097-bf98acb70e3a/f5fe523f-ea1a-418b-9097-bf98acb70e3a/text.ts\"","now":"2022-06-12T12:11:09+05:45","version":"v1.48.1"} {"caller":"cmd/run.go:276","func":"cmd.runCmd","level":"error","message":"failed to run command: offline sync failed: failed to sync offline heartbeats: failed making request to \"https://api.wakatime.com/api/v1/users/current/heartbeats.bulk\": Post \"https://api.wakatime.com/api/v1/users/current/heartbeats.bulk\": dial tcp: lookup api.wakatime.com: no such host","now":"2022-06-12T12:11:11+05:45","version":"v1.48.1"} {"caller":"pkg/heartbeat/format.go:68","func":"heartbeat.formatLinuxFilePath","level":"warning","message":"failed to resolve real path for \"C:\\f5fe523f-ea1a-418b-9097-bf98acb70e3a\\f5fe523f-ea1a-418b-9097-bf98acb70e3a\\text.ts\": CreateFile C:\f5fe523f-ea1a-418b-9097-bf98acb70e3a: The system cannot find the file specified.","now":"2022-06-12T12:11:11+05:45","version":"v1.48.1"} {"caller":"pkg/heartbeat/format.go:68","func":"heartbeat.formatLinuxFilePath","level":"warning","message":"failed to resolve real path for \"C:\\f5fe523f-ea1a-418b-9097-bf98acb70e3a\\f5fe523f-ea1a-418b-9097-bf98acb70e3a\\text.ts\": CreateFile C:\f5fe523f-ea1a-418b-9097-bf98acb70e3a: The system cannot find the file specified.","now":"2022-06-12T12:11:11+05:45","version":"v1.48.1"} {"caller":"pkg/heartbeat/format.go:68","func":"heartbeat.formatLinuxFilePath","level":"warning","message":"failed to resolve real path for \"C:\\f5fe523f-ea1a-418b-9097-bf98acb70e3a\\f5fe523f-ea1a-418b-9097-bf98acb70e3a\\text.ts\": CreateFile C:\f5fe523f-ea1a-418b-9097-bf98acb70e3a: The system cannot find the file specified.","now":"2022-06-12T12:11:11+05:45","version":"v1.48.1"} {"caller":"pkg/heartbeat/format.go:68","func":"heartbeat.formatLinuxFilePath","level":"warning","message":"failed to resolve real path for \"C:\\f5fe523f-ea1a-418b-9097-bf98acb70e3a\\f5fe523f-ea1a-418b-9097-bf98acb70e3a\\text.ts\": CreateFile C:\f5fe523f-ea1a-418b-9097-bf98acb70e3a: The system cannot find the file specified.","now":"2022-06-12T12:11:11+05:45","version":"v1.48.1"} {"caller":"pkg/heartbeat/format.go:68","func":"heartbeat.formatLinuxFilePath","level":"warning","message":"failed to resolve real path for \"C:\\f5fe523f-ea1a-418b-9097-bf98acb70e3a\\f5fe523f-ea1a-418b-9097-bf98acb70e3a\\text.ts\": CreateFile C:\f5fe523f-ea1a-418b-9097-bf98acb70e3a: The system cannot find the file specified.","now":"2022-06-12T12:11:11+05:45","version":"v1.48.1"} {"caller":"pkg/heartbeat/format.go:82","func":"heartbeat.formatWindowsFilePath","level":"warning","message":"failed to format local file path: failed to convert entity \"C:/f5fe523f-ea1a-418b-9097-bf98acb70e3a/f5fe523f-ea1a-418b-9097-bf98acb70e3a/text.ts\" to unc path: failed to execute ls command: exec: \"net use\": executable file not found in %PATH%","now":"2022-06-12T12:11:12+05:45","version":"v1.48.1"} {"caller":"pkg/filter/filter.go:33","func":"filter.WithFiltering","level":"error","message":"filter file: skipping because of non-existing file \"C:/f5fe523f-ea1a-418b-9097-bf98acb70e3a/f5fe523f-ea1a-418b-9097-bf98acb70e3a/text.ts\"","now":"2022-06-12T12:11:12+05:45","version":"v1.48.1"} {"caller":"pkg/heartbeat/format.go:82","func":"heartbeat.formatWindowsFilePath","level":"warning","message":"failed to format local file path: failed to convert entity \"C:/f5fe523f-ea1a-418b-9097-bf98acb70e3a/f5fe523f-ea1a-418b-9097-bf98acb70e3a/text.ts\" to unc path: failed to execute ls command: exec: \"net use\": executable file not found in %PATH%","now":"2022-06-12T12:11:12+05:45","version":"v1.48.1"} {"caller":"pkg/filter/filter.go:33","func":"filter.WithFiltering","level":"error","message":"filter file: skipping because of non-existing file \"C:/f5fe523f-ea1a-418b-9097-bf98acb70e3a/f5fe523f-ea1a-418b-9097-bf98acb70e3a/text.ts\"","now":"2022-06-12T12:11:12+05:45","version":"v1.48.1"} {"caller":"pkg/heartbeat/format.go:82","func":"heartbeat.formatWindowsFilePath","level":"warning","message":"failed to format local file path: failed to convert entity \"C:/f5fe523f-ea1a-418b-9097-bf98acb70e3a/f5fe523f-ea1a-418b-9097-bf98acb70e3a/text.ts\" to unc path: failed to execute ls command: exec: \"net use\": executable file not found in %PATH%","now":"2022-06-12T12:11:12+05:45","version":"v1.48.1"} {"caller":"pkg/filter/filter.go:33","func":"filter.WithFiltering","level":"error","message":"filter file: skipping because of non-existing file \"C:/f5fe523f-ea1a-418b-9097-bf98acb70e3a/f5fe523f-ea1a-418b-9097-bf98acb70e3a/text.ts\"","now":"2022-06-12T12:11:12+05:45","version":"v1.48.1"} {"caller":"cmd/run.go:276","func":"cmd.runCmd","level":"error","message":"failed to run command: offline sync failed: failed to sync offline heartbeats: failed making request to \"https://api.wakatime.com/api/v1/users/current/heartbeats.bulk\": Post \"https://api.wakatime.com/api/v1/users/current/heartbeats.bulk\": dial tcp: lookup api.wakatime.com: no such host","now":"2022-06-12T12:11:12+05:45","version":"v1.48.1"} {"caller":"pkg/heartbeat/format.go:82","func":"heartbeat.formatWindowsFilePath","level":"warning","message":"failed to format local file path: failed to convert entity \"C:/f5fe523f-ea1a-418b-9097-bf98acb70e3a/f5fe523f-ea1a-418b-9097-bf98acb70e3a/text.ts\" to unc path: failed to execute ls command: exec: \"net use\": executable file not found in %PATH%","now":"2022-06-12T12:11:12+05:45","version":"v1.48.1"} {"caller":"pkg/filter/filter.go:33","func":"filter.WithFiltering","level":"error","message":"filter file: skipping because of non-existing file \"C:/f5fe523f-ea1a-418b-9097-bf98acb70e3a/f5fe523f-ea1a-418b-9097-bf98acb70e3a/text.ts\"","now":"2022-06-12T12:11:12+05:45","version":"v1.48.1"} {"caller":"pkg/heartbeat/format.go:82","func":"heartbeat.formatWindowsFilePath","level":"warning","message":"failed to format local file path: failed to convert entity \"C:/f5fe523f-ea1a-418b-9097-bf98acb70e3a/f5fe523f-ea1a-418b-9097-bf98acb70e3a/text.ts\" to unc path: failed to execute ls command: exec: \"net use\": executable file not found in %PATH%","now":"2022-06-12T12:11:12+05:45","version":"v1.48.1"} {"caller":"pkg/filter/filter.go:33","func":"filter.WithFiltering","level":"error","message":"filter file: skipping because of non-existing file \"C:/f5fe523f-ea1a-418b-9097-bf98acb70e3a/f5fe523f-ea1a-418b-9097-bf98acb70e3a/text.ts\"","now":"2022-06-12T12:11:12+05:45","version":"v1.48.1"} {"caller":"cmd/run.go:276","func":"cmd.runCmd","level":"error","message":"failed to run command: offline sync failed: failed to sync offline heartbeats: failed making request to \"https://api.wakatime.com/api/v1/users/current/heartbeats.bulk\": Post \"https://api.wakatime.com/api/v1/users/current/heartbeats.bulk\": dial tcp: lookup api.wakatime.com: no such host","now":"2022-06-12T12:11:12+05:45","version":"v1.48.1"} {"caller":"cmd/run.go:276","func":"cmd.runCmd","level":"error","message":"failed to run command: offline sync failed: failed to sync offline heartbeats: failed making request to \"https://api.wakatime.com/api/v1/users/current/heartbeats.bulk\": Post \"https://api.wakatime.com/api/v1/users/current/heartbeats.bulk\": dial tcp: lookup api.wakatime.com: no such host","now":"2022-06-12T12:11:12+05:45","version":"v1.48.1"} {"caller":"cmd/run.go:276","func":"cmd.runCmd","level":"error","message":"failed to run command: today fetch failed: api error: failed fetching today from api: failed to make request to \"https://api.wakatime.com/api/v1/users/current/statusbar/today\": Get \"https://api.wakatime.com/api/v1/users/current/statusbar/today\": dial tcp: lookup api.wakatime.com: no such host","now":"2022-06-12T12:11:42+05:45","version":"v1.48.1"} {"caller":"cmd/run.go:276","func":"cmd.runCmd","level":"error","message":"failed to run command: today fetch failed: api error: failed fetching today from api: failed to make request to \"https://api.wakatime.com/api/v1/users/current/statusbar/today\": Get \"https://api.wakatime.com/api/v1/users/current/statusbar/today\": dial tcp: lookup api.wakatime.com: no such host","now":"2022-06-12T12:13:27+05:45","version":"v1.48.1"} {"caller":"cmd/run.go:276","func":"cmd.runCmd","level":"error","message":"failed to run command: sending heartbeat(s) later due to api error: failed making request to \"https://api.wakatime.com/api/v1/users/current/heartbeats.bulk\": Post \"https://api.wakatime.com/api/v1/users/current/heartbeats.bulk\": dial tcp: lookup api.wakatime.com: no such host","now":"2022-06-12T12:13:33+05:45","version":"v1.48.1"} {"caller":"cmd/run.go:276","func":"cmd.runCmd","level":"error","message":"failed to run command: today fetch failed: api error: failed fetching today from api: failed to make request to \"https://api.wakatime.com/api/v1/users/current/statusbar/today\": Get \"https://api.wakatime.com/api/v1/users/current/statusbar/today\": dial tcp: lookup api.wakatime.com: no such host","now":"2022-06-12T12:13:49+05:45","version":"v1.48.1"} {"caller":"cmd/run.go:276","func":"cmd.runCmd","level":"error","message":"failed to run command: today fetch failed: api error: failed fetching today from api: failed to make request to \"https://api.wakatime.com/api/v1/users/current/statusbar/today\": Get \"https://api.wakatime.com/api/v1/users/current/statusbar/today\": dial tcp: lookup api.wakatime.com: no such host","now":"2022-06-12T12:26:01+05:45","version":"v1.48.1"} {"caller":"cmd/run.go:276","func":"cmd.runCmd","level":"error","message":"failed to run command: today fetch failed: api error: failed fetching today from api: failed to make request to \"https://api.wakatime.com/api/v1/users/current/statusbar/today\": Get \"https://api.wakatime.com/api/v1/users/current/statusbar/today\": dial tcp: lookup api.wakatime.com: no such host","now":"2022-06-12T12:26:46+05:45","version":"v1.48.1"} {"caller":"cmd/run.go:276","func":"cmd.runCmd","level":"error","message":"failed to run command: sending heartbeat(s) later due to api error: failed making request to \"https://api.wakatime.com/api/v1/users/current/heartbeats.bulk\": Post \"https://api.wakatime.com/api/v1/users/current/heartbeats.bulk\": dial tcp: lookup api.wakatime.com: no such host","now":"2022-06-12T12:26:51+05:45","version":"v1.48.1"} {"caller":"cmd/run.go:276","func":"cmd.runCmd","level":"error","message":"failed to run command: today fetch failed: api error: failed fetching today from api: failed to make request to \"https://api.wakatime.com/api/v1/users/current/statusbar/today\": Get \"https://api.wakatime.com/api/v1/users/current/statusbar/today\": dial tcp: lookup api.wakatime.com: no such host","now":"2022-06-12T12:27:03+05:45","version":"v1.48.1"} {"caller":"cmd/run.go:276","func":"cmd.runCmd","level":"error","message":"failed to run command: today fetch failed: api error: failed fetching today from api: failed to make request to \"https://api.wakatime.com/api/v1/users/current/statusbar/today\": Get \"https://api.wakatime.com/api/v1/users/current/statusbar/today\": dial tcp: lookup api.wakatime.com: no such host","now":"2022-06-12T12:27:45+05:45","version":"v1.48.1"}

Shirshakkandel commented 5 months ago

It is fixed when I shut down and open vs code.