activitywatch: Incorrect time usage collection

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?

About this issue

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

Most upvoted comments

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