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.

Incorrect time usage collection

See original GitHub issue

My machine has been running for the past 14 hours (~13 hours counted on March 18 and the last hour counted on March 19.)

But activitywatch only shows data for ~9 hours and that too on March 18:

image

and there’s no data for March 19:

image

I looked into the logs folder and there’s no log file for March 19 either.

$ tree /home/dufferzafar/.cache/activitywatch/log/
├── aw-qt
│   ├── aw-qt_2018-03-17T22-31-45.log
│   ├── aw-qt_2018-03-18T00-36-02.log
│   ├── aw-qt_2018-03-18T00-36-09.log
│   ├── aw-qt_2018-03-18T00-36-47.log
│   ├── aw-qt_2018-03-18T00-37-43.log
│   ├── aw-qt_2018-03-18T10-29-05.log
│   ├── aw-qt_2018-03-18T10-34-25.log
│   ├── aw-qt_2018-03-18T11-00-27.log
│   ├── aw-qt_2018-03-18T11-03-17.log
│   └── aw-qt_2018-03-18T13-02-07.log
├── aw-server
│   ├── aw-server_2018-03-17T22-31-46.log.json
│   ├── aw-server_2018-03-18T10-34-25.log.json
│   ├── aw-server_2018-03-18T11-03-17.log.json
│   └── aw-server_2018-03-18T13-02-07.log.json
├── aw-watcher-afk
│   ├── aw-watcher-afk_2018-03-17T22-31-46.log
│   ├── aw-watcher-afk_2018-03-18T10-34-25.log
│   ├── aw-watcher-afk_2018-03-18T11-03-17.log
│   └── aw-watcher-afk_2018-03-18T13-02-07.log
└── aw-watcher-window
    ├── aw-watcher-window_2018-03-17T22-31-46.log
    ├── aw-watcher-window_2018-03-18T10-34-25.log
    ├── aw-watcher-window_2018-03-18T11-03-17.log
    └── aw-watcher-window_2018-03-18T13-02-07.log

How do I troubleshoot this?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:39 (17 by maintainers)

github_iconTop GitHub Comments

1reaction
ErikBjarecommented, May 1, 2018

@toXel We use MinGW to build it in the CI for Windows, see here: https://github.com/ActivityWatch/activitywatch/blob/master/.appveyor.yml

0reactions
stale[bot]commented, Feb 15, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Is Your Android Phone Showing the Wrong Time? Here's How ...
Go to Settings > General management or System > Date and time and then turn the Automatic date and time button off. Set...
Read more >
How To Fix a Windows Clock Set To the Wrong Time - Alphr
Open the “Settings” option on your Windows computer. · Find the “Time and Language” option and click on the “Date and Time” tab...
Read more >
How to Fix It When the Time on Your Android Phone Is Wrong
Step 1: Click on the Clock App. · Step 2: Click the vertical three dots and then click on settings. · Step 3:...
Read more >
How to Fix the Internet Time on My Computer Clock
Click the "Apple" menu at the top left corner of your screen and click "System Preferences." Click "Date & Time." Make sure the...
Read more >
How to Fix It When Your iPhone Time Is Wrong - Lifewire
Most likely solution: Turn the Set Automatically option for Date & Time off and on again. · The incorrect date and time could...
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