ActivityWatch / ActivityWatch/activitywatch

Parsec is not getting tracked by aw-watcher-window

Aperta
#889 4 commenti 1 reazione 0 assegnatari Vedi su GitHub
stale type: bug
Lingua principale
Python
Stelle
18.9k
Fork
1k
Merge medio
1g 4h
PR unite (30g)
28

Descrizione

- [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.')
```

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.