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

AW-Watcher-Window randomly not tracking #1060

Open
2 tasks done
shoaib281 opened this issue May 15, 2024 · 2 comments
Open
2 tasks done

AW-Watcher-Window randomly not tracking #1060

shoaib281 opened this issue May 15, 2024 · 2 comments

Comments

@shoaib281
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: Ubuntu

  • ActivityWatch version: v0.12.2

Describe the bug

Aw-watcher-window randomly doesn't track anything.

Unclear how to reproduce. To resolve, restart activity watch.

Documentation

image
image

aw-watcher-window log
2024-05-13 20:36:30 [ERROR]: Exception thrown while trying to get active window (aw_watcher_window.main:124)
Traceback (most recent call last):
File "aw_watcher_window/main.py", line 106, in heartbeat_loop
File "aw_watcher_window/lib.py", line 59, in get_current_window
File "aw_watcher_window/lib.py", line 17, in get_current_window_linux
File "aw_watcher_window/xlib.py", line 67, in get_window_name
File "Xlib/xobject/drawable.py", line 476, in get_full_property
File "Xlib/xobject/drawable.py", line 455, in get_property
File "Xlib/protocol/rq.py", line 1368, in init
File "Xlib/protocol/rq.py", line 1380, in reply
File "Xlib/protocol/display.py", line 612, in send_and_recv
File "Xlib/protocol/display.py", line 719, in parse_response
File "Xlib/protocol/display.py", line 745, in parse_error_response
AttributeError: 'BadRRModeError' object has no attribute 'sequence_number'

Copy link

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! 🙏

@jp-man25
Copy link

Having the same problem on Windows 10. Started happening recently. I restarted it and it stopped working again the next day.

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