ActivityWatch / ActivityWatch/activitywatch

Parsec is not getting tracked by aw-watcher-window

Open
#889 4 comments 1 reaction 0 assignees View on GitHub
stale type: bug
Dominant language
Python
Stars
18.9k
Forks
1k
Avg merge
1d 4h
Merged PRs (30d)
28

Description

- [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.

- **Windows 11 pro**
- **ActivityWatch v0.12.2**

## Describe the bug
Since v0.12.1, parsec.app is not getting tracked anymore.
it worked on v0.12.1
tested on 2 machines
## To Reproduce
1. install parsec.app
2. have parsec active
3. observe it not being tracked

## Expected behavior
parsec being tracked like any other program

## Documentation
an excerpt from the log that continues for ever like this:
```
2023-05-20 09:12:37 [INFO ]: aw-watcher-window started (aw_watcher_window.main:62)
2023-05-20 09:12:38 [INFO ]: Connection to aw-server established by aw-watcher-window (aw_client.client:436)
2023-05-20 09:12:38 [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 65, in get_current_window
File "aw_watcher_window\lib.py", line 42, in get_current_window_windows
File "aw_watcher_window\windows.py", line 26, in get_app_name
File "aw_watcher_window\windows.py", line 15, in get_app_path
pywintypes.error: (5, 'OpenProcess', 'Access is denied.')
2023-05-20 09:12:39 [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 65, in get_current_window
File "aw_watcher_window\lib.py", line 42, in get_current_window_windows
File "aw_watcher_window\windows.py", line 26, in get_app_name
File "aw_watcher_window\windows.py", line 15, in get_app_path
pywintypes.error: (5, 'OpenProcess', 'Access is denied.')
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.