Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mac M1 - Missing time #1052

Open
2 tasks done
ChillarAnand opened this issue May 2, 2024 · 9 comments
Open
2 tasks done

Mac M1 - Missing time #1052

ChillarAnand opened this issue May 2, 2024 · 9 comments

Comments

@ChillarAnand
Copy link

  • I am on the latest ActivityWatch version.
  • I have searched the issues of this repo and believe that this is not a duplicate.
  • OS name and version: MacOS,
  • ActivityWatch version: 0.12.2

Describe the bug

When system is booted, all modules are selected and time is tracked properly.

Modules are getting "unselected" after a while and time is not tracked properly.

Screenshot 2024-05-02 at 16 40 36
Copy link

github-actions bot commented May 2, 2024

Hi there!
As you're new to this repo, please make sure you've used an appropriate issue template and searched for duplicates (it helps us focus on actual development!). We'd also like to suggest that you read our contribution guidelines and our code of conduct.
Thanks a bunch for opening your first issue! 🙏

@ErikBjare
Copy link
Member

That's due to the watcher crashing. It should be fixed and more stable in v0.12.3b15.

When a watcher crashes, there should be a popup notifying that it did, offering the option to restart it. But sometimes those popups get hidden under other windows on macOS (or seemingly don't show up at all).

@ChillarAnand
Copy link
Author

@ErikBjare Thanks for the quick reply.

How can I install v0.12.3b15 on Mac?

@ChillarAnand
Copy link
Author

I found a dmg file under Release section. I have installed https://github.com/ActivityWatch/activitywatch/releases/tag/v0.12.3b16

@ErikBjare
Copy link
Member

ErikBjare commented May 2, 2024

As mentioned in the release notes, v0.12.3b16 is unstable (as you may notice). Use v0.12.3b15 instead.

@ChillarAnand
Copy link
Author

ChillarAnand commented May 2, 2024

Unfortunately, I am observing the same issue on v0.12.3b15 as well.

Screenshot 2024-05-02 at 21 10 47

@ErikBjare
Copy link
Member

ErikBjare commented May 2, 2024

You may have running background processes that have survived, preventing a second instance from starting. (This should also show a popup, I'm surprised you don't seem to get one?)

Check ps -aux | grep aw- in the terminal. Quit ActivityWatch and kill all processes, then start it again.

@ChillarAnand
Copy link
Author

You may have running background processes that have survived, preventing a second instance from starting. (This should also show a popup, I'm surprised you don't seem to get one?)

No popups at all.

I have restarted the system. Will monitor for some time and let you know.

Thanks @ErikBjare for the help!

@ChillarAnand
Copy link
Author

ChillarAnand commented May 8, 2024

The frequecny of crashing has reduced but it is still happening. No pop-ups yet.

This seems to happen when I lock the screen, keep the Mac idle for ~10 hours, and unlock it again.

Unfortunately, aw-notify is not working on Mac. I wrote a python script and setup a cron job for notification.

ActivityWatch/aw-notify#2

https://avilpage.com/2024/05/screen-time-alerts-from-activity-watch.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants