ActivityWatch / ActivityWatch/activitywatch

DLL load failed while importing pythoncom: pyi_rth_win32comgenpy

Open
#804 1 comment 0 reactions 0 assignees View on GitHub
platform: windows 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.

- **OS name and version**: Windows 10 Pro Version 10.0.19044 Build 19044
- **ActivityWatch version**: 0.12.1

## Describe the bug
aw-qt binary fails to properly launch the application; am immediately met with an unhandled exception in script. This happens when the program is installed and run or if launched from the extracted zip file. Potential exe build error?

## To Reproduce
1. Install or download and unzip the latest release for windows
2. Run aw-qt.exe
3. See error

## Expected behavior
The application launches successfully

## Documentation
```
Traceback (most recent call last):
File "Lib\site-packages\PyInstaller\hooks\rthooks\pyi_rth_win32comgenpy.py", line 52, in
File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module
File "win32com\__init__.py", line 6, in
File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module
File "pythoncom.py", line 4, in
File "pywintypes.py", line 118, in __import_pywin32_system_module__
ImportError: DLL load failed while importing pythoncom: The specified procedure could not be found.
```

## Additional context
Program never properly launches so there are no log files to attach

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.