activitywatch: error compiling jxa script
-
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 Mojave 10.14.6
-
ActivityWatch version: v0.11.0
Describe the bug
aw-window-watcher cannot see the name of any windows (congrats on the new release, everything works perfectly on windows!)
To Reproduce
1. Download the latest release
2. Start activitywatch
Expected behavior
title of foreground window or app should be seen
Documentation
Here’s an excerpt from the aw-window-watcher logs. All other logs look fine and the server is getting a heartbeat
2021-06-17 21:02:28 [INFO ]: aw-watcher-window started (aw_watcher_window.main:51)
2021-06-17 21:02:29 [INFO ]: Connection to aw-server established by aw-watcher-window (aw_client.client:417)
2021-06-17 21:02:29 [ERROR]: Exception thrown while trying to get active window: error compiling jxa script (aw_watcher_window.main:74)
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 3
- Comments: 19 (5 by maintainers)
This may have been fixed by https://github.com/ActivityWatch/aw-watcher-window/pull/59.
Downgrade to 0.10.0 helped to solve this issue, but OS throws this periodically:
This gave me an idea to give System Events permission to Accessibility (if this permission is needed), but for some reason it asks again an again.
In Automation section I already have ActivityWatch -> System Events checked.
Having same issue on same system:
OS Name and Version: MacOS Mojave 10.14.6 ActivityWatch version: v0.11.0
I’ve just installed an app an hour ago so everything is in default.
Terminal and ActivityWatch added to Preferences - Security & Privacy - Accessibility
Any other permissions required? I have noticed that I can’t add anything to Automation. Is it needed? (So I don’t have rights on my Mac)
I’m using AMP for Endpoints (if talking about security software installed on OS) https://www.cisco.com/c/en/us/products/collateral/security/fireamp-endpoints/datasheet-c78-733181.html
Any hint on what could be missing?