Skip to content

Fatal error, stopping (aw_watcher_window.main:120) #1147

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

Open
2 tasks done
fraction01 opened this issue May 27, 2025 · 1 comment
Open
2 tasks done

Fatal error, stopping (aw_watcher_window.main:120) #1147

fraction01 opened this issue May 27, 2025 · 1 comment

Comments

@fraction01
Copy link

fraction01 commented May 27, 2025

  • 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: LMDE 6 Faye base: Debian 12.1 bookworm
  • ActivityWatch version: v0.13.2

Describe the bug

aw-watcher-window crashed and stopped reporting data.

To Reproduce

Expected behavior

I think it should restart after a crash

Documentation

aw-watcher-window logs:

2025-05-19 11:21:40 [INFO ]: aw-watcher-window started  (aw_watcher_window.main:70)
2025-05-19 11:21:41 [INFO ]: Connection to aw-server established by aw-watcher-window  (aw_client.client:447)
2025-05-26 15:46:21 [WARNING]: Unable to get window class, got a BadWindow exception.  (aw_watcher_window.xlib:115)
2025-05-26 15:46:21 [ERROR]: Fatal error, stopping  (aw_watcher_window.main:120)
Traceback (most recent call last):
  File "aw_watcher_window/main.py", line 115, in heartbeat_loop
  File "aw_watcher_window/lib.py", line 64, in get_current_window
  File "aw_watcher_window/lib.py", line 16, in get_current_window_linux
  File "aw_watcher_window/xlib.py", line 120, in get_window_class
OSError: [Errno 5] Input/output error
2025-05-26 15:46:21 [ERROR]: Unhandled exception  (root:50)
Traceback (most recent call last):
  File "<string>", line 1, in <module>
OSError: [Errno 5] Input/output error
2025-05-26 15:46:21 [ERROR]: Unhandled exception  (root:50)
Traceback (most recent call last):
  File "<string>", line 1, in <module>
OSError: [Errno 5] Input/output error

Additional context

Image

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

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

1 participant