-
-
Notifications
You must be signed in to change notification settings - Fork 591
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
Exception thrown while trying to get active window #742
Comments
Hi there! |
Same bug on me. |
Is this the same as ActivityWatch/aw-watcher-window#60? |
Different error message. Tried a new install. Does not work. Tried both brew and dmg. Is there any official steps beyond the basic install that we are missing? |
I think this may help: #334 (comment) |
There's a fix in the works, see here: #334 (comment) |
Thank you. Data is coming in now, using v0.12.1. |
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 Monterey
ActivityWatch version: 0.12.0b2
Describe the bug
No data is gathered. I get a lot of exceptions in the log file. I have tried to add ActivityWatch to Accessibility in security, as requested in another thread. Does not help.
2022-05-30 11:46:32 [INFO ]: aw-watcher-window started (aw_watcher_window.main:50)
2022-05-30 11:46:33 [INFO ]: Connection to aw-server established by aw-watcher-window (aw_client.client:429)
2022-05-30 11:46:34 [ERROR]: Exception thrown while trying to get active window (aw_watcher_window.main:75)
Traceback (most recent call last):
File "aw_watcher_window/main.py", line 72, in heartbeat_loop
File "aw_watcher_window/lib.py", line 55, in get_current_window
File "aw_watcher_window/lib.py", line 27, in get_current_window_macos
File "aw_watcher_window/macos_jxa.py", line 64, in getInfo
Exception: jxa error: Error: Error: An error occurred.
2022-05-30 11:46:35 [ERROR]: Exception thrown while trying to get active window (aw_watcher_window.main:75)
Traceback (most recent call last):
File "aw_watcher_window/main.py", line 72, in heartbeat_loop
File "aw_watcher_window/lib.py", line 55, in get_current_window
File "aw_watcher_window/lib.py", line 27, in get_current_window_macos
File "aw_watcher_window/macos_jxa.py", line 64, in getInfo
Exception: jxa error: Error: Error: An error occurred.
To Reproduce
Consistent. Will not work.
Expected behavior
Installation should work without any special hacks or prior knowledge.
Documentation
Additional context
The text was updated successfully, but these errors were encountered: