question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Wakatime working offline.. Coding activity will sync next time we are online (but won't sync)

See original GitHub issue

Hi there, my wakatime on my VSCode has refused to sync or update for some while now, my most recent error that was logged is attached below., i check my wakatime dashboard but nothing’s there as regards my recent activities and my API was connected properly.

 {"caller":"pkg/language/language.go:40","func":"language.WithDetection","level":"debug","message":"failed to detect language on file entity \"C:/Users/ELITE/.wakatime.log\": could not detect the language of file \"C:/Users/ELITE/.wakatime.log\"","now":"2022-09-14T14:01:55-05:00","version":"v1.55.1"}
{"caller":"pkg/deps/deps.go:38","func":"deps.WithDetection","level":"debug","message":"execute dependency detection","now":"2022-09-14T14:01:55-05:00","version":"v1.55.1"}
{"caller":"pkg/project/project.go:126","func":"project.WithDetection","level":"debug","message":"execute project detection for: C:/Users/ELITE/.wakatime.log","now":"2022-09-14T14:01:55-05:00","version":"v1.55.1"}
{"caller":"pkg/project/project.go:213","func":"project.Detect","level":"debug","message":"execute project-file-detector","now":"2022-09-14T14:01:55-05:00","version":"v1.55.1"}
{"caller":"pkg/project/project.go:213","func":"project.Detect","level":"debug","message":"execute project-map-detector","now":"2022-09-14T14:01:55-05:00","version":"v1.55.1"}
{"caller":"pkg/project/project.go:213","func":"project.Detect","level":"debug","message":"execute project-file-detector","now":"2022-09-14T14:01:55-05:00","version":"v1.55.1"}
{"caller":"pkg/project/project.go:213","func":"project.Detect","level":"debug","message":"execute project-map-detector","now":"2022-09-14T14:01:55-05:00","version":"v1.55.1"}
{"caller":"pkg/project/project.go:254","func":"project.DetectWithRevControl","level":"debug","message":"execute git-detector","now":"2022-09-14T14:01:55-05:00","version":"v1.55.1"}
{"caller":"pkg/project/project.go:254","func":"project.DetectWithRevControl","level":"debug","message":"execute mercurial-detector","now":"2022-09-14T14:01:55-05:00","version":"v1.55.1"}
{"caller":"pkg/project/project.go:254","func":"project.DetectWithRevControl","level":"debug","message":"execute svn-detector","now":"2022-09-14T14:01:55-05:00","version":"v1.55.1"}
{"caller":"pkg/project/subversion.go:92","func":"project.findSvnBinary","level":"debug","message":"failed while calling svn --version: exec: \"svn\": executable file not found in %PATH%","now":"2022-09-14T14:01:55-05:00","version":"v1.55.1"}
{"caller":"pkg/project/subversion.go:92","func":"project.findSvnBinary","level":"debug","message":"failed while calling /usr/bin/svn --version: exec: \"/usr/bin/svn\": file does not exist","now":"2022-09-14T14:01:55-05:00","version":"v1.55.1"}
{"caller":"pkg/project/subversion.go:92","func":"project.findSvnBinary","level":"debug","message":"failed while calling /usr/local/bin/svn --version: exec: \"/usr/local/bin/svn\": file does not exist","now":"2022-09-14T14:01:55-05:00","version":"v1.55.1"}
{"caller":"pkg/project/subversion.go:23","func":"project.Subversion","level":"debug","message":"svn binary not found","now":"2022-09-14T14:01:55-05:00","version":"v1.55.1"}
{"caller":"pkg/project/project.go:254","func":"project.DetectWithRevControl","level":"debug","message":"execute tfvc-detector","now":"2022-09-14T14:01:55-05:00","version":"v1.55.1"}
{"caller":"pkg/project/project.go:254","func":"project.DetectWithRevControl","level":"debug","message":"execute git-detector","now":"2022-09-14T14:01:55-05:00","version":"v1.55.1"}
{"caller":"pkg/project/project.go:254","func":"project.DetectWithRevControl","level":"debug","message":"execute mercurial-detector","now":"2022-09-14T14:01:55-05:00","version":"v1.55.1"}
{"caller":"pkg/project/project.go:254","func":"project.DetectWithRevControl","level":"debug","message":"execute svn-detector","now":"2022-09-14T14:01:55-05:00","version":"v1.55.1"}
{"caller":"pkg/project/subversion.go:92","func":"project.findSvnBinary","level":"debug","message":"failed while calling svn --version: exec: \"svn\": executable file not found in %PATH%","now":"2022-09-14T14:01:55-05:00","version":"v1.55.1"}
{"caller":"pkg/project/subversion.go:92","func":"project.findSvnBinary","level":"debug","message":"failed while calling /usr/bin/svn --version: exec: \"/usr/bin/svn\": file does not exist","now":"2022-09-14T14:01:55-05:00","version":"v1.55.1"}
{"caller":"pkg/project/subversion.go:92","func":"project.findSvnBinary","level":"debug","message":"failed while calling /usr/local/bin/svn --version: exec: \"/usr/local/bin/svn\": file does not exist","now":"2022-09-14T14:01:55-05:00","version":"v1.55.1"}
{"caller":"pkg/project/subversion.go:23","func":"project.Subversion","level":"debug","message":"svn binary not found","now":"2022-09-14T14:01:55-05:00","version":"v1.55.1"}
{"caller":"pkg/project/project.go:254","func":"project.DetectWithRevControl","level":"debug","message":"execute tfvc-detector","now":"2022-09-14T14:01:55-05:00","version":"v1.55.1"}
{"caller":"pkg/project/filter.go:23","func":"project.WithFiltering","level":"debug","message":"execute project filtering","now":"2022-09-14T14:01:55-05:00","version":"v1.55.1"}
{"caller":"pkg/heartbeat/sanitize.go:30","func":"heartbeat.WithSanitization","level":"debug","message":"execute heartbeat sanitization","now":"2022-09-14T14:01:55-05:00","version":"v1.55.1"}
{"caller":"pkg/remote/remote.go:113","func":"remote.WithCleanup","level":"debug","message":"execute remote cleanup","now":"2022-09-14T14:01:55-05:00","version":"v1.55.1"}
{"caller":"pkg/offline/offline.go:55","func":"offline.WithQueue","level":"debug","message":"execute offline queue with file C:\\Users\\ELITE\\.wakatime.bdb","now":"2022-09-14T14:01:55-05:00","version":"v1.55.1"}
{"caller":"pkg/backoff/backoff.go:41","func":"backoff.WithBackoff","level":"debug","message":"execute heartbeat backoff algorithm","now":"2022-09-14T14:01:55-05:00","version":"v1.55.1"}
{"caller":"pkg/backoff/backoff.go:97","func":"backoff.shouldBackoff","level":"debug","message":"exponential backoff tried 1 times since Sep  4 21:55:35, will retry at Sep  4 21:56:05","now":"2022-09-14T14:01:55-05:00","version":"v1.55.1"}
{"caller":"pkg/offline/offline.go:65","func":"offline.WithQueue","level":"debug","message":"pushing 1 heartbeat(s) to queue due to error","now":"2022-09-14T14:01:55-05:00","version":"v1.55.1"}
{"caller":"cmd/run.go:270","func":"cmd.runCmd","level":"error","message":"failed to run command: sending heartbeat(s) later because currently rate limited: won't send heartbeat due to backoff","now":"2022-09-14T14:01:55-05:00","version":"v1.55.1"}

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
adebayo-mosescommented, Sep 16, 2022

Hi Alan, it works now and shows Initialized. 😃

1reaction
adebayo-mosescommented, Sep 15, 2022

Yes i’m using windows, i just deleted the ~/.wakatime-internal.cfg now, i’ll update back here if it works or not.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Wakatime Offline, coding activity will sync when online #40
It works now but for past few days it didn't work. The log file seems to be nothing wrong with respond code 202...
Read more >
FAQ - WakaTime
Frequently asked questions about WakaTime plugins and products. ... How accurate is WakaTime? ... Is my coding activity deleted on the free basic...
Read more >
Top 5 Alternatives to WakaTime (December 2022) - SaaSworthy.com
A comprehensive list of best alternatives to WakaTime. Compare top WakaTime competitors on SaaSworthy.com.
Read more >
Offline - Code On Time
Offline Sync 2.0. It has been our goal to allow seamless development of apps that work both online and offline. The application framework...
Read more >
Open Source WakaTime Alternatives: Top 5 Time Tracking ...
Cloud SyncSync your data (notes, documents, bookmarks, etc.) across your different devices and to the cloud. Works OfflineActivityWatch can be ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found