ActivityWatch / ActivityWatch/activitywatch

DLL load failed while importing pythoncom: pyi_rth_win32comgenpy

未关闭
#804 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
platform: windows type: bug
主要语言
Python
星标
18.9k
派生
1k
平均合并
1 天 4 小时
30 天内合并 PR
28

描述

- [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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。