activitywatch: "Module aw-watcher-window quit unexpectedly."
- 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 Big Sur Version 11.2.3
- ActivityWatch version: v0.12.2
Describe the bug
I use the ActivityWatch app to track the time that I spend on the computer. I am running v0.12.2 which is the latest version. When I restart the computer, it displays an error message. The error message says, “Module aw-watcher-window quit unexpectedly.” It has three buttons: Hide Details…, Cancel, and Restart. The details pane says the following:
2023-07-03 12:33:23 [INFO ]: aw-watcher-window started (aw_watcher_window.main:62)
2023-07-03 12:33:24 [INFO ]: Using swift strategy, calling out to swift binary (aw_watcher_window.main:67)
2023-07-03 12:33:24 [INFO ]: Connection to aw-server established by aw-watcher-window (aw_client.client:436)
I searched in the documentation, but I did not find this error message. I asked about this issue on the Ask Different website from the Stack Exchange network, and the comments referred me to contact the developer. I found a related issue on GitHub “AW crashed unexpectedly after BSOD”. That issue occurs on Windows, and my issue occurs on macOS. I tried the solution for that issue –– deleting the Application Support folder –– but that did not work.
How can I prevent this error from occurring? Please find attached a screenshot of the error message.
To Reproduce
Restart the computer.
Expected behavior
No error message.
Documentation
Please find attached a screenshot of the error message. The log file at ~/Library/Logs/activitywatch/aw-watcher-window/aw-watcher-window_2023-07-11T10-47-27.log says:
2023-07-11 10:47:27 [INFO ]: aw-watcher-window started (aw_watcher_window.main:62)
2023-07-11 10:47:28 [INFO ]: Using swift strategy, calling out to swift binary (aw_watcher_window.main:67)
2023-07-11 10:47:28 [INFO ]: Connection to aw-server established by aw-watcher-window (aw_client.client:436)
Additional context
About this issue
- Original URL
- State: closed
- Created a year ago
- Reactions: 1
- Comments: 15 (7 by maintainers)
You are facing exactly the same issue 😃
The easiest workaround I can think of is to install an older version of ActivityWatch. Or install the latest version and use the
aw-watcher-window
from the older version.Anyways, if you have any other questions regarding this issue, please write them here: https://github.com/ActivityWatch/activitywatch/issues/801
@tomzx There is already an open issue for the problem you mention 😃
@BelKed I have been traveling overseas without Internet service, so I could not reply to your message earlier. I will try the troubleshooting ideas that you suggested.