Aw-watcher-window keeps silently crashing

Several times now I’ve noticed days of missing data because aw-watcher-window stopped running at some point, and never restarted. (To get it running again, I have to restart AW entirely; using the checkboxes from the tray menu is not effective, although no error is displayed.) There is nothing in the logs about this. How do I debug this problem?

I’m using this on macOS 12.6.7, Intel.

I’m running into this too.
I recently downloaded ActivityWatch for Mac running 11.7.9, Intel

Upon starting the app I get a Native Box saying:
“Module aw-watcher-window quit unexpectedly”

With the following details:
2023-08-11 10:43:18 [INFO ]: aw-watcher-window started (aw_watcher_window.main:62)
2023-08-11 10:43:19 [INFO ]: Using swift strategy, calling out to swift binary (aw_watcher_window.main:67)
2023-08-11 10:43:19 [INFO ]: Connection to aw-server established by aw-watcher-window (aw_client.client:436)

Restarting aw-watcher-window does not help me.
The checkbox for aw-watcher-window does not show a checkmark.

I’ve never seen this at all. It just dies silently at some unknown time, with no trace.

I see.
I am thinking we have different issues. I will move my concerns!

Found this thread that I’m following to debug my issue:

Maybe it can help you debug yours further.
You’ll have to clone the repo and follow the “Installing from source” guide:

Not sure how you built the software, but you should be able to see the logs clearer after running the following:
/Applications/ --verbose

I think its Swift async issue but I’m not entirely sure.

I’m having this issue as well, on ARM Ventura 13.6. (AW v0.12.2)

I can’t find any logs that would hint at why the process keeps dieing.