ActivityWatch / ActivityWatch/activitywatch

AW-Watcher-Window randomly not tracking

Đang mở
#1,060 3 bình luận 4 reaction 0 người được giao Xem trên GitHub
type: bug
Ngôn ngữ chính
Python
Star
18.9k
Fork
1k
Merge trung bình
1 ngày 4 giờ
Pull request đã merge (30 ngày)
28

Mô tả

- [x] I am on the [latest](https://github.com/ActivityWatch/activitywatch/releases/latest) ActivityWatch version.
- [x] 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](https://github.com/ActivityWatch/activitywatch/assets/63969100/3c1b8c9d-a949-435a-84fc-9afd3db9a181)
![image](https://github.com/ActivityWatch/activitywatch/assets/63969100/5b39df40-d839-472a-825d-6e6da9fa3fb1)

**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'

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.