aw-watcher-window
aw-watcher-window copied to clipboard
[Windows] Exception thrown while trying to get active window
Reported by @Creve
on Discord.
Logs:
2023-04-16 18:56:19 [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: (87, 'OpenProcess', 'Параметр задан неверно.')
- OS: Windows
-
ActivityWatch: ActivityWatch
v0.12.3b1
Same. I'm also getting this Access denied error, jus tafter updating from a pretty old version, when playing a certain game that has administrator rights. Why did it work before I updated, I don't know. Hoping for a fix :) Edit: Tried running aw with administrator rights. It is a fix but it is not optimal...