Closed PetbkA closed 10 months 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! 🙏
Thank you for reporting this!
I probably messed up something with the merge of:
I will investigate, thank you for a detailed report :)
@BelKed This is the kind of "real-life testing" I was referring to in #931 :sweat_smile:
Do you have any idea what could be the culprit here? I'm not sure where to begin.
Alright, I've taken a look and found that we were using some ancient version of pywin32, which I fixed.
I don't have a Windows machine handy to validate the fix, so I'm releasing a new v0.12.3b8 which someone can hopefully validate works.
You can now try the new v0.12.3b8: https://github.com/ActivityWatch/activitywatch/releases/tag/v0.12.3b8
0.12.3b6 x64 → 0.12.3b8 x64 + Python 3.8.10 x64 - window watcher doesn't crash but:
conflicts with this version of Python
errors are still cyclical, although in other flavour:
2023-08-17 18:32:26 [INFO ]: aw-watcher-window started (aw_watcher_window.main:62)
2023-08-17 18:32:27 [INFO ]: Connection to aw-server established by aw-watcher-window (aw_client.client:436)
2023-08-17 18:32:28 [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 39, in get_current_window_windows
File "PyInstaller\loader\pyimod02_importers.py", line 385, in exec_module
File "aw_watcher_window\windows.py", line 6, in <module>
ImportError: Module use of python39.dll conflicts with this version of Python.
@PetbkA Thanks for validating!
Describe the bug
To Reproduce
conflicts with this version of Python
- NOK, constant errors are present, and watcher restarts continuosly.Expected behavior
conflicts with this version of Python
in watcher's logs;Documentation
Additional context