Closed TuggyNE closed 1 year ago
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! 🙏
We generally stop supporting old operating systems at the same pace as the rest of the ecosystem.
In the case of Windows 8.1, it looks like it reached End of Life in January. As such, some of our dependencies likely stopped supporting it (like Qt in this case), and us in turn when we update them.
We don't have the resources to support old operating systems, so I'm closing this. Thanks for reporting though!
Describe the bug
After upgrade or fresh installation, using the Start Menu shortcut or opening aw-qt.exe directly fails with a Python stacktrace about ImportErrors. The versions differ slightly: 0.12.3b1 upgrade from 0.12.0: says something about Python38.dll incompatibility (the installation directory had both Python38.dll and Python39.dll, with dates corresponding to release dates of the respective ActivityWatch versions). 0.12.2 fresh install: "ImportError: DLL load failed while importing QtWidgets: The specified procedure could not be found."
To Reproduce
Expected behavior
The tray icon process to load and bootstrap everything else.
Additional context
If Windows 8.1 is unsupported, the README or release notes or installation documentation should indicate this. They don't.
Somehow, the installer for 0.12.2 was able to get the two watchers and the configured (Rust) server running although the tray icon that would normally coordinate them fails to load, and aw-watcher-window logs many exceptions. 0.12.3b1 was unable to get anything to run at all.
Typical aw-watcher-window exception: 2023-05-12 21:26:15 [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 18, in get_app_path pywintypes.error: (5, 'GetModuleFileNameEx', 'Access is denied.')
Downgrading in place to 0.12.0 worked without problems.